@teamsparta/stack-icons
Version:
stack icons
2 lines (1 loc) • 4.72 kB
JavaScript
;var s=Object.defineProperty,M=Object.defineProperties,w=Object.getOwnPropertyDescriptor,H=Object.getOwnPropertyDescriptors,W=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;var h=(o,r,e)=>r in o?s(o,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[r]=e,d=(o,r)=>{for(var e in r||(r={}))c.call(r,e)&&h(o,e,r[e]);if(l)for(var e of l(r))a.call(r,e)&&h(o,e,r[e]);return o},u=(o,r)=>M(o,H(r));var k=(o,r)=>{var e={};for(var n in o)c.call(o,n)&&r.indexOf(n)<0&&(e[n]=o[n]);if(o!=null&&l)for(var n of l(o))r.indexOf(n)<0&&a.call(o,n)&&(e[n]=o[n]);return e};var g=(o,r)=>{for(var e in r)s(o,e,{get:r[e],enumerable:!0})},x=(o,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of W(r))!c.call(o,i)&&i!==e&&s(o,i,{get:()=>r[i],enumerable:!(n=w(r,i))||n.enumerable});return o};var m=o=>x(s({},"__esModule",{value:!0}),o);var Z={};g(Z,{InfoCalendar:()=>I});module.exports=m(Z);var V=require("@teamsparta/stack-tokens"),p=require("react");var t=require("react/jsx-runtime"),y=({size:o,variant:r})=>{switch(o){case 16:switch(r){case"line":return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("rect",{x:"2.66663",y:"3.33325",width:"10.6667",height:"10.6667",rx:"1.33333",stroke:"currentColor",strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M2.66663 6.66675L13.3333 6.66675",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M5.33337 2V3.33333",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M10.6666 2V3.33333",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]});case"fill":return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M6.0835 2C6.0835 1.58579 5.74771 1.25 5.3335 1.25C4.91928 1.25 4.5835 1.58579 4.5835 2V2.58325H3.99984C2.84924 2.58325 1.9165 3.51599 1.9165 4.66659V5.91675L14.0832 5.91675V4.66659C14.0832 3.51599 13.1504 2.58325 11.9998 2.58325H11.4165V2C11.4165 1.58579 11.0807 1.25 10.6665 1.25C10.2523 1.25 9.9165 1.58579 9.9165 2V2.58325H6.0835V2Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M14.0832 7.41675L1.9165 7.41675V12.6666C1.9165 13.8172 2.84925 14.7499 3.99984 14.7499H11.9998C13.1504 14.7499 14.0832 13.8172 14.0832 12.6666V7.41675Z",fill:"currentColor"})]})}case 20:switch(r){case"line":return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("rect",{x:"3.33337",y:"4.16675",width:"13.3333",height:"13.3333",rx:"1.66667",stroke:"currentColor",strokeWidth:"1.66667",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M3.33337 8.33325L16.6667 8.33325",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M6.66663 2.5V4.16667",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M13.3334 2.5V4.16667",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round"})]});case"fill":return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M7.49992 2.50008C7.49992 2.03984 7.12682 1.66675 6.66659 1.66675C6.20635 1.66675 5.83325 2.03984 5.83325 2.50008V3.33325H5C3.61929 3.33325 2.5 4.45254 2.5 5.83325V7.50008L17.5 7.50008V5.83325C17.5 4.45254 16.3807 3.33325 15 3.33325H14.1667V2.50008C14.1667 2.03984 13.7936 1.66675 13.3333 1.66675C12.8731 1.66675 12.5 2.03984 12.5 2.50008V3.33325H7.49992V2.50008Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M17.5 9.16675L2.5 9.16675V15.8333C2.5 17.214 3.61929 18.3333 5 18.3333H15C16.3807 18.3333 17.5 17.214 17.5 15.8333V9.16675Z",fill:"currentColor"})]})}case 24:switch(r){case"line":return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("rect",{x:"4",y:"5",width:"16",height:"16",rx:"2",stroke:"currentColor",strokeWidth:"2",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M4 10L20 10",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M8 3V5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M16 3V5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]});case"fill":return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M9 3C9 2.44772 8.55229 2 8 2C7.44772 2 7 2.44772 7 3V4H6C4.34315 4 3 5.34315 3 7V9L21 9V7C21 5.34315 19.6569 4 18 4H17V3C17 2.44772 16.5523 2 16 2C15.4477 2 15 2.44772 15 3V4H9V3Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M21 11L3 11V19C3 20.6569 4.34315 22 6 22H18C19.6569 22 21 20.6569 21 19V11Z",fill:"currentColor"})]})}}},I=(0,p.forwardRef)(function(v,f){var C=v,{size:r,variant:e,color:n=V.vars.neutral[90],style:i}=C,L=k(C,["size","variant","color","style"]);return(0,t.jsx)("svg",u(d({width:r,height:r,viewBox:`0 0 ${r} ${r}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",style:d({color:n},i),ref:f},L),{children:(0,t.jsx)(y,{size:r,variant:e})}))});0&&(module.exports={InfoCalendar});