@dialpad/dialtone-icons
Version:
Dialtone icon library
2 lines • 2.23 kB
JavaScript
const e=require(`../../utils-B9pJFisR.cjs`),t=require(`../../constants-Dk9LMgRJ.cjs`),n=require(`../../_plugin-vue_export-helper-CX7YVcP6.cjs`);let r=require(`vue`);var i={name:`DtIconGoogleDocs`,props:{size:{type:String,default:`500`,validator:e=>Object.keys(t.t).includes(e)},ariaLabel:{type:String,default:void 0}},emits:[`loaded`],computed:{iconSizeClass(){return t.t[this.size]},ariaHidden(){return this.ariaLabel?`false`:`true`},dataQA(){return this.$attrs[`data-qa`]??`dt-icon`}},created(){this.$emit(`loaded`),this.uniqueID=e.t()}},a=[`aria-label`,`data-qa`,`aria-hidden`],o=[`fill`],s=[`id`];function c(e,t,n,i,c,l){return(0,r.openBlock)(),(0,r.createElementBlock)(`svg`,{"aria-label":n.ariaLabel,class:(0,r.normalizeClass)([l.iconSizeClass,`d-icon d-icon--google-docs`]),"data-qa":l.dataQA,"aria-hidden":l.ariaHidden,role:`img`,"data-name":`Google Docs`,viewBox:`0 0 24 24`,xmlns:`http://www.w3.org/2000/svg`},[t[1]||(t[1]=(0,r.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:`#4E8DF5`},null,-1)),t[2]||(t[2]=(0,r.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:`#417EE9`},null,-1)),t[3]||(t[3]=(0,r.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:`#639AF6`},null,-1)),(0,r.createElementVNode)(`path`,{d:`M20 12.125V7l-.875-.875h-4.22a.375.375 0 0 0-.265.64l5.36 5.36Z`,fill:`url(#${e.uniqueID}a)`},null,8,o),t[4]||(t[4]=(0,r.createElementVNode)(`path`,{d:`m14 1 6 6h-4.5A1.5 1.5 0 0 1 14 5.5V1Z`,fill:`#A6C5FA`},null,-1)),t[5]||(t[5]=(0,r.createElementVNode)(`path`,{d:`M16 12H8v1h8v-1Zm0 2H8v1h8v-1Zm-8 2h8v1H8v-1Zm6 2H8v1h6v-1Z`,fill:`#fff`},null,-1)),(0,r.createElementVNode)(`defs`,null,[(0,r.createElementVNode)(`linearGradient`,{id:`${e.uniqueID}a`,x1:`17`,y1:`12.125`,x2:`17`,y2:`6`,gradientUnits:`userSpaceOnUse`},[...t[0]||(t[0]=[(0,r.createElementVNode)(`stop`,{"stop-color":`#4E8DF5`},null,-1),(0,r.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#3D6ACD`},null,-1)])],8,s)])],10,a)}var l=n.t(i,[[`render`,c]]);module.exports=l;
//# sourceMappingURL=google-docs.cjs.map