@teamsparta/stack-icons
Version:
stack icons
2 lines (1 loc) • 3.17 kB
JavaScript
import{a as C,b as i,c}from"./chunk-NMSZWCJF.mjs";import{vars as a}from"@teamsparta/stack-tokens";import{forwardRef as H}from"react";import{Fragment as e,jsx as t,jsxs as o}from"react/jsx-runtime";var p=({size:n,variant:r})=>{switch(n){case 16:switch(r){case"line":return o(e,{children:[t("path",{d:"M5.33125 3.13V3.13C5.33125 2.50592 5.83717 2 6.46125 2H11.9979C12.7343 2 13.3313 2.59695 13.3313 3.33333V10.2052C13.3313 10.8283 12.8262 11.3333 12.2031 11.3333V11.3333",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),t("rect",{x:"2.66875",y:"4.66553",width:"8",height:"9.33333",rx:"1.33333",stroke:"currentColor",strokeWidth:"1.5"})]});case"fill":return o(e,{children:[t("path",{d:"M5.3335 3.33333C5.3335 2.59695 5.93045 2 6.66683 2H12.0002C12.7365 2 13.3335 2.59695 13.3335 3.33333V10C13.3335 10.7364 12.7365 11.3333 12.0002 11.3333H11.6668V6C11.6668 4.71134 10.6222 3.66667 9.3335 3.66667H5.3335V3.33333Z",fill:"currentColor"}),t("path",{d:"M4.00033 4.66663C3.26395 4.66663 2.66699 5.26358 2.66699 5.99996V12.6666C2.66699 13.403 3.26395 14 4.00033 14H9.33366C10.07 14 10.667 13.403 10.667 12.6666V5.99996C10.667 5.26358 10.07 4.66663 9.33366 4.66663H4.00033Z",fill:"currentColor"})]})}case 20:switch(r){case"line":return o(e,{children:[t("path",{d:"M6.66667 4.16667V4.16667C6.66667 3.24619 7.41286 2.5 8.33334 2.5H15C15.9205 2.5 16.6667 3.24619 16.6667 4.16667V12.5C16.6667 13.4205 15.9205 14.1667 15 14.1667V14.1667",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round"}),t("rect",{x:"3.33333",y:"5.83325",width:"10",height:"11.6667",rx:"1.66667",stroke:"currentColor",strokeWidth:"1.75"})]});case"fill":return t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.6665 4.16667C6.6665 3.24619 7.4127 2.5 8.33317 2.5H14.9998C15.9203 2.5 16.6665 3.24619 16.6665 4.16667V12.5C16.6665 13.4205 15.9203 14.1667 14.9998 14.1667H14.5832V7.5C14.5832 5.88917 13.2773 4.58333 11.6665 4.58333H6.6665V4.16667ZM13.3332 7.5V14.1667H13.333V15.8334C13.333 16.7538 12.5868 17.5 11.6663 17.5H4.99967C4.0792 17.5 3.33301 16.7538 3.33301 15.8334V7.50004C3.33301 6.57957 4.0792 5.83337 4.99967 5.83337H6.6665V5.83333H11.6665C12.587 5.83333 13.3332 6.57953 13.3332 7.5Z",fill:"currentColor"})}case 24:switch(r){case"line":return o(e,{children:[t("path",{d:"M8 6V5C8 3.89543 8.89543 3 10 3H18C19.1046 3 20 3.89543 20 5V15C20 16.1046 19.1046 17 18 17H17",stroke:"currentColor",strokeWidth:"2"}),t("rect",{x:"4",y:"7",width:"12",height:"14",rx:"2",stroke:"currentColor",strokeWidth:"2"})]});case"fill":return o(e,{children:[t("path",{d:"M8 5C8 3.89543 8.89543 3 10 3H18C19.1046 3 20 3.89543 20 5V15C20 16.1046 19.1046 17 18 17H17.5V9C17.5 7.067 15.933 5.5 14 5.5H8V5Z",fill:"currentColor"}),t("path",{d:"M14 7C15.1046 7 16 7.89543 16 9V19C16 20.1046 15.1046 21 14 21H6C4.89543 21 4 20.1046 4 19V9C4 7.89543 4.89543 7 6 7H14Z",fill:"currentColor"})]})}}},y=H(function(f,u){var l=f,{size:r,variant:s,color:h=a.neutral[90],style:V}=l,d=c(l,["size","variant","color","style"]);return t("svg",i(C({width:r,height:r,viewBox:`0 0 ${r} ${r}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",style:C({color:h},V),ref:u},d),{children:t(p,{size:r,variant:s})}))});export{y as a};