UNPKG

@dialpad/dialtone-icons

Version:
3 lines (2 loc) 1.67 kB
"use strict";const s=require("../../utils-Bndrzhtw.cjs"),r=require("../../constants-CHwVJpfT.cjs"),e=require("vue"),l=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),o={name:"DtIconAsana",props:{size:{type:String,default:"500",validator:a=>Object.keys(r.I).includes(a)},ariaLabel:{type:String,default:void 0}},emits:["loaded"],computed:{iconSizeClass(){return r.I[this.size]},ariaHidden(){return this.ariaLabel?"false":"true"},dataQA(){return this.$attrs["data-qa"]??"dt-icon"}},created(){this.$emit("loaded"),this.uniqueID=s.g()}},d=["aria-label","data-qa","aria-hidden"],c=["fill"],u=["id"];function m(a,n,i,_,f,t){return e.openBlock(),e.createElementBlock("svg",{"aria-label":i.ariaLabel,class:e.normalizeClass([t.iconSizeClass,"d-icon d-icon--asana"]),"data-qa":t.dataQA,"aria-hidden":t.ariaHidden,role:"img","data-name":"Asana",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{d:"M17.65 12.787a4.35 4.35 0 1 0 0 8.699 4.35 4.35 0 0 0 0-8.7Zm-11.3 0a4.35 4.35 0 1 0 0 8.7 4.35 4.35 0 0 0 0-8.7Zm10-5.437a4.35 4.35 0 1 1-8.7 0 4.35 4.35 0 0 1 8.7 0Z",fill:`url(#${a.uniqueID}a)`},null,8,c),e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",{id:`${a.uniqueID}a`,cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"matrix(13.2526 0 0 12.2495 12 13.103)"},[...n[0]||(n[0]=[e.createElementVNode("stop",{"stop-color":"#FFB900"},null,-1),e.createElementVNode("stop",{offset:".6","stop-color":"#F95D8F"},null,-1),e.createElementVNode("stop",{offset:".999","stop-color":"#F95353"},null,-1)])],8,u)])],10,d)}const p=l._(o,[["render",m]]);module.exports=p; //# sourceMappingURL=asana.cjs.map