UNPKG

@dialpad/dialtone-icons

Version:

Dialtone icon library

3 lines (2 loc) 2.3 kB
"use strict";const i=require("../utils-Bndrzhtw.cjs"),l=require("../constants-CHwVJpfT.cjs"),e=require("vue"),o=require("../_plugin-vue_export-helper-BRilXfQE.cjs"),s={name:"DtIconGoogleSheets",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=i.g()}},d=["aria-label","data-qa","aria-hidden"],r=e.createElementVNode("path",{d:"M5.5 1A1.5 1.5 0 0 0 4 2.5v19A1.5 1.5 0 0 0 5.5 23h13a1.5 1.5 0 0 0 1.5-1.5V7l-6-6H5.5Z",fill:"#20A464"},null,-1),c=e.createElementVNode("path",{d:"M5.5 23A1.5 1.5 0 0 1 4 21.5v-.25a1.5 1.5 0 0 0 1.5 1.5h13a1.5 1.5 0 0 0 1.5-1.5v.25a1.5 1.5 0 0 1-1.5 1.5h-13Z",fill:"#149456"},null,-1),h=e.createElementVNode("path",{d:"M5.5 1A1.5 1.5 0 0 0 4 2.5v.25a1.5 1.5 0 0 1 1.5-1.5h8.75L14 1H5.5Z",fill:"#38AE74"},null,-1),u=["fill"],_=e.createElementVNode("path",{d:"m14 1 6 6h-4.5A1.5 1.5 0 0 1 14 5.5V1Z",fill:"#8ED1B1"},null,-1),m=e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16 11.75V19H8v-7.25h8Zm-4.5 1H9V14h2.5v-1.25Zm1 1.25v-1.25H15V14h-2.5Zm-1 .75H9V16h2.5v-1.25Zm1 1.25v-1.25H15V16h-2.5Zm-1 .75H9V18h2.5v-1.25Zm1 1.25v-1.25H15V18h-2.5Z",fill:"#fff"},null,-1),p=["id"],f=e.createElementVNode("stop",{"stop-color":"#20A464"},null,-1),V=e.createElementVNode("stop",{offset:"1","stop-color":"#207E55"},null,-1),v=[f,V];function g(t,H,n,Z,q,a){return e.openBlock(),e.createElementBlock("svg",{"aria-label":n.ariaLabel,class:e.normalizeClass([a.iconSizeClass,"d-icon d-icon--google-sheets"]),"data-qa":a.dataQA,"aria-hidden":a.ariaHidden,role:"img","data-name":"Google Sheets",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[r,c,h,e.createElementVNode("path",{d:"M20 12.125V7l-.875-.875h-4.22a.375.375 0 0 0-.265.64l5.36 5.36Z",fill:`url(#${t.uniqueID}a)`},null,8,u),_,m,e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`${t.uniqueID}a`,x1:"17.265",y1:"12.125",x2:"17.265",y2:"6",gradientUnits:"userSpaceOnUse"},v,8,p)])],10,d)}const E=o._(s,[["render",g]]);module.exports=E; //# sourceMappingURL=google-sheets.cjs.map