UNPKG

@dialpad/dialtone-icons

Version:
59 lines (58 loc) 2.11 kB
import { t as e } from "../../constants-B7fXbm2f.js"; import { t } from "../../_plugin-vue_export-helper-B52Kst-M.js"; import { createElementBlock as n, createElementVNode as r, normalizeClass as i, openBlock as a } from "vue"; //#region ../src/icons/sticker.vue var o = { name: "DtIconSticker", props: { size: { type: String, default: "500", validator: (t) => Object.keys(e).includes(t) }, ariaLabel: { type: String, default: void 0 } }, emits: ["loaded"], computed: { iconSizeClass() { return e[this.size]; }, ariaHidden() { return this.ariaLabel ? "false" : "true"; }, dataQA() { return this.$attrs["data-qa"] ?? "dt-icon"; } }, created() { this.$emit("loaded"); } }, s = [ "aria-label", "data-qa", "aria-hidden" ]; function c(e, t, o, c, l, u) { return a(), n("svg", { "aria-label": o.ariaLabel, class: i([u.iconSizeClass, "d-icon d-icon--sticker"]), "data-qa": u.dataQA, "aria-hidden": u.ariaHidden, role: "img", "data-name": "Sticker", viewBox: "0 0 12 12", xmlns: "http://www.w3.org/2000/svg" }, [...t[0] || (t[0] = [r("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M1.44 1.44A1.5 1.5 0 0 1 2.5 1h5.25a.5.5 0 0 1 .354.147l2.75 2.75A.5.5 0 0 1 11 4.25V9.5A1.5 1.5 0 0 1 9.5 11h-7C1.674 11 1 10.328 1 9.5v-7c0-.397.158-.779.44-1.06ZM9.543 4 8 2.458V4h1.543ZM7 2v2.5a.5.5 0 0 0 .5.5H10v4.5a.5.5 0 0 1-.5.5h-7a.503.503 0 0 1-.5-.5v-7a.5.5 0 0 1 .5-.5H7ZM3 6.25a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Zm4.5 0a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Zm-.213 1.34a.5.5 0 0 1 .123.697L7 8l.41.287-.001.002-.001.001-.003.004-.008.01a1.14 1.14 0 0 1-.093.112 1.86 1.86 0 0 1-.262.236C6.812 8.822 6.46 9 6 9c-.44 0-.79-.182-1.015-.343a2.13 2.13 0 0 1-.363-.33l-.007-.008-.003-.004H4.61l-.001-.002L5 8l-.39.313a.5.5 0 0 1 .778-.628l.005.005a1.13 1.13 0 0 0 .173.153A.76.76 0 0 0 6 8c.19 0 .339-.071.446-.151a.858.858 0 0 0 .148-.14.5.5 0 0 1 .693-.118Z", fill: "currentColor" }, null, -1)])], 10, s); } var l = /* @__PURE__ */ t(o, [["render", c]]); //#endregion export { l as default }; //# sourceMappingURL=sticker.js.map