@vendure-io/brand 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,33 @@
1
+ # @vendure-io/brand
2
+
3
+ Vendure brand React components: the Vendure logo and icon marks, rendered as `currentColor` SVGs.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @vendure-io/brand
9
+ ```
10
+
11
+ `react` (>=18) is a peer dependency.
12
+
13
+ ## Usage
14
+
15
+ ```tsx
16
+ import { IconMark, LogoMark } from '@vendure-io/brand'
17
+
18
+ export function Header() {
19
+ return (
20
+ <header>
21
+ <LogoMark className="h-8 text-black" />
22
+ <IconMark width={40} />
23
+ </header>
24
+ )
25
+ }
26
+ ```
27
+
28
+ Both components forward all native `<svg>` props (`className`, `width`, `style`, `aria-*`, …) and render with `fill="currentColor"`, so they inherit the surrounding text color.
29
+
30
+ | Component | viewBox | Description |
31
+ | ---------- | ------------ | ------------------------ |
32
+ | `LogoMark` | `0 0 177 33` | Full "vendure" wordmark |
33
+ | `IconMark` | `0 0 40 28` | Standalone Vendure glyph |
package/dist/index.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("react/jsx-runtime");function r(l){return C.jsxs("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 28",...l,children:[C.jsx("path",{d:"M10.746 12.685v9.263c0 .166.093.323.237.405l8.407 4.762c.302.17.671.17.973 0l8.407-4.762a.466.466 0 0 0 .237-.405v-9.263a.476.476 0 0 0-.714-.404l-7.93 4.49a.996.996 0 0 1-.973 0l-7.93-4.49a.476.476 0 0 0-.714.404Z",fill:"currentColor"}),C.jsx("path",{d:"M8.893.75.486 5.51A.948.948 0 0 0 0 6.333v9.522c0 .167.092.324.237.405l8.176 4.633a.476.476 0 0 0 .714-.405v-8.982c0-.34.185-.655.487-.824l7.93-4.491a.463.463 0 0 0 0-.81L9.366.75a.48.48 0 0 0-.477 0h.003ZM30.86.74l8.407 4.76c.301.17.486.487.486.825v9.522a.47.47 0 0 1-.237.405l-8.176 4.633a.476.476 0 0 1-.714-.405v-8.982a.945.945 0 0 0-.486-.824l-7.93-4.491a.463.463 0 0 1 0-.81L30.386.742a.48.48 0 0 1 .477 0h-.003Z",fill:"currentColor"})]})}function o(l){return C.jsxs("svg",{viewBox:"0 0 177 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",...l,children:[C.jsx("path",{d:"M65.1921 9.73018C65.059 9.54134 64.8371 9.4229 64.5994 9.4229H62.0956C61.7913 9.4229 61.5124 9.62136 61.411 9.90943L57.1481 22.3476L52.8187 9.90302C52.7204 9.61495 52.4478 9.4165 52.1341 9.4165H49.5573C49.3196 9.4165 49.1041 9.53173 48.9646 9.72378C48.8315 9.91262 48.7998 10.1623 48.8727 10.3863L55.0119 27.4625C55.1102 27.7505 55.3827 27.9426 55.687 27.9426H58.4127C58.717 27.9426 58.9895 27.7537 59.0878 27.4625L65.2618 10.3863C65.3442 10.1623 65.3125 9.91582 65.1699 9.72378L65.1858 9.73338L65.1921 9.73018Z",fill:"currentColor"}),C.jsx("path",{d:"M83.0042 19.2624C83.0296 18.9904 83.0454 18.6159 83.0454 18.1294C83.0454 16.4105 82.6588 14.8294 81.9013 13.4242C81.1438 12.0191 80.0725 10.886 78.7414 10.0666C77.4007 9.24721 75.8762 8.82471 74.2313 8.82471C72.4849 8.82471 70.897 9.25361 69.5151 10.0986C68.1333 10.9436 67.0462 12.1343 66.2728 13.6291C65.5058 15.1078 65.1191 16.8042 65.1191 18.6639C65.1191 20.5235 65.5153 22.2199 66.2887 23.7083C67.0715 25.2063 68.1745 26.397 69.5659 27.2388C70.9572 28.0838 72.561 28.5127 74.3327 28.5127C76.2343 28.5127 77.9141 28.1254 79.3277 27.3476C80.7349 26.5698 81.8886 25.4879 82.7507 24.1308C82.9567 23.8011 82.8648 23.3626 82.5447 23.1386L80.586 21.8231C80.4211 21.7142 80.2246 21.6726 80.025 21.7142C79.8348 21.7558 79.6637 21.8807 79.5654 22.0439C79.0551 22.9049 78.3642 23.5835 77.5243 24.07C76.6844 24.5501 75.5909 24.7966 74.2661 24.7966C72.6846 24.7966 71.477 24.2749 70.5706 23.193C69.7814 22.2488 69.2933 21.1669 69.1063 19.893H82.2911C82.6619 19.893 82.9757 19.6113 83.0074 19.24V19.256L83.0042 19.2624ZM69.3567 16.4265C69.6514 15.4183 70.1554 14.5669 70.8621 13.8467C71.7337 12.9697 72.8304 12.5408 74.2217 12.5408C75.6131 12.5408 76.7668 12.9121 77.5813 13.6739C78.2469 14.3012 78.7255 15.2295 78.9886 16.4201H69.3503L69.3598 16.4298L69.3567 16.4265Z",fill:"currentColor"}),C.jsx("path",{d:"M100.347 12.054C99.6818 10.9946 98.7754 10.1784 97.6566 9.63103C96.5631 9.10291 95.3429 8.82764 94.0593 8.82764C92.6679 8.82764 91.4255 9.16692 90.3542 9.82948C89.9168 10.1015 89.5143 10.4248 89.153 10.7897V10.1368C89.153 9.73986 88.8329 9.41018 88.4272 9.41018H85.9582C85.562 9.41018 85.2324 9.73345 85.2324 10.1368V27.2129C85.2324 27.6098 85.5525 27.9395 85.9582 27.9395H88.4272C88.8234 27.9395 89.153 27.6162 89.153 27.2129V18.67C89.153 16.7432 89.5492 15.1972 90.3289 14.0897C91.061 13.0463 92.1576 12.5341 93.6631 12.5341C96.2494 12.5341 97.4506 13.9137 97.4506 16.884V27.2129C97.4506 27.6098 97.7707 27.9395 98.1764 27.9395H100.645C101.042 27.9395 101.371 27.6162 101.371 27.2129V15.7925C101.371 14.3714 101.035 13.1135 100.376 12.054H100.351H100.347Z",fill:"currentColor"}),C.jsx("path",{d:"M121.243 0.0032039H118.784C118.388 0.0032039 118.058 0.326482 118.058 0.73298V10.8154C117.589 10.3993 117.069 10.0376 116.518 9.74636C115.393 9.14462 114.131 8.84695 112.791 8.84695C111.047 8.84695 109.46 9.27585 108.074 10.1177C106.693 10.9627 105.605 12.1437 104.835 13.6321C104.068 15.1045 103.682 16.7913 103.682 18.6605C103.682 20.5298 104.075 22.255 104.851 23.7369C105.634 25.2317 106.737 26.4256 108.128 27.2706C109.517 28.1124 111.108 28.5413 112.863 28.5413C114.188 28.5413 115.431 28.2372 116.543 27.6291C117.088 27.3346 117.595 26.9857 118.058 26.5728V27.2258C118.058 27.6227 118.381 27.9524 118.784 27.9524H121.253C121.649 27.9524 121.979 27.6291 121.979 27.2258V0.729776C121.979 0.33288 121.659 0 121.253 0L121.243 0.0032039ZM118.058 18.6765C118.058 19.8768 117.827 20.9619 117.367 21.9029C116.914 22.8375 116.305 23.5417 115.497 24.0538C114.699 24.566 113.811 24.8156 112.784 24.8156C111.757 24.8156 110.908 24.5692 110.125 24.0538C109.333 23.5417 108.724 22.8279 108.271 21.8965C107.808 20.9523 107.58 19.8608 107.58 18.6349C107.58 17.409 107.811 16.3624 108.271 15.4373C108.724 14.5123 109.333 13.8145 110.125 13.296C110.905 12.7839 111.78 12.5342 112.784 12.5342C113.789 12.5342 114.702 12.7807 115.497 13.296C116.286 13.7985 116.914 14.5251 117.367 15.4469C117.83 16.388 118.058 17.473 118.058 18.6733V18.6797V18.6765Z",fill:"currentColor"}),C.jsx("path",{d:"M140.761 9.41341H138.292C137.896 9.41341 137.566 9.73669 137.566 10.14V18.6733C137.566 20.6001 137.17 22.1461 136.39 23.2536C135.658 24.297 134.561 24.8091 133.056 24.8091C130.473 24.8091 129.268 23.4296 129.268 20.4593V10.1304C129.268 9.73349 128.948 9.40381 128.543 9.40381H126.074C125.677 9.40381 125.348 9.72709 125.348 10.1304V21.5508C125.348 22.9719 125.684 24.2298 126.343 25.2893C127.009 26.3487 127.915 27.1681 129.034 27.7122C130.137 28.2404 131.348 28.5156 132.631 28.5156C134.023 28.5156 135.265 28.1764 136.336 27.5138C136.774 27.2417 137.176 26.9281 137.547 26.5536V27.2065C137.547 27.6034 137.867 27.9331 138.273 27.9331H140.742C141.138 27.9331 141.468 27.6098 141.468 27.2065V10.14C141.468 9.7431 141.147 9.41341 140.742 9.41341H140.758H140.761Z",fill:"currentColor"}),C.jsx("path",{d:"M155.578 9.12547C154.976 8.93662 154.342 8.8374 153.692 8.8374C152.285 8.8374 151.007 9.2343 149.882 10.0281C149.397 10.3674 148.944 10.7739 148.523 11.2444V10.1529C148.523 9.75602 148.203 9.42634 147.797 9.42634H145.328C144.932 9.42634 144.602 9.74962 144.602 10.1529V27.2291C144.602 27.6259 144.922 27.9556 145.328 27.9556H147.797C148.193 27.9556 148.523 27.6323 148.523 27.2291V19.0575C148.523 17.6683 148.77 16.4616 149.264 15.4534C149.749 14.4708 150.393 13.7154 151.175 13.2033C151.958 12.6911 152.779 12.4415 153.686 12.4415C154.186 12.4415 154.633 12.5407 155.045 12.7391C155.267 12.848 155.53 12.8288 155.736 12.6975C155.942 12.5663 156.072 12.3326 156.072 12.0862V9.82004C156.072 9.50637 155.866 9.22469 155.571 9.13507L155.581 9.12547H155.578Z",fill:"currentColor"}),C.jsx("path",{d:"M173.399 19.2621C173.425 18.99 173.441 18.6252 173.441 18.129C173.441 16.4102 173.054 14.8226 172.306 13.4239C171.549 12.0188 170.477 10.8857 169.146 10.0663C167.805 9.24689 166.281 8.83398 164.636 8.83398C162.89 8.83398 161.302 9.26289 159.92 10.1079C158.538 10.9529 157.451 12.1436 156.678 13.6384C155.914 15.1171 155.524 16.8135 155.524 18.6732C155.524 20.5328 155.92 22.2292 156.693 23.7176C157.476 25.2155 158.579 26.4062 159.977 27.248C161.368 28.093 162.972 28.522 164.744 28.522C166.645 28.522 168.325 28.1347 169.739 27.3569C171.146 26.5791 172.3 25.4972 173.162 24.1401C173.368 23.8104 173.276 23.3719 172.956 23.1479L170.997 21.8323C170.832 21.7235 170.636 21.6819 170.436 21.7235C170.246 21.7651 170.081 21.89 169.977 22.0532C169.466 22.9142 168.775 23.5928 167.926 24.0793C167.086 24.5594 165.993 24.8058 164.668 24.8058C163.086 24.8058 161.879 24.2841 160.972 23.2023C160.183 22.258 159.695 21.1762 159.508 19.9023H172.696C173.067 19.9023 173.38 19.6206 173.412 19.2493L173.403 19.2589L173.399 19.2621ZM159.752 16.4262C160.047 15.418 160.551 14.5666 161.257 13.8464C162.129 12.9694 163.226 12.5405 164.617 12.5405C166.008 12.5405 167.159 12.9118 167.977 13.6736C168.642 14.3009 169.121 15.2291 169.384 16.4198H159.746L159.755 16.4294L159.752 16.4262Z",fill:"currentColor"}),C.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M174.388 4.79799C173.209 4.79799 172.252 5.76462 172.252 6.95531C172.252 8.14599 173.209 9.11263 174.388 9.11263C175.567 9.11263 176.525 8.14599 176.525 6.95531C176.525 5.76462 175.567 4.79799 174.388 4.79799ZM171.777 6.95531C171.777 5.49895 172.946 4.31787 174.388 4.31787C175.83 4.31787 177 5.49895 177 6.95531C177 8.41166 175.83 9.59274 174.388 9.59274C172.946 9.59274 171.777 8.41166 171.777 6.95531Z",fill:"currentColor"}),C.jsx("path",{d:"M174.243 6.73772C174.388 6.73772 174.496 6.70891 174.563 6.65129C174.626 6.59688 174.661 6.50406 174.661 6.37603C174.661 6.248 174.626 6.15838 174.563 6.10396C174.499 6.04955 174.392 6.02395 174.243 6.02395H173.942V6.74093H174.243V6.73772ZM173.945 7.23384V8.2901H173.232V5.49902H174.319C174.683 5.49902 174.949 5.55983 175.117 5.68466C175.289 5.80629 175.371 6.00155 175.371 6.27041C175.371 6.45606 175.327 6.60649 175.241 6.72492C175.152 6.84014 175.022 6.92976 174.842 6.98418C174.94 7.00978 175.025 7.061 175.105 7.13782C175.184 7.21784 175.26 7.33627 175.339 7.49951L175.729 8.2901H174.972L174.632 7.59553C174.566 7.45789 174.496 7.35867 174.426 7.31066C174.357 7.25945 174.262 7.23064 174.148 7.23064H173.948L173.945 7.23384Z",fill:"currentColor"}),C.jsx("path",{d:"M11.0645 17.5727V27.3895C11.0645 27.5655 11.1595 27.732 11.3085 27.8184L19.9642 32.866C20.2748 33.0453 20.6551 33.0453 20.9658 32.866L29.6215 27.8184C29.7736 27.7288 29.8655 27.5655 29.8655 27.3895V17.5727C29.8655 17.1918 29.4567 16.9518 29.1302 17.1438L20.9658 21.9034C20.6551 22.0826 20.2748 22.0826 19.9642 21.9034L11.7998 17.1438C11.4733 16.9518 11.0645 17.1918 11.0645 17.5727Z",fill:"currentColor"}),C.jsx("path",{d:"M9.15648 4.92317L0.50077 9.9676C0.190166 10.1468 0 10.4829 0 10.8414V20.9335C0 21.1095 0.0950829 21.2759 0.244046 21.3624L8.66205 26.2723C8.9885 26.4644 9.39736 26.2243 9.39736 25.8434V16.3243C9.39736 15.9626 9.58753 15.6298 9.89813 15.4505L18.0626 10.691C18.389 10.4989 18.389 10.022 18.0626 9.83316L9.64458 4.92317C9.49244 4.83355 9.30545 4.83355 9.15331 4.92317H9.15648Z",fill:"currentColor"}),C.jsx("path",{d:"M31.7735 4.91341L40.4292 9.95783C40.7398 10.1371 40.93 10.4732 40.93 10.8316V20.9237C40.93 21.0997 40.8349 21.2662 40.6859 21.3526L32.2679 26.2626C31.9415 26.4546 31.5326 26.2146 31.5326 25.8337V16.3146C31.5326 15.9529 31.3425 15.62 31.0318 15.4408L22.8674 10.6812C22.5409 10.4892 22.5409 10.0122 22.8674 9.8234L31.2854 4.91341C31.4375 4.82379 31.6245 4.82379 31.7767 4.91341H31.7735Z",fill:"currentColor"})]})}exports.IconMark=r;exports.LogoMark=o;
@@ -0,0 +1,3 @@
1
+ export * from './lib/icon-mark';
2
+ export * from './lib/logo-mark';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA"}
package/dist/index.js ADDED
@@ -0,0 +1,131 @@
1
+ import { jsxs as r, jsx as C } from "react/jsx-runtime";
2
+ function t(l) {
3
+ return /* @__PURE__ */ r(
4
+ "svg",
5
+ {
6
+ fill: "none",
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ viewBox: "0 0 40 28",
9
+ ...l,
10
+ children: [
11
+ /* @__PURE__ */ C(
12
+ "path",
13
+ {
14
+ d: "M10.746 12.685v9.263c0 .166.093.323.237.405l8.407 4.762c.302.17.671.17.973 0l8.407-4.762a.466.466 0 0 0 .237-.405v-9.263a.476.476 0 0 0-.714-.404l-7.93 4.49a.996.996 0 0 1-.973 0l-7.93-4.49a.476.476 0 0 0-.714.404Z",
15
+ fill: "currentColor"
16
+ }
17
+ ),
18
+ /* @__PURE__ */ C(
19
+ "path",
20
+ {
21
+ d: "M8.893.75.486 5.51A.948.948 0 0 0 0 6.333v9.522c0 .167.092.324.237.405l8.176 4.633a.476.476 0 0 0 .714-.405v-8.982c0-.34.185-.655.487-.824l7.93-4.491a.463.463 0 0 0 0-.81L9.366.75a.48.48 0 0 0-.477 0h.003ZM30.86.74l8.407 4.76c.301.17.486.487.486.825v9.522a.47.47 0 0 1-.237.405l-8.176 4.633a.476.476 0 0 1-.714-.405v-8.982a.945.945 0 0 0-.486-.824l-7.93-4.491a.463.463 0 0 1 0-.81L30.386.742a.48.48 0 0 1 .477 0h-.003Z",
22
+ fill: "currentColor"
23
+ }
24
+ )
25
+ ]
26
+ }
27
+ );
28
+ }
29
+ function L(l) {
30
+ return /* @__PURE__ */ r(
31
+ "svg",
32
+ {
33
+ viewBox: "0 0 177 33",
34
+ fill: "none",
35
+ xmlns: "http://www.w3.org/2000/svg",
36
+ ...l,
37
+ children: [
38
+ /* @__PURE__ */ C(
39
+ "path",
40
+ {
41
+ d: "M65.1921 9.73018C65.059 9.54134 64.8371 9.4229 64.5994 9.4229H62.0956C61.7913 9.4229 61.5124 9.62136 61.411 9.90943L57.1481 22.3476L52.8187 9.90302C52.7204 9.61495 52.4478 9.4165 52.1341 9.4165H49.5573C49.3196 9.4165 49.1041 9.53173 48.9646 9.72378C48.8315 9.91262 48.7998 10.1623 48.8727 10.3863L55.0119 27.4625C55.1102 27.7505 55.3827 27.9426 55.687 27.9426H58.4127C58.717 27.9426 58.9895 27.7537 59.0878 27.4625L65.2618 10.3863C65.3442 10.1623 65.3125 9.91582 65.1699 9.72378L65.1858 9.73338L65.1921 9.73018Z",
42
+ fill: "currentColor"
43
+ }
44
+ ),
45
+ /* @__PURE__ */ C(
46
+ "path",
47
+ {
48
+ d: "M83.0042 19.2624C83.0296 18.9904 83.0454 18.6159 83.0454 18.1294C83.0454 16.4105 82.6588 14.8294 81.9013 13.4242C81.1438 12.0191 80.0725 10.886 78.7414 10.0666C77.4007 9.24721 75.8762 8.82471 74.2313 8.82471C72.4849 8.82471 70.897 9.25361 69.5151 10.0986C68.1333 10.9436 67.0462 12.1343 66.2728 13.6291C65.5058 15.1078 65.1191 16.8042 65.1191 18.6639C65.1191 20.5235 65.5153 22.2199 66.2887 23.7083C67.0715 25.2063 68.1745 26.397 69.5659 27.2388C70.9572 28.0838 72.561 28.5127 74.3327 28.5127C76.2343 28.5127 77.9141 28.1254 79.3277 27.3476C80.7349 26.5698 81.8886 25.4879 82.7507 24.1308C82.9567 23.8011 82.8648 23.3626 82.5447 23.1386L80.586 21.8231C80.4211 21.7142 80.2246 21.6726 80.025 21.7142C79.8348 21.7558 79.6637 21.8807 79.5654 22.0439C79.0551 22.9049 78.3642 23.5835 77.5243 24.07C76.6844 24.5501 75.5909 24.7966 74.2661 24.7966C72.6846 24.7966 71.477 24.2749 70.5706 23.193C69.7814 22.2488 69.2933 21.1669 69.1063 19.893H82.2911C82.6619 19.893 82.9757 19.6113 83.0074 19.24V19.256L83.0042 19.2624ZM69.3567 16.4265C69.6514 15.4183 70.1554 14.5669 70.8621 13.8467C71.7337 12.9697 72.8304 12.5408 74.2217 12.5408C75.6131 12.5408 76.7668 12.9121 77.5813 13.6739C78.2469 14.3012 78.7255 15.2295 78.9886 16.4201H69.3503L69.3598 16.4298L69.3567 16.4265Z",
49
+ fill: "currentColor"
50
+ }
51
+ ),
52
+ /* @__PURE__ */ C(
53
+ "path",
54
+ {
55
+ d: "M100.347 12.054C99.6818 10.9946 98.7754 10.1784 97.6566 9.63103C96.5631 9.10291 95.3429 8.82764 94.0593 8.82764C92.6679 8.82764 91.4255 9.16692 90.3542 9.82948C89.9168 10.1015 89.5143 10.4248 89.153 10.7897V10.1368C89.153 9.73986 88.8329 9.41018 88.4272 9.41018H85.9582C85.562 9.41018 85.2324 9.73345 85.2324 10.1368V27.2129C85.2324 27.6098 85.5525 27.9395 85.9582 27.9395H88.4272C88.8234 27.9395 89.153 27.6162 89.153 27.2129V18.67C89.153 16.7432 89.5492 15.1972 90.3289 14.0897C91.061 13.0463 92.1576 12.5341 93.6631 12.5341C96.2494 12.5341 97.4506 13.9137 97.4506 16.884V27.2129C97.4506 27.6098 97.7707 27.9395 98.1764 27.9395H100.645C101.042 27.9395 101.371 27.6162 101.371 27.2129V15.7925C101.371 14.3714 101.035 13.1135 100.376 12.054H100.351H100.347Z",
56
+ fill: "currentColor"
57
+ }
58
+ ),
59
+ /* @__PURE__ */ C(
60
+ "path",
61
+ {
62
+ d: "M121.243 0.0032039H118.784C118.388 0.0032039 118.058 0.326482 118.058 0.73298V10.8154C117.589 10.3993 117.069 10.0376 116.518 9.74636C115.393 9.14462 114.131 8.84695 112.791 8.84695C111.047 8.84695 109.46 9.27585 108.074 10.1177C106.693 10.9627 105.605 12.1437 104.835 13.6321C104.068 15.1045 103.682 16.7913 103.682 18.6605C103.682 20.5298 104.075 22.255 104.851 23.7369C105.634 25.2317 106.737 26.4256 108.128 27.2706C109.517 28.1124 111.108 28.5413 112.863 28.5413C114.188 28.5413 115.431 28.2372 116.543 27.6291C117.088 27.3346 117.595 26.9857 118.058 26.5728V27.2258C118.058 27.6227 118.381 27.9524 118.784 27.9524H121.253C121.649 27.9524 121.979 27.6291 121.979 27.2258V0.729776C121.979 0.33288 121.659 0 121.253 0L121.243 0.0032039ZM118.058 18.6765C118.058 19.8768 117.827 20.9619 117.367 21.9029C116.914 22.8375 116.305 23.5417 115.497 24.0538C114.699 24.566 113.811 24.8156 112.784 24.8156C111.757 24.8156 110.908 24.5692 110.125 24.0538C109.333 23.5417 108.724 22.8279 108.271 21.8965C107.808 20.9523 107.58 19.8608 107.58 18.6349C107.58 17.409 107.811 16.3624 108.271 15.4373C108.724 14.5123 109.333 13.8145 110.125 13.296C110.905 12.7839 111.78 12.5342 112.784 12.5342C113.789 12.5342 114.702 12.7807 115.497 13.296C116.286 13.7985 116.914 14.5251 117.367 15.4469C117.83 16.388 118.058 17.473 118.058 18.6733V18.6797V18.6765Z",
63
+ fill: "currentColor"
64
+ }
65
+ ),
66
+ /* @__PURE__ */ C(
67
+ "path",
68
+ {
69
+ d: "M140.761 9.41341H138.292C137.896 9.41341 137.566 9.73669 137.566 10.14V18.6733C137.566 20.6001 137.17 22.1461 136.39 23.2536C135.658 24.297 134.561 24.8091 133.056 24.8091C130.473 24.8091 129.268 23.4296 129.268 20.4593V10.1304C129.268 9.73349 128.948 9.40381 128.543 9.40381H126.074C125.677 9.40381 125.348 9.72709 125.348 10.1304V21.5508C125.348 22.9719 125.684 24.2298 126.343 25.2893C127.009 26.3487 127.915 27.1681 129.034 27.7122C130.137 28.2404 131.348 28.5156 132.631 28.5156C134.023 28.5156 135.265 28.1764 136.336 27.5138C136.774 27.2417 137.176 26.9281 137.547 26.5536V27.2065C137.547 27.6034 137.867 27.9331 138.273 27.9331H140.742C141.138 27.9331 141.468 27.6098 141.468 27.2065V10.14C141.468 9.7431 141.147 9.41341 140.742 9.41341H140.758H140.761Z",
70
+ fill: "currentColor"
71
+ }
72
+ ),
73
+ /* @__PURE__ */ C(
74
+ "path",
75
+ {
76
+ d: "M155.578 9.12547C154.976 8.93662 154.342 8.8374 153.692 8.8374C152.285 8.8374 151.007 9.2343 149.882 10.0281C149.397 10.3674 148.944 10.7739 148.523 11.2444V10.1529C148.523 9.75602 148.203 9.42634 147.797 9.42634H145.328C144.932 9.42634 144.602 9.74962 144.602 10.1529V27.2291C144.602 27.6259 144.922 27.9556 145.328 27.9556H147.797C148.193 27.9556 148.523 27.6323 148.523 27.2291V19.0575C148.523 17.6683 148.77 16.4616 149.264 15.4534C149.749 14.4708 150.393 13.7154 151.175 13.2033C151.958 12.6911 152.779 12.4415 153.686 12.4415C154.186 12.4415 154.633 12.5407 155.045 12.7391C155.267 12.848 155.53 12.8288 155.736 12.6975C155.942 12.5663 156.072 12.3326 156.072 12.0862V9.82004C156.072 9.50637 155.866 9.22469 155.571 9.13507L155.581 9.12547H155.578Z",
77
+ fill: "currentColor"
78
+ }
79
+ ),
80
+ /* @__PURE__ */ C(
81
+ "path",
82
+ {
83
+ d: "M173.399 19.2621C173.425 18.99 173.441 18.6252 173.441 18.129C173.441 16.4102 173.054 14.8226 172.306 13.4239C171.549 12.0188 170.477 10.8857 169.146 10.0663C167.805 9.24689 166.281 8.83398 164.636 8.83398C162.89 8.83398 161.302 9.26289 159.92 10.1079C158.538 10.9529 157.451 12.1436 156.678 13.6384C155.914 15.1171 155.524 16.8135 155.524 18.6732C155.524 20.5328 155.92 22.2292 156.693 23.7176C157.476 25.2155 158.579 26.4062 159.977 27.248C161.368 28.093 162.972 28.522 164.744 28.522C166.645 28.522 168.325 28.1347 169.739 27.3569C171.146 26.5791 172.3 25.4972 173.162 24.1401C173.368 23.8104 173.276 23.3719 172.956 23.1479L170.997 21.8323C170.832 21.7235 170.636 21.6819 170.436 21.7235C170.246 21.7651 170.081 21.89 169.977 22.0532C169.466 22.9142 168.775 23.5928 167.926 24.0793C167.086 24.5594 165.993 24.8058 164.668 24.8058C163.086 24.8058 161.879 24.2841 160.972 23.2023C160.183 22.258 159.695 21.1762 159.508 19.9023H172.696C173.067 19.9023 173.38 19.6206 173.412 19.2493L173.403 19.2589L173.399 19.2621ZM159.752 16.4262C160.047 15.418 160.551 14.5666 161.257 13.8464C162.129 12.9694 163.226 12.5405 164.617 12.5405C166.008 12.5405 167.159 12.9118 167.977 13.6736C168.642 14.3009 169.121 15.2291 169.384 16.4198H159.746L159.755 16.4294L159.752 16.4262Z",
84
+ fill: "currentColor"
85
+ }
86
+ ),
87
+ /* @__PURE__ */ C(
88
+ "path",
89
+ {
90
+ fillRule: "evenodd",
91
+ clipRule: "evenodd",
92
+ d: "M174.388 4.79799C173.209 4.79799 172.252 5.76462 172.252 6.95531C172.252 8.14599 173.209 9.11263 174.388 9.11263C175.567 9.11263 176.525 8.14599 176.525 6.95531C176.525 5.76462 175.567 4.79799 174.388 4.79799ZM171.777 6.95531C171.777 5.49895 172.946 4.31787 174.388 4.31787C175.83 4.31787 177 5.49895 177 6.95531C177 8.41166 175.83 9.59274 174.388 9.59274C172.946 9.59274 171.777 8.41166 171.777 6.95531Z",
93
+ fill: "currentColor"
94
+ }
95
+ ),
96
+ /* @__PURE__ */ C(
97
+ "path",
98
+ {
99
+ d: "M174.243 6.73772C174.388 6.73772 174.496 6.70891 174.563 6.65129C174.626 6.59688 174.661 6.50406 174.661 6.37603C174.661 6.248 174.626 6.15838 174.563 6.10396C174.499 6.04955 174.392 6.02395 174.243 6.02395H173.942V6.74093H174.243V6.73772ZM173.945 7.23384V8.2901H173.232V5.49902H174.319C174.683 5.49902 174.949 5.55983 175.117 5.68466C175.289 5.80629 175.371 6.00155 175.371 6.27041C175.371 6.45606 175.327 6.60649 175.241 6.72492C175.152 6.84014 175.022 6.92976 174.842 6.98418C174.94 7.00978 175.025 7.061 175.105 7.13782C175.184 7.21784 175.26 7.33627 175.339 7.49951L175.729 8.2901H174.972L174.632 7.59553C174.566 7.45789 174.496 7.35867 174.426 7.31066C174.357 7.25945 174.262 7.23064 174.148 7.23064H173.948L173.945 7.23384Z",
100
+ fill: "currentColor"
101
+ }
102
+ ),
103
+ /* @__PURE__ */ C(
104
+ "path",
105
+ {
106
+ d: "M11.0645 17.5727V27.3895C11.0645 27.5655 11.1595 27.732 11.3085 27.8184L19.9642 32.866C20.2748 33.0453 20.6551 33.0453 20.9658 32.866L29.6215 27.8184C29.7736 27.7288 29.8655 27.5655 29.8655 27.3895V17.5727C29.8655 17.1918 29.4567 16.9518 29.1302 17.1438L20.9658 21.9034C20.6551 22.0826 20.2748 22.0826 19.9642 21.9034L11.7998 17.1438C11.4733 16.9518 11.0645 17.1918 11.0645 17.5727Z",
107
+ fill: "currentColor"
108
+ }
109
+ ),
110
+ /* @__PURE__ */ C(
111
+ "path",
112
+ {
113
+ d: "M9.15648 4.92317L0.50077 9.9676C0.190166 10.1468 0 10.4829 0 10.8414V20.9335C0 21.1095 0.0950829 21.2759 0.244046 21.3624L8.66205 26.2723C8.9885 26.4644 9.39736 26.2243 9.39736 25.8434V16.3243C9.39736 15.9626 9.58753 15.6298 9.89813 15.4505L18.0626 10.691C18.389 10.4989 18.389 10.022 18.0626 9.83316L9.64458 4.92317C9.49244 4.83355 9.30545 4.83355 9.15331 4.92317H9.15648Z",
114
+ fill: "currentColor"
115
+ }
116
+ ),
117
+ /* @__PURE__ */ C(
118
+ "path",
119
+ {
120
+ d: "M31.7735 4.91341L40.4292 9.95783C40.7398 10.1371 40.93 10.4732 40.93 10.8316V20.9237C40.93 21.0997 40.8349 21.2662 40.6859 21.3526L32.2679 26.2626C31.9415 26.4546 31.5326 26.2146 31.5326 25.8337V16.3146C31.5326 15.9529 31.3425 15.62 31.0318 15.4408L22.8674 10.6812C22.5409 10.4892 22.5409 10.0122 22.8674 9.8234L31.2854 4.91341C31.4375 4.82379 31.6245 4.82379 31.7767 4.91341H31.7735Z",
121
+ fill: "currentColor"
122
+ }
123
+ )
124
+ ]
125
+ }
126
+ );
127
+ }
128
+ export {
129
+ t as IconMark,
130
+ L as LogoMark
131
+ };
@@ -0,0 +1,3 @@
1
+ import { ComponentProps } from 'react';
2
+ export declare function IconMark(props: ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=icon-mark.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-mark.d.ts","sourceRoot":"","sources":["../../src/lib/icon-mark.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,wBAAgB,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,2CAkBpD"}
@@ -0,0 +1,3 @@
1
+ import { ComponentProps } from 'react';
2
+ export declare function LogoMark(props: ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=logo-mark.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logo-mark.d.ts","sourceRoot":"","sources":["../../src/lib/logo-mark.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,wBAAgB,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,2CA4DpD"}
package/package.json ADDED
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "@vendure-io/brand",
3
+ "version": "1.0.0",
4
+ "description": "Vendure brand React components — logo and icon marks as currentColor SVGs.",
5
+ "private": false,
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "type": "module",
10
+ "sideEffects": false,
11
+ "main": "./dist/index.cjs",
12
+ "module": "./dist/index.js",
13
+ "types": "./dist/index.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "import": {
17
+ "types": "./dist/index.d.ts",
18
+ "default": "./dist/index.js"
19
+ },
20
+ "require": {
21
+ "types": "./dist/index.d.ts",
22
+ "default": "./dist/index.cjs"
23
+ }
24
+ }
25
+ },
26
+ "files": [
27
+ "dist",
28
+ "README.md"
29
+ ],
30
+ "scripts": {
31
+ "build": "vite build",
32
+ "dev": "vite build --watch",
33
+ "lint": "biome check .",
34
+ "check-types": "tsc --noEmit",
35
+ "publish:local": "bun run build && npm publish --registry http://localhost:4873"
36
+ },
37
+ "peerDependencies": {
38
+ "react": ">=18.0.0"
39
+ },
40
+ "devDependencies": {
41
+ "@types/react": "catalog:",
42
+ "vite": "^7.0.0",
43
+ "vite-plugin-dts": "^4.5.4"
44
+ },
45
+ "keywords": [
46
+ "vendure",
47
+ "brand",
48
+ "logo",
49
+ "icon",
50
+ "react",
51
+ "svg"
52
+ ],
53
+ "license": "MIT",
54
+ "repository": {
55
+ "type": "git",
56
+ "url": "https://github.com/vendurehq/vendure-io.git",
57
+ "directory": "libs/brand"
58
+ }
59
+ }