UNPKG

@phosphor-icons/webcomponents

Version:
79 lines (78 loc) 5.93 kB
import "../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/reactive-element.mjs"; import { svg as e, html as h } from "../node_modules/.pnpm/lit-html@3.1.4/node_modules/lit-html/lit-html.mjs"; import { LitElement as Z } from "../node_modules/.pnpm/lit-element@4.0.6/node_modules/lit-element/lit-element.mjs"; import { customElement as A } from "../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/custom-element.mjs"; import { property as i } from "../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/property.mjs"; import { css as n } from "../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.mjs"; var C = Object.defineProperty, g = Object.getOwnPropertyDescriptor, a = (r, o, m, c) => { for (var t = c > 1 ? void 0 : c ? g(o, m) : o, p = r.length - 1, l; p >= 0; p--) (l = r[p]) && (t = (c ? l(o, m, t) : l(t)) || t); return c && t && C(o, m, t), t; }; let s = class extends Z { constructor() { super(...arguments), this.size = "1em", this.weight = "regular", this.color = "currentColor", this.mirrored = !1; } render() { var r; return h`<svg xmlns="http://www.w3.org/2000/svg" width="${this.size}" height="${this.size}" fill="${this.color}" viewBox="0 0 256 256" transform=${this.mirrored ? "scale(-1, 1)" : null} > ${s.weightsMap.get((r = this.weight) != null ? r : "regular")} </svg>`; } }; s.weightsMap = /* @__PURE__ */ new Map([ [ "thin", e`<path d="M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220ZM84,108a8,8,0,1,1,8,8A8,8,0,0,1,84,108Zm72,0a8,8,0,1,1,8,8A8,8,0,0,1,156,108Zm24,60a4,4,0,0,1-4,4c-8,0-12-5.32-15.2-9.6-3.07-4.09-5-6.4-8.8-6.4s-5.73,2.31-8.8,6.4C140,166.68,136,172,128,172s-12-5.32-15.2-9.6c-3.07-4.09-5-6.4-8.8-6.4s-5.73,2.31-8.8,6.4C92,166.68,88,172,80,172a4,4,0,0,1,0-8c3.81,0,5.73-2.31,8.8-6.4C92,153.32,96,148,104,148s12,5.32,15.2,9.6c3.07,4.09,5,6.4,8.8,6.4s5.73-2.31,8.8-6.4C140,153.32,144,148,152,148s12,5.32,15.2,9.6c3.07,4.09,5,6.4,8.8,6.4A4,4,0,0,1,180,168Z"/>` ], [ "light", e`<path d="M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218ZM82,108a10,10,0,1,1,10,10A10,10,0,0,1,82,108Zm72,0a10,10,0,1,1,10,10A10,10,0,0,1,154,108Zm28,60a6,6,0,0,1-6,6c-9,0-13.51-6-16.8-10.4-3-4.06-4.46-5.6-7.2-5.6s-4.15,1.54-7.2,5.6C141.51,168,137,174,128,174s-13.51-6-16.8-10.4c-3-4.06-4.46-5.6-7.2-5.6s-4.15,1.54-7.2,5.6C93.51,168,89,174,80,174a6,6,0,0,1,0-12c2.74,0,4.15-1.54,7.2-5.6C90.49,152,95,146,104,146s13.51,6,16.8,10.4c3,4.06,4.46,5.6,7.2,5.6s4.15-1.54,7.2-5.6C138.49,152,143,146,152,146s13.51,6,16.8,10.4c3,4.06,4.46,5.6,7.2,5.6A6,6,0,0,1,182,168Z"/>` ], [ "regular", e`<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216ZM80,108a12,12,0,1,1,12,12A12,12,0,0,1,80,108Zm72,0a12,12,0,1,1,12,12A12,12,0,0,1,152,108Zm32,60a8,8,0,0,1-8,8c-10,0-15.06-6.74-18.4-11.2-3-4-3.92-4.8-5.6-4.8s-2.57.76-5.6,4.8C143.06,169.26,138,176,128,176s-15.06-6.74-18.4-11.2c-3-4-3.92-4.8-5.6-4.8s-2.57.76-5.6,4.8C95.06,169.26,90,176,80,176a8,8,0,0,1,0-16c1.68,0,2.57-.76,5.6-4.8C88.94,150.74,94,144,104,144s15.06,6.74,18.4,11.2c3,4,3.92,4.8,5.6,4.8s2.57-.76,5.6-4.8c3.34-4.46,8.4-11.2,18.4-11.2s15.06,6.74,18.4,11.2c3,4,3.92,4.8,5.6,4.8A8,8,0,0,1,184,168Z"/>` ], [ "bold", e`<path d="M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212ZM76,108a16,16,0,1,1,16,16A16,16,0,0,1,76,108Zm72,0a16,16,0,1,1,16,16A16,16,0,0,1,148,108Zm30.92,64.94a12,12,0,0,1-16.78,2.52,38.18,38.18,0,0,1-7.74-8.26,35.12,35.12,0,0,0-2.4-3,35.12,35.12,0,0,0-2.4,3C146,172,140,180,128,180s-18-8-21.6-12.8a35.12,35.12,0,0,0-2.4-3,35.12,35.12,0,0,0-2.4,3,38.18,38.18,0,0,1-7.74,8.26,12,12,0,0,1-14.27-19.3,22.82,22.82,0,0,0,2.81-3.36C86,148,92,140,104,140s18,8,21.6,12.8a35.12,35.12,0,0,0,2.4,3,35.12,35.12,0,0,0,2.4-3C134,148,140,140,152,140s18,8,21.6,12.8a22.82,22.82,0,0,0,2.81,3.36A12,12,0,0,1,178.92,172.94Z"/>` ], [ "fill", e`<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm36,72a12,12,0,1,1-12,12A12,12,0,0,1,164,96ZM92,96a12,12,0,1,1-12,12A12,12,0,0,1,92,96Zm84,80c-10,0-15.05-6.74-18.4-11.2-3-4-3.92-4.8-5.6-4.8s-2.57.76-5.6,4.8C143.05,169.26,138,176,128,176s-15-6.74-18.4-11.2c-3-4-3.92-4.8-5.6-4.8s-2.57.76-5.6,4.8C95.05,169.26,90,176,80,176a8,8,0,0,1,0-16c1.68,0,2.57-.76,5.6-4.8C89,150.74,94,144,104,144s15,6.74,18.4,11.2c3,4,3.92,4.8,5.6,4.8s2.57-.76,5.6-4.8C137,150.74,142,144,152,144s15.05,6.74,18.4,11.2c3,4,3.92,4.8,5.6,4.8a8,8,0,0,1,0,16Z"/>` ], [ "duotone", e`<path d="M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z" opacity="0.2"/><path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216ZM80,108a12,12,0,1,1,12,12A12,12,0,0,1,80,108Zm72,0a12,12,0,1,1,12,12A12,12,0,0,1,152,108Zm32,60a8,8,0,0,1-8,8c-10,0-15.05-6.74-18.4-11.2-3-4-3.92-4.8-5.6-4.8s-2.57.76-5.6,4.8C143.05,169.26,138,176,128,176s-15-6.74-18.4-11.2c-3-4-3.92-4.8-5.6-4.8s-2.57.76-5.6,4.8C95.05,169.26,90,176,80,176a8,8,0,0,1,0-16c1.68,0,2.57-.76,5.6-4.8C89,150.74,94,144,104,144s15,6.74,18.4,11.2c3,4,3.92,4.8,5.6,4.8s2.57-.76,5.6-4.8C137,150.74,142,144,152,144s15.05,6.74,18.4,11.2c3,4,3.92,4.8,5.6,4.8A8,8,0,0,1,184,168Z"/>` ] ]); s.styles = n` :host { display: contents; } `; a([ i({ type: String, reflect: !0 }) ], s.prototype, "size", 2); a([ i({ type: String, reflect: !0 }) ], s.prototype, "weight", 2); a([ i({ type: String, reflect: !0 }) ], s.prototype, "color", 2); a([ i({ type: Boolean, reflect: !0 }) ], s.prototype, "mirrored", 2); s = a([ A("ph-smiley-nervous") ], s); export { s as PhSmileyNervous };