UNPKG

@dialpad/dialtone-icons

Version:

Dialtone icon library

3 lines (2 loc) 1.97 kB
"use strict";const n=require("../utils-Bndrzhtw.cjs"),i=require("../constants-CHwVJpfT.cjs"),e=require("vue"),r=require("../_plugin-vue_export-helper-BRilXfQE.cjs"),d={name:"DtIconLifeBuoy",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=n.g()}},s=["aria-label","data-qa","aria-hidden"],o=["clip-path"],c=e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6 .5a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11Zm0 10a4.48 4.48 0 0 1-2.809-.984l1.43-1.43c.396.262.87.414 1.379.414.51 0 .983-.152 1.379-.414l1.43 1.43A4.48 4.48 0 0 1 6 10.5ZM10.5 6a4.48 4.48 0 0 0-.984-2.809l-1.43 1.43c.262.396.414.87.414 1.379 0 .51-.152.983-.414 1.379l1.43 1.43A4.48 4.48 0 0 0 10.5 6ZM6 3.5c-.51 0-.983.152-1.379.414l-1.43-1.43A4.481 4.481 0 0 1 6 1.5a4.48 4.48 0 0 1 2.809.984l-1.43 1.43A2.488 2.488 0 0 0 6 3.5Zm-3.516-.309A4.481 4.481 0 0 0 1.5 6a4.48 4.48 0 0 0 .984 2.809l1.43-1.43A2.488 2.488 0 0 1 3.5 6c0-.51.152-.983.414-1.379l-1.43-1.43ZM4.5 6a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z",fill:"currentColor"},null,-1),u=[c],_=["id"],h=e.createElementVNode("path",{fill:"#fff",d:"M0 0h12v12H0z"},null,-1),p=[h];function f(t,g,l,q,v,a){return e.openBlock(),e.createElementBlock("svg",{"aria-label":l.ariaLabel,class:e.normalizeClass([a.iconSizeClass,"d-icon d-icon--life-buoy"]),"data-qa":a.dataQA,"aria-hidden":a.ariaHidden,role:"img","data-name":"Life Buoy",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("g",{"clip-path":`url(#${t.uniqueID}a)`},u,8,o),e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:`${t.uniqueID}a`},p,8,_)])],10,s)}const m=r._(d,[["render",f]]);module.exports=m; //# sourceMappingURL=life-buoy.cjs.map