sage-nexus-ui 1.3.5 → 1.3.6

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.
Binary file
@@ -1 +1 @@
1
- var D="data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%20120%20120%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20aria-hidden%3D%22true%22%20focusable%3D%22false%22%3E%20%20%3Cg%20id%3D%22nexus-icon%22%20transform%3D%22translate%2860%2C%2060%29%22%20fill%3D%22%2305D505%22%3E%20%20%20%20%3Ccircle%20cx%3D%220%22%20cy%3D%220%22%20r%3D%2212%22%2F%3E%20%20%20%20%3Cg%20stroke%3D%22%2305D505%22%20stroke-width%3D%224.5%22%3E%20%20%20%20%20%20%3Cg%20transform%3D%22rotate%280%29%22%3E%20%20%20%20%20%20%20%20%3Cline%20x1%3D%2210%22%20y1%3D%220%22%20x2%3D%2236%22%20y2%3D%220%22%20%2F%3E%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%3Cg%20transform%3D%22rotate%2860%29%22%3E%20%20%20%20%20%20%20%20%3Cline%20x1%3D%2210%22%20y1%3D%220%22%20x2%3D%2236%22%20y2%3D%220%22%20%2F%3E%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%3Cg%20transform%3D%22rotate%28120%29%22%3E%20%20%20%20%20%20%20%20%3Cline%20x1%3D%2210%22%20y1%3D%220%22%20x2%3D%2236%22%20y2%3D%220%22%20%2F%3E%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%3Cg%20transform%3D%22rotate%28180%29%22%3E%20%20%20%20%20%20%20%20%3Cline%20x1%3D%2210%22%20y1%3D%220%22%20x2%3D%2236%22%20y2%3D%220%22%20%2F%3E%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%3Cg%20transform%3D%22rotate%28240%29%22%3E%20%20%20%20%20%20%20%20%3Cline%20x1%3D%2210%22%20y1%3D%220%22%20x2%3D%2236%22%20y2%3D%220%22%20%2F%3E%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%3Cg%20transform%3D%22rotate%28300%29%22%3E%20%20%20%20%20%20%20%20%3Cline%20x1%3D%2210%22%20y1%3D%220%22%20x2%3D%2236%22%20y2%3D%220%22%20%2F%3E%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E";export{D as default};
1
+ var D="data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%20120%20120%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20aria-hidden%3D%22true%22%20focusable%3D%22false%22%3E%20%20%3Cg%20id%3D%22nexus-icon%22%20transform%3D%22translate%2860%2C%2060%29%22%20fill%3D%22%2300D639%22%3E%20%20%20%20%3Ccircle%20cx%3D%220%22%20cy%3D%220%22%20r%3D%2212%22%2F%3E%20%20%20%20%3Cg%20stroke%3D%22%2300D639%22%20stroke-width%3D%224.5%22%3E%20%20%20%20%20%20%3Cg%20transform%3D%22rotate%280%29%22%3E%20%20%20%20%20%20%20%20%3Cline%20x1%3D%2210%22%20y1%3D%220%22%20x2%3D%2236%22%20y2%3D%220%22%20%2F%3E%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%3Cg%20transform%3D%22rotate%2860%29%22%3E%20%20%20%20%20%20%20%20%3Cline%20x1%3D%2210%22%20y1%3D%220%22%20x2%3D%2236%22%20y2%3D%220%22%20%2F%3E%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%3Cg%20transform%3D%22rotate%28120%29%22%3E%20%20%20%20%20%20%20%20%3Cline%20x1%3D%2210%22%20y1%3D%220%22%20x2%3D%2236%22%20y2%3D%220%22%20%2F%3E%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%3Cg%20transform%3D%22rotate%28180%29%22%3E%20%20%20%20%20%20%20%20%3Cline%20x1%3D%2210%22%20y1%3D%220%22%20x2%3D%2236%22%20y2%3D%220%22%20%2F%3E%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%3Cg%20transform%3D%22rotate%28240%29%22%3E%20%20%20%20%20%20%20%20%3Cline%20x1%3D%2210%22%20y1%3D%220%22%20x2%3D%2236%22%20y2%3D%220%22%20%2F%3E%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%3Cg%20transform%3D%22rotate%28300%29%22%3E%20%20%20%20%20%20%20%20%3Cline%20x1%3D%2210%22%20y1%3D%220%22%20x2%3D%2236%22%20y2%3D%220%22%20%2F%3E%20%20%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E";export{D as default};
@@ -1 +1 @@
1
- var D="data:image/svg+xml,%3Csvg%20width%3D%22220%22%20height%3D%22200%22%20viewBox%3D%2250%2050%20100%20100%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%20%3Cdefs%3E%20%20%20%20%3CradialGradient%20id%3D%22centerGlow%22%20cx%3D%2235%25%22%20cy%3D%2235%25%22%20r%3D%2265%25%22%3E%20%20%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%2308e808%22%20stop-opacity%3D%221%22%2F%3E%20%20%20%20%20%20%3Cstop%20offset%3D%2280%25%22%20stop-color%3D%22%2305D505%22%20stop-opacity%3D%221%22%2F%3E%20%20%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%2304c004%22%20stop-opacity%3D%221%22%2F%3E%20%20%20%20%3C%2FradialGradient%3E%20%20%20%20%3CradialGradient%20id%3D%22nodeGlow%22%20cx%3D%2235%25%22%20cy%3D%2235%25%22%20r%3D%2265%25%22%3E%20%20%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%2308e808%22%20stop-opacity%3D%221%22%2F%3E%20%20%20%20%20%20%3Cstop%20offset%3D%2280%25%22%20stop-color%3D%22%2305D505%22%20stop-opacity%3D%221%22%2F%3E%20%20%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%2304c004%22%20stop-opacity%3D%221%22%2F%3E%20%20%20%20%3C%2FradialGradient%3E%20%20%20%20%3Cfilter%20id%3D%22glow%22%3E%20%20%20%20%20%20%3CfeGaussianBlur%20stdDeviation%3D%221%22%20result%3D%22coloredBlur%22%2F%3E%20%20%20%20%20%20%3CfeMerge%3E%20%20%20%20%20%20%20%20%3CfeMergeNode%20in%3D%22coloredBlur%22%2F%3E%20%20%20%20%20%20%20%20%3CfeMergeNode%20in%3D%22SourceGraphic%22%2F%3E%20%20%20%20%20%20%3C%2FfeMerge%3E%20%20%20%20%3C%2Ffilter%3E%20%20%3C%2Fdefs%3E%20%20%3Cg%20transform%3D%22translate%28100%2C%20100%29%22%20filter%3D%22url%28%23glow%29%22%3E%20%20%20%20%3Cg%20transform%3D%22rotate%280%29%22%3E%20%20%20%20%20%20%3Crect%20x%3D%220%22%20y%3D%22-3%22%20width%3D%2240%22%20height%3D%226%22%20fill%3D%22url%28%23nodeGlow%29%22%20rx%3D%223%22%2F%3E%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%20fill%3D%22url%28%23nodeGlow%29%22%2F%3E%20%20%20%20%3C%2Fg%3E%20%20%20%20%3Cg%20transform%3D%22rotate%2860%29%22%3E%20%20%20%20%20%20%3Crect%20x%3D%220%22%20y%3D%22-3%22%20width%3D%2240%22%20height%3D%226%22%20fill%3D%22url%28%23nodeGlow%29%22%20rx%3D%223%22%2F%3E%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%20fill%3D%22url%28%23nodeGlow%29%22%2F%3E%20%20%20%20%3C%2Fg%3E%20%20%20%20%3Cg%20transform%3D%22rotate%28120%29%22%3E%20%20%20%20%20%20%3Crect%20x%3D%220%22%20y%3D%22-3%22%20width%3D%2240%22%20height%3D%226%22%20fill%3D%22url%28%23nodeGlow%29%22%20rx%3D%223%22%2F%3E%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%20fill%3D%22url%28%23nodeGlow%29%22%2F%3E%20%20%20%20%3C%2Fg%3E%20%20%20%20%3Cg%20transform%3D%22rotate%28180%29%22%3E%20%20%20%20%20%20%3Crect%20x%3D%220%22%20y%3D%22-3%22%20width%3D%2240%22%20height%3D%226%22%20fill%3D%22url%28%23nodeGlow%29%22%20rx%3D%223%22%2F%3E%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%20fill%3D%22url%28%23nodeGlow%29%22%2F%3E%20%20%20%20%3C%2Fg%3E%20%20%20%20%3Cg%20transform%3D%22rotate%28240%29%22%3E%20%20%20%20%20%20%3Crect%20x%3D%220%22%20y%3D%22-3%22%20width%3D%2240%22%20height%3D%226%22%20fill%3D%22url%28%23nodeGlow%29%22%20rx%3D%223%22%2F%3E%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%20fill%3D%22url%28%23nodeGlow%29%22%2F%3E%20%20%20%20%3C%2Fg%3E%20%20%20%20%3Cg%20transform%3D%22rotate%28300%29%22%3E%20%20%20%20%20%20%3Crect%20x%3D%220%22%20y%3D%22-3%22%20width%3D%2240%22%20height%3D%226%22%20fill%3D%22url%28%23nodeGlow%29%22%20rx%3D%223%22%2F%3E%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%20fill%3D%22url%28%23nodeGlow%29%22%2F%3E%20%20%20%20%3C%2Fg%3E%20%20%20%20%3Ccircle%20cx%3D%220%22%20cy%3D%220%22%20r%3D%2214%22%20fill%3D%22url%28%23centerGlow%29%22%2F%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E";export{D as default};
1
+ var D="data:image/svg+xml,%3Csvg%20width%3D%22220%22%20height%3D%22200%22%20viewBox%3D%2250%2050%20100%20100%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%20%3Cdefs%3E%20%20%20%20%3CradialGradient%20id%3D%22centerGlow%22%20cx%3D%2235%25%22%20cy%3D%2235%25%22%20r%3D%2265%25%22%3E%20%20%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%2300D639%22%20stop-opacity%3D%221%22%2F%3E%20%20%20%20%20%20%3Cstop%20offset%3D%2280%25%22%20stop-color%3D%22%2300D639%22%20stop-opacity%3D%221%22%2F%3E%20%20%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%2300D639%22%20stop-opacity%3D%221%22%2F%3E%20%20%20%20%3C%2FradialGradient%3E%20%20%20%20%3CradialGradient%20id%3D%22nodeGlow%22%20cx%3D%2235%25%22%20cy%3D%2235%25%22%20r%3D%2265%25%22%3E%20%20%20%20%20%20%3Cstop%20offset%3D%220%25%22%20stop-color%3D%22%2300D639%22%20stop-opacity%3D%221%22%2F%3E%20%20%20%20%20%20%3Cstop%20offset%3D%2280%25%22%20stop-color%3D%22%2300D639%22%20stop-opacity%3D%221%22%2F%3E%20%20%20%20%20%20%3Cstop%20offset%3D%22100%25%22%20stop-color%3D%22%2300D639%22%20stop-opacity%3D%221%22%2F%3E%20%20%20%20%3C%2FradialGradient%3E%20%20%20%20%3Cfilter%20id%3D%22glow%22%3E%20%20%20%20%20%20%3CfeGaussianBlur%20stdDeviation%3D%221%22%20result%3D%22coloredBlur%22%2F%3E%20%20%20%20%20%20%3CfeMerge%3E%20%20%20%20%20%20%20%20%3CfeMergeNode%20in%3D%22coloredBlur%22%2F%3E%20%20%20%20%20%20%20%20%3CfeMergeNode%20in%3D%22SourceGraphic%22%2F%3E%20%20%20%20%20%20%3C%2FfeMerge%3E%20%20%20%20%3C%2Ffilter%3E%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20transform%3D%22translate%28100%2C%20100%29%22%20filter%3D%22url%28%23glow%29%22%3E%20%20%20%20%3Cg%20transform%3D%22rotate%280%29%22%3E%20%20%20%20%20%20%3Crect%20x%3D%220%22%20y%3D%22-3%22%20width%3D%2240%22%20height%3D%226%22%20fill%3D%22url%28%23nodeGlow%29%22%20rx%3D%223%22%2F%3E%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%20fill%3D%22url%28%23nodeGlow%29%22%2F%3E%20%20%20%20%3C%2Fg%3E%20%20%20%20%3Cg%20transform%3D%22rotate%2860%29%22%3E%20%20%20%20%20%20%3Crect%20x%3D%220%22%20y%3D%22-3%22%20width%3D%2240%22%20height%3D%226%22%20fill%3D%22url%28%23nodeGlow%29%22%20rx%3D%223%22%2F%3E%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%20fill%3D%22url%28%23nodeGlow%29%22%2F%3E%20%20%20%20%3C%2Fg%3E%20%20%20%20%3Cg%20transform%3D%22rotate%28120%29%22%3E%20%20%20%20%20%20%3Crect%20x%3D%220%22%20y%3D%22-3%22%20width%3D%2240%22%20height%3D%226%22%20fill%3D%22url%28%23nodeGlow%29%22%20rx%3D%223%22%2F%3E%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%20fill%3D%22url%28%23nodeGlow%29%22%2F%3E%20%20%20%20%3C%2Fg%3E%20%20%20%20%3Cg%20transform%3D%22rotate%28180%29%22%3E%20%20%20%20%20%20%3Crect%20x%3D%220%22%20y%3D%22-3%22%20width%3D%2240%22%20height%3D%226%22%20fill%3D%22url%28%23nodeGlow%29%22%20rx%3D%223%22%2F%3E%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%20fill%3D%22url%28%23nodeGlow%29%22%2F%3E%20%20%20%20%3C%2Fg%3E%20%20%20%20%3Cg%20transform%3D%22rotate%28240%29%22%3E%20%20%20%20%20%20%3Crect%20x%3D%220%22%20y%3D%22-3%22%20width%3D%2240%22%20height%3D%226%22%20fill%3D%22url%28%23nodeGlow%29%22%20rx%3D%223%22%2F%3E%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%20fill%3D%22url%28%23nodeGlow%29%22%2F%3E%20%20%20%20%3C%2Fg%3E%20%20%20%20%3Cg%20transform%3D%22rotate%28300%29%22%3E%20%20%20%20%20%20%3Crect%20x%3D%220%22%20y%3D%22-3%22%20width%3D%2240%22%20height%3D%226%22%20fill%3D%22url%28%23nodeGlow%29%22%20rx%3D%223%22%2F%3E%20%20%20%20%20%20%3Ccircle%20cx%3D%2244%22%20cy%3D%220%22%20r%3D%2210%22%20fill%3D%22url%28%23nodeGlow%29%22%2F%3E%20%20%20%20%3C%2Fg%3E%20%20%20%20%3Ccircle%20cx%3D%220%22%20cy%3D%220%22%20r%3D%2214%22%20fill%3D%22url%28%23centerGlow%29%22%2F%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E";export{D as default};
@@ -1 +1 @@
1
- import{jsx as e,jsxs as r}from"react/jsx-runtime";import{Box as t}from"./Box.mjs";const n={small:40,large:140},i=({size:t})=>e("svg",{width:t,height:t,viewBox:"42 42 116 116",xmlns:"http://www.w3.org/2000/svg",children:r("g",{transform:"translate(100, 100)",children:[e("g",{stroke:"#05D505",strokeWidth:"4.5",strokeLinecap:"round",children:[0,60,120,180,240,300].map(t=>r("g",{transform:`rotate(${t})`,children:[e("line",{x1:"10",y1:"0",x2:"36",y2:"0"}),e("circle",{cx:"44",cy:"0",r:"10",fill:"#05D505",stroke:"none"})]},t))}),e("circle",{cx:"0",cy:"0",r:"12",fill:"#05D505"})]})}),s=({variant:r="small"})=>{const s=n[r];return e(t,{sx:{display:"flex",alignItems:"center",justifyContent:"center",height:"auto"},children:e(t,{sx:{width:s,height:s,"@keyframes snl-spin":{"0%":{transform:"rotate(0deg) scale(1)"},"25%":{transform:"rotate(90deg) scale(1.12)"},"50%":{transform:"rotate(180deg) scale(1)"},"75%":{transform:"rotate(270deg) scale(0.88)"},"100%":{transform:"rotate(360deg) scale(1)"}},animation:"snl-spin 2.4s linear infinite","@media (prefers-reduced-motion: reduce)":{animation:"none"}},children:e(i,{size:s})})})};export{s as LoadingSpinnerNexus};
1
+ import{jsx as e}from"react/jsx-runtime";import{Box as t}from"./Box.mjs";import{NexusLogoNode as r}from"./NexusLogoNode.mjs";const s={small:40,large:140},n=({size:t})=>e("svg",{width:t,height:t,viewBox:"42 42 116 116",xmlns:"http://www.w3.org/2000/svg",children:e("g",{transform:"translate(100, 100)",children:e(r,{})})}),a=({variant:r="small"})=>{const a=s[r];return e(t,{sx:{display:"flex",alignItems:"center",justifyContent:"center",height:"auto"},children:e(t,{sx:{width:a,height:a,"@keyframes snl-spin":{"0%":{transform:"rotate(0deg) scale(1)"},"25%":{transform:"rotate(90deg) scale(1.12)"},"50%":{transform:"rotate(180deg) scale(1)"},"75%":{transform:"rotate(270deg) scale(0.88)"},"100%":{transform:"rotate(360deg) scale(1)"}},animation:"snl-spin 2.4s linear infinite","@media (prefers-reduced-motion: reduce)":{animation:"none"}},children:e(n,{size:a})})})};export{a as LoadingSpinnerNexus};
@@ -1 +1 @@
1
- import{jsxs as t,jsx as o}from"react/jsx-runtime";import{useId as e}from"react";import{useTheme as r}from"@mui/material";import{colours as i,fontSageHeadline as s}from"../../theme/tokens.mjs";import{SagePaths as l}from"./LogoOptionBase.mjs";const f={sm:24,md:32,lg:40},p=60/34,a=[0,60,120,180,240,300],n=({size:n="md"})=>{const c="dark"===r().palette.mode,d=e(),m=f[n],h=m/34,y=(m-m)/2,g=.32*m,u=m*p+g,x=m/100,$=u+1.2+g,O=$+m/2,C=m/2,w=.65*m,b=$+1.3*m,G=m/2+.35*w,S=b+3.4*w+2,v=`${d}-cg`,N=`${d}-ng`,B=`${d}-glow`,k=`${d}-sh`,j=c?i.white:i.black,z=c?i.white:i.black;return t("svg",{width:S,height:m,viewBox:`0 0 ${S} ${m}`,xmlns:"http://www.w3.org/2000/svg",overflow:"visible","aria-label":"Nexus logo option 1",role:"img",children:[t("defs",{children:[t("radialGradient",{id:v,cx:"35%",cy:"35%",r:"65%",children:[o("stop",{offset:"0%",stopColor:"#08e808",stopOpacity:"1"}),o("stop",{offset:"80%",stopColor:"#05D505",stopOpacity:"1"}),o("stop",{offset:"100%",stopColor:"#04c004",stopOpacity:"1"})]}),t("radialGradient",{id:N,cx:"35%",cy:"35%",r:"65%",children:[o("stop",{offset:"0%",stopColor:"#08e808",stopOpacity:"1"}),o("stop",{offset:"80%",stopColor:"#05D505",stopOpacity:"1"}),o("stop",{offset:"100%",stopColor:"#04c004",stopOpacity:"1"})]}),t("filter",{id:B,children:[o("feGaussianBlur",{stdDeviation:"1",result:"coloredBlur"}),t("feMerge",{children:[o("feMergeNode",{in:"coloredBlur"}),o("feMergeNode",{in:"SourceGraphic"})]})]}),t("linearGradient",{id:k,gradientUnits:"userSpaceOnUse",x1:"0",y1:m,x2:S,y2:"0",children:[o("stop",{offset:"0%",stopColor:i.brilliantGreen,stopOpacity:"0"}),o("stop",{offset:"40%",stopColor:i.brilliantGreen,stopOpacity:"0"}),o("stop",{offset:"45%",stopColor:i.cyan,stopOpacity:"0.7"}),o("stop",{offset:"48%",stopColor:"#ffffff",stopOpacity:"0.95"}),o("stop",{offset:"50%",stopColor:"#ffffff",stopOpacity:"1"}),o("stop",{offset:"52%",stopColor:"#ffffff",stopOpacity:"0.95"}),o("stop",{offset:"55%",stopColor:i.blue,stopOpacity:"0.7"}),o("stop",{offset:"60%",stopColor:i.blue,stopOpacity:"0"}),o("stop",{offset:"100%",stopColor:i.blue,stopOpacity:"0"}),o("animateTransform",{attributeName:"gradientTransform",type:"translate",from:-S+" 0",to:`${S} 0`,dur:"4s",repeatCount:"indefinite"})]})]}),o("g",{transform:`translate(0, ${y}) scale(${h})`,children:o(l,{})}),o("rect",{x:u,y:0,width:1.2,height:m,fill:z,rx:.6}),t("g",{transform:`translate(${O}, ${C}) scale(${x})`,filter:`url(#${B})`,children:[a.map(e=>t("g",{transform:`rotate(${e})`,children:[o("rect",{x:"0",y:"-3",width:"40",height:"6",fill:`url(#${N})`,rx:"3"}),o("circle",{cx:"44",cy:"0",r:"10",fill:`url(#${N})`})]},e)),o("circle",{cx:"0",cy:"0",r:"14",fill:`url(#${v})`})]}),o("text",{x:b,y:G,fontFamily:s,fontSize:w,fill:j,letterSpacing:"0.04em",children:"NEXUS"}),t("text",{x:b,y:G,fontFamily:s,fontSize:w,letterSpacing:"0.04em","aria-hidden":"true",children:[o("tspan",{fill:"none",children:"NE"}),o("tspan",{fill:`url(#${k})`,children:"X"})]})]})};export{n as LogoOption1};
1
+ import{jsxs as t,jsx as o}from"react/jsx-runtime";import{useId as e}from"react";import{useTheme as r}from"@mui/material";import{colours as i,fontSageHeadline as s}from"../../theme/tokens.mjs";import{SagePaths as l,SAGE_ASPECT as f}from"../SageLogo.mjs";const p={sm:24,md:32,lg:40},a=[0,60,120,180,240,300],c=({size:c="md"})=>{const n="dark"===r().palette.mode,d=e(),m=p[c],h=m/34,y=(m-m)/2,g=.32*m,u=m*f+g,x=m/100,$=u+1.2+g,C=$+m/2,O=m/2,w=.65*m,b=$+1.3*m,S=m/2+.35*w,G=b+3.4*w+2,v=`${d}-cg`,N=`${d}-ng`,k=`${d}-glow`,B=`${d}-sh`,j=n?i.white:i.black,z=n?i.white:i.black;return t("svg",{width:G,height:m,viewBox:`0 0 ${G} ${m}`,xmlns:"http://www.w3.org/2000/svg",overflow:"visible","aria-label":"Nexus logo option 1",role:"img",children:[t("defs",{children:[t("radialGradient",{id:v,cx:"35%",cy:"35%",r:"65%",children:[o("stop",{offset:"0%",stopColor:"#08e808",stopOpacity:"1"}),o("stop",{offset:"80%",stopColor:"#05D505",stopOpacity:"1"}),o("stop",{offset:"100%",stopColor:"#04c004",stopOpacity:"1"})]}),t("radialGradient",{id:N,cx:"35%",cy:"35%",r:"65%",children:[o("stop",{offset:"0%",stopColor:"#08e808",stopOpacity:"1"}),o("stop",{offset:"80%",stopColor:"#05D505",stopOpacity:"1"}),o("stop",{offset:"100%",stopColor:"#04c004",stopOpacity:"1"})]}),t("filter",{id:k,children:[o("feGaussianBlur",{stdDeviation:"1",result:"coloredBlur"}),t("feMerge",{children:[o("feMergeNode",{in:"coloredBlur"}),o("feMergeNode",{in:"SourceGraphic"})]})]}),t("linearGradient",{id:B,gradientUnits:"userSpaceOnUse",x1:"0",y1:m,x2:G,y2:"0",children:[o("stop",{offset:"0%",stopColor:i.brilliantGreen,stopOpacity:"0"}),o("stop",{offset:"40%",stopColor:i.brilliantGreen,stopOpacity:"0"}),o("stop",{offset:"45%",stopColor:i.cyan,stopOpacity:"0.7"}),o("stop",{offset:"48%",stopColor:"#ffffff",stopOpacity:"0.95"}),o("stop",{offset:"50%",stopColor:"#ffffff",stopOpacity:"1"}),o("stop",{offset:"52%",stopColor:"#ffffff",stopOpacity:"0.95"}),o("stop",{offset:"55%",stopColor:i.blue,stopOpacity:"0.7"}),o("stop",{offset:"60%",stopColor:i.blue,stopOpacity:"0"}),o("stop",{offset:"100%",stopColor:i.blue,stopOpacity:"0"}),o("animateTransform",{attributeName:"gradientTransform",type:"translate",from:-G+" 0",to:`${G} 0`,dur:"4s",repeatCount:"indefinite"})]})]}),o("g",{transform:`translate(0, ${y}) scale(${h})`,children:o(l,{})}),o("rect",{x:u,y:0,width:1.2,height:m,fill:z,rx:.6}),t("g",{transform:`translate(${C}, ${O}) scale(${x})`,filter:`url(#${k})`,children:[a.map(e=>t("g",{transform:`rotate(${e})`,children:[o("rect",{x:"0",y:"-3",width:"40",height:"6",fill:`url(#${N})`,rx:"3"}),o("circle",{cx:"44",cy:"0",r:"10",fill:`url(#${N})`})]},e)),o("circle",{cx:"0",cy:"0",r:"14",fill:`url(#${v})`})]}),o("text",{x:b,y:S,fontFamily:s,fontSize:w,fill:j,letterSpacing:"0.04em",children:"NEXUS"}),t("text",{x:b,y:S,fontFamily:s,fontSize:w,letterSpacing:"0.04em","aria-hidden":"true",children:[o("tspan",{fill:"none",children:"NE"}),o("tspan",{fill:`url(#${B})`,children:"X"})]})]})};export{c as LogoOption1};
@@ -1 +1 @@
1
- import{jsxs as t,jsx as e}from"react/jsx-runtime";import{useId as o}from"react";import{useTheme as r}from"@mui/material";import{colours as i}from"../../theme/tokens.mjs";const l={sm:24,md:32,lg:40},s=60/34,C=[0,60,120,180,240,300],a=({size:a="md"})=>{const f="dark"===r().palette.mode,n=o(),p=l[a],c=p/34,d=(p-p)/2,m=.32*p,h=p*s+m,y=1*p,g=(p-y)/2,x=p/100,u=h+1.2+m,b=u+p/2,$=p/2,w=.65*p,O=u+1.3*p,k=p/2+.35*w,v=O+3.4*w+2,D=`${n}-sh`,S=f?i.white:i.black,H=f?i.white:i.black;return t("svg",{width:v,height:p,viewBox:`0 0 ${v} ${p}`,xmlns:"http://www.w3.org/2000/svg",overflow:"visible","aria-label":"Nexus logo option 11",role:"img",children:[e("defs",{children:t("linearGradient",{id:D,gradientUnits:"userSpaceOnUse",x1:"0",y1:p,x2:v,y2:"0",children:[e("stop",{offset:"0%",stopColor:i.brilliantGreen,stopOpacity:"0"}),e("stop",{offset:"40%",stopColor:i.brilliantGreen,stopOpacity:"0"}),e("stop",{offset:"45%",stopColor:i.cyan,stopOpacity:"0.7"}),e("stop",{offset:"48%",stopColor:"#ffffff",stopOpacity:"0.95"}),e("stop",{offset:"50%",stopColor:"#ffffff",stopOpacity:"1"}),e("stop",{offset:"52%",stopColor:"#ffffff",stopOpacity:"0.95"}),e("stop",{offset:"55%",stopColor:i.blue,stopOpacity:"0.7"}),e("stop",{offset:"60%",stopColor:i.blue,stopOpacity:"0"}),e("stop",{offset:"100%",stopColor:i.blue,stopOpacity:"0"}),e("animateTransform",{attributeName:"gradientTransform",type:"translate",from:-v+" 0",to:`${v} 0`,dur:"4s",repeatCount:"indefinite"})]})}),t("g",{transform:`translate(0, ${d}) scale(${c})`,children:[e("path",{d:"M6.63047 0C10.3844 0 13.4367 2.59879 13.507 6.21582C13.5422 7.23407 12.8055 7.79637 11.9984 7.79637C11.2266 7.79637 10.5602 7.23485 10.525 6.28621C10.4898 4.24894 8.77109 2.73878 6.59531 2.73878C4.56016 2.73878 3.01719 4.17855 3.01719 6.14544C3.01719 8.2875 4.45547 9.23614 7.4375 10.3248C10.6297 11.4838 13.5422 12.8532 13.5422 16.9269C13.5422 20.4744 10.7703 23.3187 6.91172 23.3187C3.12266 23.3195 0 20.6503 0 17.0333C0 14.7857 1.0875 13.2051 2.13984 13.2051C3.05234 13.2051 3.61328 13.8018 3.61328 14.6097C3.61328 15.312 3.01719 15.6279 3.01719 16.8925C3.01719 19.1402 4.84141 20.5799 6.91172 20.5799C9.08672 20.5799 10.525 19.0698 10.525 17.2437C10.525 14.996 9.08672 14.0482 6.10469 12.9939C2.77187 11.8005 0 10.36 0 6.39179C0 2.80995 2.87656 0 6.63047 0Z",fill:"#00D639"}),e("path",{d:"M21.9414 23.3195C18.1523 23.3195 14.9953 20.264 14.9953 16.4006C14.9953 12.3972 18.1875 9.41211 22.0469 9.41211C26.1867 9.41211 29.0984 12.5028 29.0984 16.7173V21.8445C29.0984 22.7228 28.3969 23.3195 27.5898 23.3195C26.7477 23.3195 26.0461 22.7228 26.0461 21.8445V16.8221C26.0461 14.0474 24.4672 12.1509 21.9766 12.1509C19.7664 12.1509 18.0125 14.0122 18.0125 16.4006C18.0125 18.6131 19.7313 20.5096 21.907 20.5096C22.7141 20.5096 23.0648 20.2992 23.5562 20.2992C24.2227 20.2992 24.9242 20.8607 24.9242 21.6686C24.9234 22.7572 23.625 23.3195 21.9414 23.3195Z",fill:"#00D639"}),e("path",{d:"M37.743 33.785C33.8133 33.785 30.5508 30.9751 30.5508 27.3229C30.5508 26.0935 31.2523 25.532 32.0594 25.532C32.8664 25.532 33.5328 26.0591 33.568 27.0773C33.6031 29.3601 35.4273 31.0455 37.7078 31.0455C40.1289 31.0455 41.707 29.5001 41.707 27.4981C41.707 25.2152 39.9531 24.2674 36.9711 23.3187C33.4977 22.1949 30.5508 20.6495 30.5508 16.3654C30.5508 12.4316 33.568 9.41211 37.4969 9.41211C41.4609 9.41211 44.7242 12.2917 44.7242 16.0847C44.7242 18.4027 43.7773 20.1936 42.4789 20.1936C41.6016 20.1936 41.0055 19.5617 41.0055 18.789C41.0055 17.9812 41.707 17.63 41.707 16.1902C41.707 13.7666 39.8125 12.1517 37.532 12.1517C35.3219 12.1517 33.568 13.8378 33.568 16.0502C33.568 18.5435 35.357 19.5977 38.3039 20.5807C41.707 21.7045 44.7242 23.1091 44.7242 27.2181C44.7242 30.9055 41.8125 33.785 37.743 33.785Z",fill:"#00D639"}),e("path",{d:"M53.3344 23.3195C49.4047 23.3195 46.1773 20.2288 46.1773 16.3662C46.1773 12.5028 49.3 9.41289 53.1586 9.41289C57.0531 9.41289 60 12.1173 60 15.5591C60 16.8933 59.0531 17.7012 57.5094 17.7012H53.475C52.668 17.7012 52.0719 17.1397 52.0719 16.4014C52.0719 15.6991 52.668 15.1368 53.475 15.1368H56.4922C56.7727 15.1368 56.9836 14.996 56.9836 14.7153C56.9836 13.697 55.6852 12.1165 53.2648 12.1165C51.0195 12.1165 49.1953 14.0482 49.1953 16.3662C49.1953 18.7194 51.0547 20.5807 53.3703 20.5807C56.0367 20.5807 56.9141 19.0002 58.0016 19.0002C58.9141 19.0002 59.4047 19.5969 59.4047 20.2648C59.4047 20.8967 58.9836 21.459 57.9313 22.1261C56.8773 22.7924 55.2992 23.3195 53.3344 23.3195Z",fill:"#00D639"})]}),e("rect",{x:h,y:g,width:1.2,height:y,fill:H,rx:.6}),t("g",{transform:`translate(${b}, ${$}) scale(${x})`,children:[e("g",{stroke:"#05D505",strokeWidth:"4.5",strokeLinecap:"round",children:C.map(o=>t("g",{transform:`rotate(${o})`,children:[e("line",{x1:"10",y1:"0",x2:"36",y2:"0"}),e("circle",{cx:"44",cy:"0",r:"10",fill:"#05D505",stroke:"none"})]},o))}),e("circle",{cx:"0",cy:"0",r:"12",fill:"#05D505"})]}),e("text",{x:O,y:k,fontFamily:"Arial, Helvetica, sans-serif",fontWeight:"bold",fontSize:w,fill:S,letterSpacing:"0.04em",children:"NEXUS"}),t("text",{x:O,y:k,fontFamily:"Arial, Helvetica, sans-serif",fontWeight:"bold",fontSize:w,letterSpacing:"0.04em","aria-hidden":"true",children:[e("tspan",{fill:"none",children:"NE"}),e("tspan",{fill:`url(#${D})`,children:"X"})]})]})};export{a as LogoOption11};
1
+ import{jsxs as t,jsx as o}from"react/jsx-runtime";import{useId as e}from"react";import{useTheme as r}from"@mui/material";import{colours as i}from"../../theme/tokens.mjs";import{NexusLogoNode as s}from"../NexusLogoNode.mjs";import{SagePaths as f,SAGE_ASPECT as l}from"../SageLogo.mjs";const a={sm:24,md:32,lg:40},n=({size:n="md"})=>{const p="dark"===r().palette.mode,m=e(),c=a[n],d=c/34,h=(c-c)/2,g=.32*c,y=c*l+g,u=1*c,x=(c-u)/2,b=c/100,w=y+1.2+g,C=w+c/2,O=c/2,$=.65*c,v=w+1.3*c,S=c/2+.35*$,N=v+3.4*$+2,j=`${m}-sh`,k=p?i.white:i.black,z=p?i.white:i.black;return t("svg",{width:N,height:c,viewBox:`0 0 ${N} ${c}`,xmlns:"http://www.w3.org/2000/svg",overflow:"visible","aria-label":"Nexus logo option 11",role:"img",children:[o("defs",{children:t("linearGradient",{id:j,gradientUnits:"userSpaceOnUse",x1:"0",y1:c,x2:N,y2:"0",children:[o("stop",{offset:"0%",stopColor:i.brilliantGreen,stopOpacity:"0"}),o("stop",{offset:"40%",stopColor:i.brilliantGreen,stopOpacity:"0"}),o("stop",{offset:"45%",stopColor:i.cyan,stopOpacity:"0.7"}),o("stop",{offset:"48%",stopColor:"#ffffff",stopOpacity:"0.95"}),o("stop",{offset:"50%",stopColor:"#ffffff",stopOpacity:"1"}),o("stop",{offset:"52%",stopColor:"#ffffff",stopOpacity:"0.95"}),o("stop",{offset:"55%",stopColor:i.blue,stopOpacity:"0.7"}),o("stop",{offset:"60%",stopColor:i.blue,stopOpacity:"0"}),o("stop",{offset:"100%",stopColor:i.blue,stopOpacity:"0"}),o("animateTransform",{attributeName:"gradientTransform",type:"translate",from:-N+" 0",to:`${N} 0`,dur:"4s",repeatCount:"indefinite"})]})}),o("g",{transform:`translate(0, ${h}) scale(${d})`,children:o(f,{})}),o("rect",{x:y,y:x,width:1.2,height:u,fill:z,rx:.6}),o("g",{transform:`translate(${C}, ${O}) scale(${b})`,children:o(s,{})}),o("text",{x:v,y:S,fontFamily:"Arial, Helvetica, sans-serif",fontWeight:"bold",fontSize:$,fill:k,letterSpacing:"0.04em",children:"NEXUS"}),t("text",{x:v,y:S,fontFamily:"Arial, Helvetica, sans-serif",fontWeight:"bold",fontSize:$,letterSpacing:"0.04em","aria-hidden":"true",children:[o("tspan",{fill:"none",children:"NE"}),o("tspan",{fill:`url(#${j})`,children:"X"})]})]})};export{n as LogoOption11};
@@ -1 +1 @@
1
- import{jsxs as t,jsx as e,Fragment as i}from"react/jsx-runtime";import{useId as r}from"react";import{useTheme as o}from"@mui/material";import{colours as l}from"../../theme/tokens.mjs";const n=60/34,s=[0,60,120,180,240,300],a=()=>t(i,{children:[e("path",{d:"M6.63047 0C10.3844 0 13.4367 2.59879 13.507 6.21582C13.5422 7.23407 12.8055 7.79637 11.9984 7.79637C11.2266 7.79637 10.5602 7.23485 10.525 6.28621C10.4898 4.24894 8.77109 2.73878 6.59531 2.73878C4.56016 2.73878 3.01719 4.17855 3.01719 6.14544C3.01719 8.2875 4.45547 9.23614 7.4375 10.3248C10.6297 11.4838 13.5422 12.8532 13.5422 16.9269C13.5422 20.4744 10.7703 23.3187 6.91172 23.3187C3.12266 23.3195 0 20.6503 0 17.0333C0 14.7857 1.0875 13.2051 2.13984 13.2051C3.05234 13.2051 3.61328 13.8018 3.61328 14.6097C3.61328 15.312 3.01719 15.6279 3.01719 16.8925C3.01719 19.1402 4.84141 20.5799 6.91172 20.5799C9.08672 20.5799 10.525 19.0698 10.525 17.2437C10.525 14.996 9.08672 14.0482 6.10469 12.9939C2.77187 11.8005 0 10.36 0 6.39179C0 2.80995 2.87656 0 6.63047 0Z",fill:"#00D639"}),e("path",{d:"M21.9414 23.3195C18.1523 23.3195 14.9953 20.264 14.9953 16.4006C14.9953 12.3972 18.1875 9.41211 22.0469 9.41211C26.1867 9.41211 29.0984 12.5028 29.0984 16.7173V21.8445C29.0984 22.7228 28.3969 23.3195 27.5898 23.3195C26.7477 23.3195 26.0461 22.7228 26.0461 21.8445V16.8221C26.0461 14.0474 24.4672 12.1509 21.9766 12.1509C19.7664 12.1509 18.0125 14.0122 18.0125 16.4006C18.0125 18.6131 19.7313 20.5096 21.907 20.5096C22.7141 20.5096 23.0648 20.2992 23.5562 20.2992C24.2227 20.2992 24.9242 20.8607 24.9242 21.6686C24.9234 22.7572 23.625 23.3195 21.9414 23.3195Z",fill:"#00D639"}),e("path",{d:"M37.743 33.785C33.8133 33.785 30.5508 30.9751 30.5508 27.3229C30.5508 26.0935 31.2523 25.532 32.0594 25.532C32.8664 25.532 33.5328 26.0591 33.568 27.0773C33.6031 29.3601 35.4273 31.0455 37.7078 31.0455C40.1289 31.0455 41.707 29.5001 41.707 27.4981C41.707 25.2152 39.9531 24.2674 36.9711 23.3187C33.4977 22.1949 30.5508 20.6495 30.5508 16.3654C30.5508 12.4316 33.568 9.41211 37.4969 9.41211C41.4609 9.41211 44.7242 12.2917 44.7242 16.0847C44.7242 18.4027 43.7773 20.1936 42.4789 20.1936C41.6016 20.1936 41.0055 19.5617 41.0055 18.789C41.0055 17.9812 41.707 17.63 41.707 16.1902C41.707 13.7666 39.8125 12.1517 37.532 12.1517C35.3219 12.1517 33.568 13.8378 33.568 16.0502C33.568 18.5435 35.357 19.5977 38.3039 20.5807C41.707 21.7045 44.7242 23.1091 44.7242 27.2181C44.7242 30.9055 41.8125 33.785 37.743 33.785Z",fill:"#00D639"}),e("path",{d:"M53.3344 23.3195C49.4047 23.3195 46.1773 20.2288 46.1773 16.3662C46.1773 12.5028 49.3 9.41289 53.1586 9.41289C57.0531 9.41289 60 12.1173 60 15.5591C60 16.8933 59.0531 17.7012 57.5094 17.7012H53.475C52.668 17.7012 52.0719 17.1397 52.0719 16.4014C52.0719 15.6991 52.668 15.1368 53.475 15.1368H56.4922C56.7727 15.1368 56.9836 14.996 56.9836 14.7153C56.9836 13.697 55.6852 12.1165 53.2648 12.1165C51.0195 12.1165 49.1953 14.0482 49.1953 16.3662C49.1953 18.7194 51.0547 20.5807 53.3703 20.5807C56.0367 20.5807 56.9141 19.0002 58.0016 19.0002C58.9141 19.0002 59.4047 19.5969 59.4047 20.2648C59.4047 20.8967 58.9836 21.459 57.9313 22.1261C56.8773 22.7924 55.2992 23.3195 53.3344 23.3195Z",fill:"#00D639"})]}),f={sm:24,md:32,lg:40},C=({size:i="md",fontFamily:C,fontWeight:c,text:p,letterSpacing:h="0.04em",nodeShimmerMode:d={shimmer:"text"},baselineOffset:m=.35,ariaLabel:y})=>{const x="dark"===o().palette.mode,g=r(),u=f[i],$=u/34,k=(u-u)/2,w=.32*u,b=u*n+w,O=u,S=(u-O)/2,D=u,W=D/100,v=b+1.2+w,M=v+D/2,z=u/2,F=.65*u,Z=v+1.3*D,G=u/2+F*m,L=Z+3.4*F+2,T=`${g}-sh`,U=`${g}-nm`,j=x?l.white:l.black,H=x?l.white:l.black,V="text"===d.shimmer,B="fullText"===d.shimmer,N=p.toUpperCase().indexOf("X"),X=N>=0?p.slice(0,N):p,q=N>=0?p[N]:"",A=N>=0?p.slice(N+1):"";return t("svg",{width:L,height:u,viewBox:`0 0 ${L} ${u}`,xmlns:"http://www.w3.org/2000/svg",overflow:"visible","aria-label":y,role:"img",children:[t("defs",{children:[t("linearGradient",{id:T,gradientUnits:"userSpaceOnUse",x1:"0",y1:u,x2:L,y2:"0",children:[e("stop",{offset:"0%",stopColor:l.brilliantGreen,stopOpacity:"0"}),e("stop",{offset:"40%",stopColor:l.brilliantGreen,stopOpacity:"0"}),e("stop",{offset:"45%",stopColor:l.cyan,stopOpacity:"0.7"}),e("stop",{offset:"48%",stopColor:"#ffffff",stopOpacity:"0.95"}),e("stop",{offset:"50%",stopColor:"#ffffff",stopOpacity:"1"}),e("stop",{offset:"52%",stopColor:"#ffffff",stopOpacity:"0.95"}),e("stop",{offset:"55%",stopColor:l.blue,stopOpacity:"0.7"}),e("stop",{offset:"60%",stopColor:l.blue,stopOpacity:"0"}),e("stop",{offset:"100%",stopColor:l.blue,stopOpacity:"0"}),e("animateTransform",{attributeName:"gradientTransform",type:"translate",from:-L+" 0",to:`${L} 0`,dur:"4s",repeatCount:"indefinite"})]}),!V&&e("mask",{id:U,children:t("g",{transform:`translate(${M}, ${z}) scale(${W})`,children:[e("g",{stroke:"white",strokeWidth:"4.5",strokeLinecap:"round",children:s.map(i=>t("g",{transform:`rotate(${i})`,children:[e("line",{x1:"10",y1:"0",x2:"36",y2:"0"}),e("circle",{cx:"44",cy:"0",r:"10",fill:"white",stroke:"none"})]},i))}),e("circle",{cx:"0",cy:"0",r:"12",fill:"white"})]})})]}),e("g",{transform:`translate(0, ${k}) scale(${$})`,children:e(a,{})}),e("rect",{x:b,y:S,width:1.2,height:O,fill:H,rx:.6}),t("g",{transform:`translate(${M}, ${z}) scale(${W})`,children:[e("g",{stroke:"#05D505",strokeWidth:"4.5",strokeLinecap:"round",children:s.map(i=>t("g",{transform:`rotate(${i})`,children:[e("line",{x1:"10",y1:"0",x2:"36",y2:"0"}),e("circle",{cx:"44",cy:"0",r:"10",fill:"#05D505",stroke:"none"})]},i))}),e("circle",{cx:"0",cy:"0",r:"12",fill:"#05D505"})]}),"node"===d.shimmer&&e("rect",{x:v,y:0,width:D,height:u,fill:`url(#${T})`,mask:`url(#${U})`}),e("text",{x:Z,y:G,fontFamily:C,fontWeight:c,fontSize:F,fill:j,letterSpacing:h,children:p}),V&&q&&t("text",{x:Z,y:G,fontFamily:C,fontWeight:c,fontSize:F,letterSpacing:h,"aria-hidden":"true",children:[e("tspan",{fill:"none",children:X}),e("tspan",{fill:`url(#${T})`,children:q}),A&&e("tspan",{fill:"none",children:A})]}),B&&e("text",{x:Z,y:G,fontFamily:C,fontWeight:c,fontSize:F,letterSpacing:h,fill:`url(#${T})`,"aria-hidden":"true",children:p})]})};export{C as LogoOptionBase,a as SagePaths};
1
+ import{jsxs as t,jsx as e}from"react/jsx-runtime";import{useId as o}from"react";import{useTheme as i}from"@mui/material";import{colours as r}from"../../theme/tokens.mjs";import{NexusLogoNode as s}from"../NexusLogoNode.mjs";import{SagePaths as l,SAGE_ASPECT as f}from"../SageLogo.mjs";const a={sm:24,md:32,lg:40},n=({size:n="md",fontFamily:p,fontWeight:m,text:c,letterSpacing:h="0.04em",nodeShimmerMode:d={shimmer:"text"},baselineOffset:g=.35,ariaLabel:y})=>{const x="dark"===i().palette.mode,u=o(),$=a[n],w=$/34,C=($-$)/2,b=.32*$,O=$*f+b,S=$,k=($-S)/2,v=$,W=v/100,j=O+1.2+b,z=j+v/2,F=$/2,G=.65*$,L=j+1.3*v,N=$/2+G*g,T=L+3.4*G+2,U=`${u}-sh`,B=`${u}-nm`,M=x?r.white:r.black,R=x?r.white:r.black,X="text"===d.shimmer,q="fullText"===d.shimmer,A=c.toUpperCase().indexOf("X"),D=A>=0?c.slice(0,A):c,E=A>=0?c[A]:"",H=A>=0?c.slice(A+1):"";return t("svg",{width:T,height:$,viewBox:`0 0 ${T} ${$}`,xmlns:"http://www.w3.org/2000/svg",overflow:"visible","aria-label":y,role:"img",children:[t("defs",{children:[t("linearGradient",{id:U,gradientUnits:"userSpaceOnUse",x1:"0",y1:$,x2:T,y2:"0",children:[e("stop",{offset:"0%",stopColor:r.brilliantGreen,stopOpacity:"0"}),e("stop",{offset:"40%",stopColor:r.brilliantGreen,stopOpacity:"0"}),e("stop",{offset:"45%",stopColor:r.cyan,stopOpacity:"0.7"}),e("stop",{offset:"48%",stopColor:"#ffffff",stopOpacity:"0.95"}),e("stop",{offset:"50%",stopColor:"#ffffff",stopOpacity:"1"}),e("stop",{offset:"52%",stopColor:"#ffffff",stopOpacity:"0.95"}),e("stop",{offset:"55%",stopColor:r.blue,stopOpacity:"0.7"}),e("stop",{offset:"60%",stopColor:r.blue,stopOpacity:"0"}),e("stop",{offset:"100%",stopColor:r.blue,stopOpacity:"0"}),e("animateTransform",{attributeName:"gradientTransform",type:"translate",from:-T+" 0",to:`${T} 0`,dur:"4s",repeatCount:"indefinite"})]}),!X&&e("mask",{id:B,children:e("g",{transform:`translate(${z}, ${F}) scale(${W})`,children:e(s,{strokeColor:"white",fillColor:"white",strokeWidth:4.5,centerRadius:12})})})]}),e("g",{transform:`translate(0, ${C}) scale(${w})`,children:e(l,{})}),e("rect",{x:O,y:k,width:1.2,height:S,fill:R,rx:.6}),e("g",{transform:`translate(${z}, ${F}) scale(${W})`,children:e(s,{})}),"node"===d.shimmer&&e("rect",{x:j,y:0,width:v,height:$,fill:`url(#${U})`,mask:`url(#${B})`}),e("text",{x:L,y:N,fontFamily:p,fontWeight:m,fontSize:G,fill:M,letterSpacing:h,children:c}),X&&E&&t("text",{x:L,y:N,fontFamily:p,fontWeight:m,fontSize:G,letterSpacing:h,"aria-hidden":"true",children:[e("tspan",{fill:"none",children:D}),e("tspan",{fill:`url(#${U})`,children:E}),H&&e("tspan",{fill:"none",children:H})]}),q&&e("text",{x:L,y:N,fontFamily:p,fontWeight:m,fontSize:G,letterSpacing:h,fill:`url(#${U})`,"aria-hidden":"true",children:c})]})};export{n as LogoOptionBase};
@@ -1 +1 @@
1
- import{LogoOptionBase as o}from"./LogoOptionBase.mjs";export{SagePaths}from"./LogoOptionBase.mjs";import{LogoOption1 as t}from"./LogoOption1.mjs";import{LogoOption2 as p}from"./LogoOption2.mjs";import{LogoOption3 as m}from"./LogoOption3.mjs";import{LogoOption4 as i}from"./LogoOption4.mjs";import{LogoOption5 as r}from"./LogoOption5.mjs";import{LogoOption6 as g}from"./LogoOption6.mjs";import{LogoOption7 as n}from"./LogoOption7.mjs";import{LogoOption8 as L}from"./LogoOption8.mjs";import{LogoOption9 as O}from"./LogoOption9.mjs";import{LogoOption10 as s}from"./LogoOption10.mjs";import{LogoOption11 as f}from"./LogoOption11.mjs";import{LogoOption12 as j}from"./LogoOption12.mjs";import{LogoOption13 as a}from"./LogoOption13.mjs";import{LogoOption14 as e}from"./LogoOption14.mjs";import{LogoOption15 as B}from"./LogoOption15.mjs";const x={LogoOptionBase:o,LogoOption1:t,LogoOption2:p,LogoOption3:m,LogoOption4:i,LogoOption5:r,LogoOption6:g,LogoOption7:n,LogoOption8:L,LogoOption9:O,LogoOption10:s,LogoOption11:f,LogoOption12:j,LogoOption13:a,LogoOption14:e,LogoOption15:B};export{t as LogoOption1,s as LogoOption10,f as LogoOption11,j as LogoOption12,a as LogoOption13,e as LogoOption14,B as LogoOption15,p as LogoOption2,m as LogoOption3,i as LogoOption4,r as LogoOption5,g as LogoOption6,n as LogoOption7,L as LogoOption8,O as LogoOption9,o as LogoOptionBase,x as LogoOptions,x as default};
1
+ import{LogoOptionBase as o}from"./LogoOptionBase.mjs";import{LogoOption1 as t}from"./LogoOption1.mjs";import{LogoOption2 as p}from"./LogoOption2.mjs";import{LogoOption3 as i}from"./LogoOption3.mjs";import{LogoOption4 as m}from"./LogoOption4.mjs";import{LogoOption5 as n}from"./LogoOption5.mjs";import{LogoOption6 as r}from"./LogoOption6.mjs";import{LogoOption7 as g}from"./LogoOption7.mjs";import{LogoOption8 as L}from"./LogoOption8.mjs";import{LogoOption9 as O}from"./LogoOption9.mjs";import{LogoOption10 as s}from"./LogoOption10.mjs";import{LogoOption11 as f}from"./LogoOption11.mjs";import{LogoOption12 as j}from"./LogoOption12.mjs";import{LogoOption13 as a}from"./LogoOption13.mjs";import{LogoOption14 as e}from"./LogoOption14.mjs";import{LogoOption15 as B}from"./LogoOption15.mjs";const c={LogoOptionBase:o,LogoOption1:t,LogoOption2:p,LogoOption3:i,LogoOption4:m,LogoOption5:n,LogoOption6:r,LogoOption7:g,LogoOption8:L,LogoOption9:O,LogoOption10:s,LogoOption11:f,LogoOption12:j,LogoOption13:a,LogoOption14:e,LogoOption15:B};export{t as LogoOption1,s as LogoOption10,f as LogoOption11,j as LogoOption12,a as LogoOption13,e as LogoOption14,B as LogoOption15,p as LogoOption2,i as LogoOption3,m as LogoOption4,n as LogoOption5,r as LogoOption6,g as LogoOption7,L as LogoOption8,O as LogoOption9,o as LogoOptionBase,c as LogoOptions,c as default};
@@ -1 +1 @@
1
- import{jsx as e,jsxs as t}from"react/jsx-runtime";import{Tooltip as r,IconButton as i}from"@mui/material";import{useTheme as n}from"@mui/material/styles";const o=[0,60,120,180,240,300],s=()=>e("svg",{width:"32",height:"32",viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg",style:{display:"block"},children:t("g",{transform:"translate(100, 100)",children:[e("g",{stroke:"#05D505",strokeWidth:"4.5",strokeLinecap:"round",children:o.map(r=>t("g",{transform:`rotate(${r})`,children:[e("line",{x1:"10",y1:"0",x2:"36",y2:"0"}),e("circle",{cx:"44",cy:"0",r:"10",fill:"#05D505",stroke:"none"})]},r))}),e("circle",{cx:"0",cy:"0",r:"12",fill:"#05D505"})]})}),l=({href:t})=>{const o=n(),l=t??function(){if("undefined"==typeof window)return"https://dev-ai-nexus.sage.com/";const e=window.location.hostname.match(/^(dev-|staging-|testing-)/);return`https://${e?e[1]:""}ai-nexus.sage.com/`}();return e(r,{title:"Home",placement:"bottom",children:e(i,{component:"a",href:l,size:"small","aria-label":"Nexus home",sx:{width:32,height:32,borderRadius:"50%",p:0,display:"inline-flex",alignItems:"center",justifyContent:"center","&:hover":{backgroundColor:o.palette.action.hover}},children:e(s,{})})})};export{l as NexusHome};
1
+ import{jsx as e}from"react/jsx-runtime";import{Tooltip as t,IconButton as o}from"@mui/material";import{useTheme as i}from"@mui/material/styles";import{NexusLogoNode as n}from"./NexusLogoNode.mjs";const r=()=>e("svg",{width:"32",height:"32",viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg",style:{display:"block"},children:e("g",{transform:"translate(100, 100)",children:e(n,{})})}),s=({href:n})=>{const s=i(),a=n??function(){if("undefined"==typeof window)return"https://dev-ai-nexus.sage.com/";const e=window.location.hostname.match(/^(dev-|staging-|testing-)/);return`https://${e?e[1]:""}ai-nexus.sage.com/`}();return e(t,{title:"Home",placement:"bottom",children:e(o,{component:"a",href:a,size:"small","aria-label":"Nexus home",sx:{width:32,height:32,borderRadius:"50%",p:0,display:"inline-flex",alignItems:"center",justifyContent:"center","&:hover":{backgroundColor:s.palette.action.hover}},children:e(r,{})})})};export{s as NexusHome};
@@ -0,0 +1 @@
1
+ import{jsxs as r,Fragment as e,jsx as t}from"react/jsx-runtime";import{colours as o}from"../theme/tokens.mjs";const i=[0,60,120,180,240,300],l=({strokeColor:l=o.brilliantGreen,fillColor:n=o.brilliantGreen,strokeWidth:c=4.5,centerRadius:s=12})=>r(e,{children:[t("g",{stroke:l,strokeWidth:c,strokeLinecap:"round",children:i.map(e=>r("g",{transform:`rotate(${e})`,children:[t("line",{x1:"10",y1:"0",x2:"36",y2:"0"}),t("circle",{cx:"44",cy:"0",r:"10",fill:n,stroke:"none"})]},e))}),t("circle",{cx:"0",cy:"0",r:s,fill:n})]});export{l as NexusLogoNode};
@@ -0,0 +1 @@
1
+ import{jsxs as C,Fragment as l,jsx as i}from"react/jsx-runtime";import{colours as r}from"../theme/tokens.mjs";const t=60/34,e=()=>C(l,{children:[i("path",{d:"M6.63047 0C10.3844 0 13.4367 2.59879 13.507 6.21582C13.5422 7.23407 12.8055 7.79637 11.9984 7.79637C11.2266 7.79637 10.5602 7.23485 10.525 6.28621C10.4898 4.24894 8.77109 2.73878 6.59531 2.73878C4.56016 2.73878 3.01719 4.17855 3.01719 6.14544C3.01719 8.2875 4.45547 9.23614 7.4375 10.3248C10.6297 11.4838 13.5422 12.8532 13.5422 16.9269C13.5422 20.4744 10.7703 23.3187 6.91172 23.3187C3.12266 23.3195 0 20.6503 0 17.0333C0 14.7857 1.0875 13.2051 2.13984 13.2051C3.05234 13.2051 3.61328 13.8018 3.61328 14.6097C3.61328 15.312 3.01719 15.6279 3.01719 16.8925C3.01719 19.1402 4.84141 20.5799 6.91172 20.5799C9.08672 20.5799 10.525 19.0698 10.525 17.2437C10.525 14.996 9.08672 14.0482 6.10469 12.9939C2.77187 11.8005 0 10.36 0 6.39179C0 2.80995 2.87656 0 6.63047 0Z",fill:r.brilliantGreen}),i("path",{d:"M21.9414 23.3195C18.1523 23.3195 14.9953 20.264 14.9953 16.4006C14.9953 12.3972 18.1875 9.41211 22.0469 9.41211C26.1867 9.41211 29.0984 12.5028 29.0984 16.7173V21.8445C29.0984 22.7228 28.3969 23.3195 27.5898 23.3195C26.7477 23.3195 26.0461 22.7228 26.0461 21.8445V16.8221C26.0461 14.0474 24.4672 12.1509 21.9766 12.1509C19.7664 12.1509 18.0125 14.0122 18.0125 16.4006C18.0125 18.6131 19.7313 20.5096 21.907 20.5096C22.7141 20.5096 23.0648 20.2992 23.5562 20.2992C24.2227 20.2992 24.9242 20.8607 24.9242 21.6686C24.9234 22.7572 23.625 23.3195 21.9414 23.3195Z",fill:r.brilliantGreen}),i("path",{d:"M37.743 33.785C33.8133 33.785 30.5508 30.9751 30.5508 27.3229C30.5508 26.0935 31.2523 25.532 32.0594 25.532C32.8664 25.532 33.5328 26.0591 33.568 27.0773C33.6031 29.3601 35.4273 31.0455 37.7078 31.0455C40.1289 31.0455 41.707 29.5001 41.707 27.4981C41.707 25.2152 39.9531 24.2674 36.9711 23.3187C33.4977 22.1949 30.5508 20.6495 30.5508 16.3654C30.5508 12.4316 33.568 9.41211 37.4969 9.41211C41.4609 9.41211 44.7242 12.2917 44.7242 16.0847C44.7242 18.4027 43.7773 20.1936 42.4789 20.1936C41.6016 20.1936 41.0055 19.5617 41.0055 18.789C41.0055 17.9812 41.707 17.63 41.707 16.1902C41.707 13.7666 39.8125 12.1517 37.532 12.1517C35.3219 12.1517 33.568 13.8378 33.568 16.0502C33.568 18.5435 35.357 19.5977 38.3039 20.5807C41.707 21.7045 44.7242 23.1091 44.7242 27.2181C44.7242 30.9055 41.8125 33.785 37.743 33.785Z",fill:r.brilliantGreen}),i("path",{d:"M53.3344 23.3195C49.4047 23.3195 46.1773 20.2288 46.1773 16.3662C46.1773 12.5028 49.3 9.41289 53.1586 9.41289C57.0531 9.41289 60 12.1173 60 15.5591C60 16.8933 59.0531 17.7012 57.5094 17.7012H53.475C52.668 17.7012 52.0719 17.1397 52.0719 16.4014C52.0719 15.6991 52.668 15.1368 53.475 15.1368H56.4922C56.7727 15.1368 56.9836 14.996 56.9836 14.7153C56.9836 13.697 55.6852 12.1165 53.2648 12.1165C51.0195 12.1165 49.1953 14.0482 49.1953 16.3662C49.1953 18.7194 51.0547 20.5807 53.3703 20.5807C56.0367 20.5807 56.9141 19.0002 58.0016 19.0002C58.9141 19.0002 59.4047 19.5969 59.4047 20.2648C59.4047 20.8967 58.9836 21.459 57.9313 22.1261C56.8773 22.7924 55.2992 23.3195 53.3344 23.3195Z",fill:r.brilliantGreen})]});export{t as SAGE_ASPECT,e as SagePaths};
package/dist/index.d.ts CHANGED
@@ -195,11 +195,6 @@ type LogoOptionBaseProps = {
195
195
  text: string;
196
196
  letterSpacing?: string;
197
197
  nodeShimmerMode?: NodeShimmerMode;
198
- /**
199
- * Fraction of fontSize added to H/2 to position the text baseline at the
200
- * optical vertical centre. Use ~0.35 for all-caps / cap-height, ~0.26 for
201
- * lowercase (x-height is shorter so the baseline sits higher).
202
- */
203
198
  baselineOffset?: number;
204
199
  ariaLabel: string;
205
200
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sage-nexus-ui",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "description": "Nexus core components",
5
5
  "license": "ISC",
6
6
  "author": "emsmart-sage",
@@ -25,6 +25,7 @@
25
25
  "scripts": {
26
26
  "build": "node -e \"require('fs').rmSync('dist', {recursive:true, force:true})\" && rollup -c",
27
27
  "build-storybook": "storybook build",
28
+ "generate-favicon": "node scripts/generate-favicon.mjs",
28
29
  "lint": "eslint \"src/**/*.{ts,tsx,js,jsx}\"",
29
30
  "prepublishOnly": "npm run lint && npm run build",
30
31
  "storybook": "storybook dev -p 6006",
@@ -73,12 +74,14 @@
73
74
  "eslint-plugin-react": "^7.37.5",
74
75
  "globals": "^17.5.0",
75
76
  "playwright": "^1.59.1",
77
+ "png-to-ico": "^2.1.8",
76
78
  "react": "^19.2.5",
77
79
  "react-dom": "^19.2.5",
78
80
  "rollup": "^4.60.1",
79
81
  "rollup-plugin-dts": "^6.4.1",
80
82
  "rollup-plugin-peer-deps-external": "^2.2.4",
81
83
  "rollup-plugin-postcss": "^4.0.2",
84
+ "sharp": "^0.34.5",
82
85
  "storybook": "^10.3.5",
83
86
  "tslib": "^2.8.1",
84
87
  "typescript": "^6.0.2",