UNPKG

@dialpad/dialtone-icons

Version:

Dialtone icon library

3 lines (2 loc) 1.62 kB
"use strict";const l=require("../utils-Bndrzhtw.cjs"),i=require("../constants-CHwVJpfT.cjs"),e=require("vue"),r=require("../_plugin-vue_export-helper-BRilXfQE.cjs"),s={name:"DtIconPauseCircle",props:{size:{type:String,default:"500",validator:t=>Object.keys(i.I).includes(t)},ariaLabel:{type:String,default:void 0}},emits:["loaded"],computed:{iconSizeClass(){return i.I[this.size]},ariaHidden(){return this.ariaLabel?"false":"true"},dataQA(){return this.$attrs["data-qa"]??"dt-icon"}},created(){this.$emit("loaded"),this.uniqueID=l.g()}},d=["aria-label","data-qa","aria-hidden"],o=["clip-path"],c=e.createElementVNode("path",{d:"M6 1.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9ZM.5 6a5.5 5.5 0 1 1 11 0 5.5 5.5 0 0 1-11 0Z"},null,-1),u=e.createElementVNode("path",{d:"M5 4a.5.5 0 0 1 .5.5v3a.5.5 0 1 1-1 0v-3A.5.5 0 0 1 5 4Zm2 0a.5.5 0 0 1 .5.5v3a.5.5 0 1 1-1 0v-3A.5.5 0 0 1 7 4Z"},null,-1),_=[c,u],h=["id"],p=e.createElementVNode("path",{fill:"#fff",d:"M0 0h12v12H0z"},null,-1),m=[p];function f(t,g,n,q,b,a){return e.openBlock(),e.createElementBlock("svg",{"aria-label":n.ariaLabel,class:e.normalizeClass([a.iconSizeClass,"d-icon d-icon--pause-circle"]),"data-qa":a.dataQA,"aria-hidden":a.ariaHidden,role:"img","data-name":"Pause Circle",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12"},[e.createElementVNode("g",{"clip-path":`url(#${t.uniqueID}a)`,fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd"},_,8,o),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:`${t.uniqueID}a`},m,8,h)])],10,d)}const v=r._(s,[["render",f]]);module.exports=v; //# sourceMappingURL=pause-circle.cjs.map