@teamsparta/stack-icons
Version:
stack icons
2 lines (1 loc) • 2.87 kB
JavaScript
;var k=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var f=(i,t)=>{for(var e in t)k(i,e,{get:t[e],enumerable:!0})},L=(i,t,e,g)=>{if(t&&typeof t=="object"||typeof t=="function")for(let w of l(t))!d.call(i,w)&&w!==e&&k(i,w,{get:()=>t[w],enumerable:!(g=u(t,w))||g.enumerable});return i};var W=i=>L(k({},"__esModule",{value:!0}),i);var F={};f(F,{CheckboxFill:()=>v,RadioOnFill:()=>x});module.exports=W(F);var h=require("@teamsparta/stack-tokens"),s=require("react/jsx-runtime");function v({size:i,primaryColor:t,secondaryColor:e}){switch(i){case 16:return(0,s.jsx)("div",{children:"\uC774\uBBF8\uC9C0\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."});case 20:return(0,s.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{x:"3.33331",y:"3.33331",width:"13.3333",height:"13.3333",rx:"2",fill:t!=null?t:h.vars.neutral[90],stroke:t!=null?t:h.vars.neutral[90],strokeWidth:"1.75"}),(0,s.jsx)("path",{d:"M6.8327 10.2727L8.91604 12.1667L13.4994 8",stroke:e!=null?e:h.vars.neutral[0],strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})]});case 24:return(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",fill:t!=null?t:h.vars.neutral[90],stroke:t!=null?t:h.vars.neutral[90],strokeWidth:"2",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M8.19922 12.3273L10.6992 14.6L16.1992 9.60001",stroke:e!=null?e:h.vars.neutral[0],strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}}var c=require("@teamsparta/stack-tokens"),n=require("react/jsx-runtime");function x({size:i,primaryColor:t=c.vars.neutral[100],secondaryColor:e=c.vars.neutral[100]}){switch(i){case 16:return(0,n.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("circle",{cx:"8",cy:"8",r:"6",stroke:t,strokeWidth:"1.5"}),(0,n.jsx)("circle",{cx:"8.00004",cy:"7.99992",r:"2.66667",fill:e,stroke:e,strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]});case 20:return(0,n.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("circle",{cx:"10",cy:"10",r:"7.5",stroke:t,strokeWidth:"1.75"}),(0,n.jsx)("circle",{cx:"9.99996",cy:"10.0001",r:"3.33333",fill:e,stroke:e,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]});case 24:return(0,n.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"9",stroke:t,strokeWidth:"2"}),(0,n.jsx)("circle",{cx:"12",cy:"12",r:"4",fill:e,stroke:e,strokeWidth:"2"})]})}}0&&(module.exports={CheckboxFill,RadioOnFill});