@teamsparta/stack-icons
Version:
stack icons
2 lines (1 loc) • 3.35 kB
JavaScript
;var n=Object.defineProperty,m=Object.defineProperties,M=Object.getOwnPropertyDescriptor,Z=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var H=(t,r,l)=>r in t?n(t,r,{enumerable:!0,configurable:!0,writable:!0,value:l}):t[r]=l,c=(t,r)=>{for(var l in r||(r={}))i.call(r,l)&&H(t,l,r[l]);if(o)for(var l of o(r))s.call(r,l)&&H(t,l,r[l]);return t},f=(t,r)=>m(t,Z(r));var C=(t,r)=>{var l={};for(var L in t)i.call(t,L)&&r.indexOf(L)<0&&(l[L]=t[L]);if(t!=null&&o)for(var L of o(t))r.indexOf(L)<0&&s.call(t,L)&&(l[L]=t[L]);return l};var g=(t,r)=>{for(var l in r)n(t,l,{get:r[l],enumerable:!0})},v=(t,r,l,L)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of d(r))!i.call(t,e)&&e!==l&&n(t,e,{get:()=>r[e],enumerable:!(L=M(r,e))||L.enumerable});return t};var y=t=>v(n({},"__esModule",{value:!0}),t);var N={};g(N,{NavigationHome:()=>I});module.exports=y(N);var h=require("@teamsparta/stack-tokens"),u=require("react");var V=require("react/jsx-runtime"),F=({size:t,variant:r})=>{switch(t){case 16:switch(r){case"line":return(0,V.jsx)("path",{d:"M14.5 5.83301V14.5H9.44434V10.8887L8 9.92578L6.55566 10.8887V14.5H1.5V5.83301L8 1.5L14.5 5.83301ZM10.9443 13H13V6.63574L8 3.30176L3 6.63574V13H5.05566V10.0859L8 8.12305L10.9443 10.0859V13Z",fill:"currentColor"});case"fill":return(0,V.jsx)("path",{d:"M14.5 5.83301V14.5H9.44434V10.8887L8 9.92578L6.55566 10.8887V14.5H1.5V5.83301L8 1.5L14.5 5.83301Z",fill:"currentColor"})}case 20:switch(r){case"line":return(0,V.jsx)("path",{d:"M18 7.33301V18H11.7773V13.5557L10 12.3701L8.22266 13.5557V18H2V7.33301L10 2L18 7.33301ZM13.5273 16.25H16.25V8.26953L10 4.10254L3.75 8.26953V16.25H6.47266V12.6191L10 10.2666L13.5273 12.6191V16.25Z",fill:"currentColor"});case"fill":return(0,V.jsx)("path",{d:"M18 7.33301V18H11.7773V13.5557L10 12.3701L8.22266 13.5557V18H2V7.33301L10 2L18 7.33301Z",fill:"currentColor"})}case 24:switch(r){case"line":return(0,V.jsx)("path",{d:"M21 9V21H14V16L12 14.667L10 16V21H3V9L12 3L21 9ZM16 19H19V10.0703L12 5.40332L5 10.0703V19H8V14.9297L12 12.2637L16 14.9297V19Z",fill:"currentColor"});case"fill":return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)("path",{d:"M20.5882 20.9752H14.3831C14.1683 20.9752 13.995 20.8018 13.995 20.587V16.1972C13.995 16.0665 13.9303 15.9462 13.8216 15.8737L12.216 14.8089C12.0866 14.7222 11.9171 14.7222 11.7864 14.8089L10.1795 15.8737C10.0709 15.9462 10.0062 16.0665 10.0062 16.1972V20.587C10.0062 20.8018 9.83281 20.9752 9.61804 20.9752H3.41426C3.19949 20.9752 3.02612 20.8018 3.02612 20.587V9.21583C3.02612 9.08645 3.09081 8.96483 3.19949 8.89238L11.7864 3.18025C11.9171 3.09356 12.0866 3.09356 12.216 3.18025L20.8029 8.89367C20.9116 8.96612 20.9763 9.08645 20.9763 9.21712V20.5883C20.9763 20.8031 20.8029 20.9765 20.5882 20.9765V20.9752Z",fill:"currentColor"}),(0,V.jsx)("path",{d:"M21 9V21H14V16L12 14.667L10 16V21H3V9L12 3L21 9Z",fill:"currentColor"})]})}}},I=(0,u.forwardRef)(function(x,w){var a=x,{size:r,variant:l,color:L=h.vars.neutral[90],style:e}=a,p=C(a,["size","variant","color","style"]);return(0,V.jsx)("svg",f(c({width:r,height:r,viewBox:`0 0 ${r} ${r}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",style:c({color:L},e),ref:w},p),{children:(0,V.jsx)(F,{size:r,variant:l})}))});0&&(module.exports={NavigationHome});