@dialpad/dialtone-icons
Version:
Dialtone icon library
3 lines (2 loc) • 2.21 kB
JavaScript
;const n=require("../utils-Bndrzhtw.cjs"),l=require("../constants-CHwVJpfT.cjs"),e=require("vue"),o=require("../_plugin-vue_export-helper-BRilXfQE.cjs"),r={name:"DtIconMessenger",props:{size:{type:String,default:"500",validator:t=>Object.keys(l.I).includes(t)},ariaLabel:{type:String,default:void 0}},emits:["loaded"],computed:{iconSizeClass(){return l.I[this.size]},ariaHidden(){return this.ariaLabel?"false":"true"},dataQA(){return this.$attrs["data-qa"]??"dt-icon"}},created(){this.$emit("loaded"),this.uniqueID=n.g()}},i=["aria-label","data-qa","aria-hidden"],d=["fill"],c=e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m6.37 14.613 2.754-4.37a1.406 1.406 0 0 1 2.034-.375l2.19 1.643c.2.15.477.15.678-.002l2.958-2.245c.394-.3.91.173.646.592l-2.754 4.37a1.406 1.406 0 0 1-2.034.374l-2.19-1.642a.562.562 0 0 0-.678.002l-2.958 2.245c-.395.3-.91-.173-.646-.592Z",fill:"#fff"},null,-1),u=["id"],_=e.createElementVNode("stop",{"stop-color":"#09F"},null,-1),f=e.createElementVNode("stop",{offset:".61","stop-color":"#A033FF"},null,-1),p=e.createElementVNode("stop",{offset:".935","stop-color":"#FF5280"},null,-1),m=e.createElementVNode("stop",{offset:"1","stop-color":"#FF7061"},null,-1),h=[_,f,p,m];function g(t,v,s,E,V,a){return e.openBlock(),e.createElementBlock("svg",{"aria-label":s.ariaLabel,class:e.normalizeClass([a.iconSizeClass,"d-icon d-icon--messenger"]),"data-qa":a.dataQA,"aria-hidden":a.ariaHidden,role:"img","data-name":"Messenger",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 2.86c-5.281 0-9.375 3.868-9.375 9.093 0 2.733 1.12 5.095 2.944 6.726a.75.75 0 0 1 .252.535l.051 1.668a.75.75 0 0 0 1.053.663l1.86-.822a.748.748 0 0 1 .501-.037c.855.236 1.765.36 2.714.36 5.281 0 9.375-3.868 9.375-9.093S17.281 2.86 12 2.86Z",fill:`url(#${t.uniqueID}a)`},null,8,d),c,e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",{id:`${t.uniqueID}a`,cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.234 21.51) scale(20.4299)"},h,8,u)])],10,i)}const q=o._(r,[["render",g]]);module.exports=q;
//# sourceMappingURL=messenger.cjs.map