UNPKG

@teamsparta/stack-icons

Version:
2 lines (1 loc) 4.93 kB
"use strict";var i=Object.defineProperty,V=Object.defineProperties,w=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable;var M=(r,C,n)=>C in r?i(r,C,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[C]=n,c=(r,C)=>{for(var n in C||(C={}))L.call(C,n)&&M(r,n,C[n]);if(o)for(var n of o(C))Z.call(C,n)&&M(r,n,C[n]);return r},a=(r,C)=>V(r,d(C));var f=(r,C)=>{var n={};for(var l in r)L.call(r,l)&&C.indexOf(l)<0&&(n[l]=r[l]);if(r!=null&&o)for(var l of o(r))C.indexOf(l)<0&&Z.call(r,l)&&(n[l]=r[l]);return n};var m=(r,C)=>{for(var n in C)i(r,n,{get:C[n],enumerable:!0})},I=(r,C,n,l)=>{if(C&&typeof C=="object"||typeof C=="function")for(let e of g(C))!L.call(r,e)&&e!==n&&i(r,e,{get:()=>C[e],enumerable:!(l=w(C,e))||l.enumerable});return r};var v=r=>I(i({},"__esModule",{value:!0}),r);var W={};m(W,{InfoWarning:()=>F});module.exports=v(W);var s=require("@teamsparta/stack-tokens"),h=require("react");var t=require("react/jsx-runtime"),y=({size:r,variant:C})=>{switch(r){case 16:switch(C){case"line":return(0,t.jsx)("path",{d:"M6.97974 2.12915C7.39657 1.3794 8.4347 1.33237 8.92896 1.98853L9.01978 2.12915L14.8372 12.5999C15.2688 13.3774 14.7061 14.3332 13.8167 14.3333H2.18286C1.2934 14.3331 0.731409 13.3774 1.16333 12.5999L6.97974 2.12915ZM2.46606 12.9993H13.5334L7.99927 3.03931L2.46606 12.9993ZM8.00024 11.1145C8.36824 11.1147 8.6662 11.4135 8.66626 11.7815C8.66626 12.1496 8.36827 12.4483 8.00024 12.4485C7.63205 12.4485 7.33325 12.1497 7.33325 11.7815C7.33331 11.4134 7.63209 11.1145 8.00024 11.1145ZM8.58325 10.3567H7.41724V5.41724H8.58325V10.3567Z",fill:"currentColor"});case"fill":return(0,t.jsx)("path",{d:"M7.00562 1.93848C7.49989 1.28254 8.50052 1.28265 8.99487 1.93848L9.09351 2.08984L14.9099 12.5596C15.3723 13.3926 14.7699 14.4168 13.8171 14.417H2.18335C1.23038 14.4169 0.62788 13.3927 1.09058 12.5596L6.90796 2.08984L7.00562 1.93848ZM7.99976 11.6143C7.67789 11.6146 7.41675 11.8763 7.41675 12.1982C7.41699 12.52 7.67804 12.7809 7.99976 12.7812C8.32177 12.7812 8.5835 12.5202 8.58374 12.1982C8.58374 11.8761 8.32192 11.6143 7.99976 11.6143ZM7.49976 6V10.7734H8.49976V6H7.49976Z",fill:"currentColor"})}case 20:switch(C){case"line":return(0,t.jsx)("path",{d:"M8.93945 2.30493C9.46676 1.60473 10.5343 1.6046 11.0615 2.30493L11.166 2.46509L18.6494 15.9358C19.1429 16.8243 18.5006 17.9158 17.4844 17.9163H2.5166C1.50004 17.9162 0.85786 16.8245 1.35156 15.9358L8.83496 2.46509L8.93945 2.30493ZM3.08398 16.2502H16.917L10 3.79907L3.08398 16.2502ZM10 13.8928C10.4602 13.8928 10.833 14.2666 10.833 14.7268C10.8329 15.1869 10.4602 15.5598 10 15.5598C9.53991 15.5597 9.16711 15.1869 9.16699 14.7268C9.16699 14.2666 9.53983 13.8929 10 13.8928ZM10.7295 12.9465H9.27051V6.77075H10.7295V12.9465Z",fill:"currentColor"});case"fill":return(0,t.jsx)("path",{d:"M8.90601 2.27856C9.48842 1.50576 10.7104 1.56089 11.2019 2.4436L18.6853 15.9143C19.1944 16.8306 18.5323 17.9569 17.4841 17.9573H2.51636C1.46825 17.9569 0.805141 16.8306 1.31421 15.9143L8.79858 2.4436L8.90601 2.27856ZM10.0007 14.2688C9.59816 14.2688 9.27146 14.5948 9.27124 14.9973C9.2714 15.3999 9.59812 15.7268 10.0007 15.7268C10.4031 15.7266 10.7291 15.3997 10.7292 14.9973C10.729 14.5949 10.4031 14.2691 10.0007 14.2688ZM9.37573 7.25024L9.37476 13.217H10.6248L10.6257 7.25024H9.37573Z",fill:"currentColor"})}case 24:switch(C){case"line":return(0,t.jsx)("path",{d:"M10.688 2.80103C11.2238 1.83668 12.5584 1.77642 13.1938 2.62036L13.311 2.80103L22.4614 19.2717C23.0167 20.2715 22.2935 21.5001 21.1499 21.5002H2.84912C1.70586 21.4999 0.982712 20.2713 1.5376 19.2717L10.688 2.80103ZM3.69971 19.5002H20.2993L11.9995 4.55981L3.69971 19.5002ZM11.9995 16.6721C12.5518 16.6721 12.9995 17.1198 12.9995 17.6721C12.9994 18.2243 12.5517 18.6721 11.9995 18.6721C11.4475 18.6719 10.9996 18.2242 10.9995 17.6721C10.9995 17.1199 11.4474 16.6723 11.9995 16.6721ZM12.8745 15.5354H11.1245V8.12524H12.8745V15.5354Z",fill:"currentColor"});case"fill":return(0,t.jsx)("path",{d:"M10.688 2.80127C11.2238 1.83693 12.5584 1.77667 13.1938 2.62061L13.311 2.80127L22.4614 19.272C23.0166 20.2717 22.2934 21.5004 21.1499 21.5005H2.84912C1.70623 21.4999 0.983179 20.2714 1.5376 19.272L10.688 2.80127ZM12.0005 16.9224C11.5172 16.9224 11.1255 17.3141 11.1255 17.7974C11.1257 18.2804 11.5174 18.6724 12.0005 18.6724C12.4834 18.6721 12.8752 18.2802 12.8755 17.7974C12.8755 17.3143 12.4835 16.9226 12.0005 16.9224ZM11.2505 8.50049V15.6606H12.7505V8.50049H11.2505Z",fill:"currentColor"})}}},F=(0,h.forwardRef)(function(x,p){var H=x,{size:C,variant:n,style:l,color:e=s.vars.neutral[90]}=H,u=f(H,["size","variant","style","color"]);return(0,t.jsx)("svg",a(c({width:C,height:C,viewBox:`0 0 ${C} ${C}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:p,style:c({color:e},l)},u),{children:(0,t.jsx)(y,{size:C,variant:n})}))});0&&(module.exports={InfoWarning});