UNPKG

@dialpad/dialtone-icons

Version:

Dialtone icon library

3 lines (2 loc) 2.18 kB
"use strict";const n=require("../utils-Bndrzhtw.cjs"),l=require("../constants-CHwVJpfT.cjs"),e=require("vue"),r=require("../_plugin-vue_export-helper-BRilXfQE.cjs"),d={name:"DtIconPhoneHangUp",props:{size:{type:String,default:"500",validator:a=>Object.keys(l.I).includes(a)},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()}},s=["aria-label","data-qa","aria-hidden"],o=["clip-path"],c=e.createElementVNode("path",{fill:"currentColor","fill-rule":"evenodd",d:"M.538 4.006c.84-.668 2.864-2.005 5.62-2.004a8.003 8.003 0 0 1 5.358 2.032c.446.404.396 1.054.017 1.433l-.353-.354.353.354-.726.726c-.339.34-.866.404-1.277.157l-1.076-.646a1.045 1.045 0 0 1-.503-.99l.131-1.45a7.117 7.117 0 0 0-1.924-.262 7.61 7.61 0 0 0-2.096.296v1.49c.001.367-.191.708-.506.897l-1.109.666-.257-.429.257.429a1.045 1.045 0 0 1-1.277-.157l-.701-.701C.066 5.09.045 4.397.538 4.006Zm2.524-.35c-.858.37-1.506.82-1.891 1.124a.047.047 0 0 0 .005.006l.701.7a.045.045 0 0 0 .055.008l1.109-.667a.045.045 0 0 0 .022-.038V3.655Zm5.992-.04-.107 1.188a.045.045 0 0 0 .022.043l1.076.646c.018.01.04.007.055-.007l.726-.726a6.895 6.895 0 0 0-1.772-1.144ZM6 6.237a.5.5 0 0 1 .5.5v2.41l.955-.955a.5.5 0 1 1 .707.707l-1.808 1.808a.5.5 0 0 1-.707 0L3.839 8.899a.5.5 0 1 1 .707-.707l.954.954V6.737a.5.5 0 0 1 .5-.5Z","clip-rule":"evenodd"},null,-1),u=[c],h=["id"],_=e.createElementVNode("path",{fill:"#fff",d:"M0 0h12v12H0z"},null,-1),p=[_];function m(a,g,i,v,q,t){return e.openBlock(),e.createElementBlock("svg",{"aria-label":i.ariaLabel,class:e.normalizeClass([t.iconSizeClass,"d-icon d-icon--phone-hang-up"]),"data-qa":t.dataQA,"aria-hidden":t.ariaHidden,role:"img","data-name":"Phone Hang Up",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12"},[e.createElementVNode("g",{"clip-path":`url(#${a.uniqueID}a)`},u,8,o),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:`${a.uniqueID}a`},p,8,h)])],10,s)}const f=r._(d,[["render",m]]);module.exports=f; //# sourceMappingURL=phone-hang-up.cjs.map