UNPKG

sate-lib

Version:

A lightweight and modular React component library designed for modern web interfaces. **SATE Lib** powers the [sate.menu](https://sate.menu) platform with reusable, scalable, and themeable UI components.

1 lines 3.66 kB
import{jsx as l,jsxs as i}from"react/jsx-runtime";import{forwardRef as h}from"react";function e({className:h="",size:e=40,color:r="currentColor",title:t="SATE",...d}){let o=d.id?`${d.id}-title`:void 0;return i("svg",{"aria-hidden":!t||void 0,"aria-labelledby":t?o:void 0,className:h,fill:r,height:.5*e,role:"img",viewBox:"0 0 40 20",width:e,xmlns:"http://www.w3.org/2000/svg",...d,children:[t&&l("title",{id:o,children:t}),l("path",{d:"M5.28 4c1.14 0 2.82.22 3.74.64l-.6 2.96c-.66-.4-2.12-.68-3.06-.68-1 0-1.52.18-1.52.7 0 1.36 5.68.42 5.68 4.7 0 2.44-1.86 3.96-5.14 3.96-1.5 0-2.92-.28-3.78-.7l.24-3.1c.74.48 2.32.88 3.64.88 1.1 0 1.64-.16 1.64-.74 0-1.44-5.68-.48-5.68-4.7C.44 5.56 2.32 4 5.28 4Zm16.797 12.08h-3.56l-.78-2.5h-3.66l-.78 2.5h-3.4l4.14-11.88h3.899l4.14 11.88Zm7.925-8.88h-3.06v8.88h-3.32V7.2h-3.18v-3h9.8l-.24 3Zm9.217-.04H34.5v1.5h3.84v2.88H34.5v1.58h5.061v2.96h-8.38V4.2h8.28l-.24 2.96Zm-23.362.4c-.1.52-.22 1-.4 1.56l-.58 1.84h2.04l-.56-1.84a12.8 12.8 0 0 1-.4-1.56h-.1Z"})]})}function r({className:h="",size:e=32,color:r,title:t="SATE",...d}){let o=d.id?`${d.id}-title`:void 0;return i("svg",{"aria-hidden":!t||void 0,"aria-labelledby":t?o:void 0,className:h,height:e,role:"img",viewBox:"0 0 32 32",width:e,xmlns:"http://www.w3.org/2000/svg",...d,children:[t&&l("title",{id:o,children:t}),i("g",{clipPath:"url(#a)",children:[l("path",{d:"M0 0h32v32H0z",fill:"#202020"}),l("path",{d:"M13.587 20.106h-3.012v8.743H7.307v-8.743h-3.13v-2.952h9.646l-.236 2.952Zm13.203-.039h-4.646v1.477h3.78v2.835h-3.78v1.556h4.981v2.914h-8.249V17.154h8.15l-.236 2.913ZM9.354 2.957c1.123 0 2.777.216 3.682.63l-.59 2.913c-.65-.394-2.087-.669-3.012-.669-.984 0-1.496.177-1.496.689 0 1.338 5.59.413 5.59 4.627 0 2.401-1.83 3.898-5.06 3.898-1.476 0-2.873-.276-3.72-.69l.236-3.051c.729.472 2.284.866 3.583.866 1.083 0 1.615-.158 1.615-.729-.002-1.416-5.591-.472-5.591-4.626 0-2.323 1.85-3.858 4.763-3.858Zm19.641 11.892H25.49l-.767-2.461H21.12l-.768 2.46h-3.347L21.08 3.155h3.84l4.075 11.695ZM22.872 6.46c-.098.512-.216.985-.393 1.536l-.572 1.812h2.008l-.55-1.812a12.596 12.596 0 0 1-.394-1.536h-.099Z",fill:"#FDFDF9"})]}),l("defs",{children:l("clipPath",{id:"a",children:l("rect",{fill:"#fff",height:"32",rx:"6",width:"32"})})})]})}function t({className:h="",size:e=32,color:r,title:t="SATE",...d}){let o=d.id?`${d.id}-title`:void 0;return i("svg",{"aria-hidden":!t||void 0,"aria-labelledby":t?o:void 0,className:h,height:e,role:"img",viewBox:"0 0 32 32",width:e,xmlns:"http://www.w3.org/2000/svg",...d,children:[t&&l("title",{id:o,children:t}),l("rect",{fill:"#FDFDF9",height:"32",rx:"6",width:"32"}),l("path",{d:"M13.587 20.106h-3.012v8.743H7.307v-8.743h-3.13v-2.952h9.646l-.236 2.952Zm13.203-.039h-4.646v1.477h3.78v2.835h-3.78v1.556h4.981v2.914h-8.249V17.154h8.15l-.236 2.913ZM9.354 2.957c1.123-.001 2.777.216 3.682.63l-.59 2.913c-.65-.394-2.087-.669-3.012-.669-.984 0-1.496.177-1.496.689 0 1.338 5.59.413 5.59 4.627 0 2.401-1.83 3.898-5.06 3.898-1.476 0-2.873-.276-3.72-.69l.236-3.051c.729.472 2.284.866 3.583.866 1.083 0 1.615-.158 1.615-.729-.002-1.416-5.591-.472-5.591-4.626 0-2.323 1.85-3.859 4.763-3.859Zm19.641 11.892H25.49l-.767-2.461H21.12l-.768 2.46h-3.347L21.08 3.155h3.84l4.075 11.695ZM22.872 6.46c-.098.512-.216.985-.393 1.536l-.572 1.812h2.008l-.55-1.812a12.596 12.596 0 0 1-.394-1.536h-.099Z",fill:"#202020"})]})}let d=h(function({size:i=40,color:h="currentColor",variant:d="wordmark",...o},a){return"tileLight"===d?l(t,{ref:a,size:i,...o}):"tileDark"===d?l(r,{ref:a,size:i,...o}):l(e,{color:"dark"===h?"#202020":"light"===h?"#ffffff":"currentColor",ref:a,size:i,...o})});export{d as Logo,r as LogoTileDark,t as LogoTileLight,e as LogoWordMark};