it-data-nexus-ui-library 2.10.4 → 2.10.5

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.
@@ -1 +1 @@
1
- import{NexusBarChart as e}from"../components/Charts/NexusBarChart.mjs";import{NexusLineChart as t}from"../components/Charts/NexusLineChart.mjs";import{NexusPieChart as a}from"../components/Charts/NexusPieChart.mjs";const r=[{chartType:"pie",version:"1.0.0",description:"Show how a whole splits into parts, such as share by segment. Use for a few non-negative values that together make up a meaningful total. Prefer bar when there are many categories or the values do not form a whole.",dataItem:{properties:{label:{type:"string",maxLength:200},value:{type:"number",minimum:0}},required:["label","value"]},limits:{maxPoints:1e3},example:{schemaVersion:"1.0",chartType:"pie",title:"Share by segment",description:"Current distribution",config:{valueFormat:"percentage"},data:[{label:"Enterprise",value:62}]},component:a},{chartType:"bar",version:"1.0.0",description:"Compare one value across named categories, such as pipeline by stage or revenue by region. Values may be negative.",dataItem:{properties:{category:{type:"string",maxLength:200},value:{type:"number"}},required:["category","value"]},limits:{maxPoints:1e3},example:{schemaVersion:"1.0",chartType:"bar",title:"Pipeline by stage",description:"Open opportunity value",config:{valueFormat:"currency"},data:[{category:"Qualify",value:125e3}]},component:e},{chartType:"line",version:"1.0.0",description:"Show how one value changes over time, such as a monthly trend. Give each point a date, preferably YYYY-MM-DD, and order the points by date.",dataItem:{properties:{date:{type:"string",maxLength:64,format:"iso-date"},value:{type:"number"}},required:["date","value"]},limits:{maxPoints:1e3},example:{schemaVersion:"1.0",chartType:"line",title:"Monthly trend",description:"Revenue over time",config:{valueFormat:"currency"},data:[{date:"2026-08-01",value:42}]},component:t}];export{r as chartDefinitions};
1
+ import{NexusBarChart as e}from"../components/Charts/NexusBarChart.mjs";import{NexusFunnelChart as t}from"../components/Charts/NexusFunnelChart.mjs";import{NexusLineChart as a}from"../components/Charts/NexusLineChart.mjs";import{NexusPieChart as r}from"../components/Charts/NexusPieChart.mjs";const o=[{chartType:"pie",version:"1.0.0",description:"Show how a whole splits into parts, such as share by segment. Use for a few non-negative values that together make up a meaningful total. Prefer bar when there are many categories or the values do not form a whole.",dataItem:{properties:{label:{type:"string",maxLength:200},value:{type:"number",minimum:0}},required:["label","value"]},limits:{maxPoints:1e3},example:{schemaVersion:"1.0",chartType:"pie",title:"Share by segment",description:"Current distribution",config:{valueFormat:"percentage"},data:[{label:"Enterprise",value:62}]},component:r},{chartType:"bar",version:"1.0.0",description:"Compare one value across named categories, such as pipeline by stage or revenue by region. Values may be negative.",dataItem:{properties:{category:{type:"string",maxLength:200},value:{type:"number"}},required:["category","value"]},limits:{maxPoints:1e3},example:{schemaVersion:"1.0",chartType:"bar",title:"Pipeline by stage",description:"Open opportunity value",config:{valueFormat:"currency"},data:[{category:"Qualify",value:125e3}]},component:e},{chartType:"line",version:"1.0.0",description:"Show how one value changes over time, such as a monthly trend. Give each point a date, preferably YYYY-MM-DD, and order the points by date.",dataItem:{properties:{date:{type:"string",maxLength:64,format:"iso-date"},value:{type:"number"}},required:["date","value"]},limits:{maxPoints:1e3},example:{schemaVersion:"1.0",chartType:"line",title:"Monthly trend",description:"Revenue over time",config:{valueFormat:"currency"},data:[{date:"2026-08-01",value:42}]},component:a},{chartType:"funnel",version:"1.0.0",description:"Show drop-off through ordered pipeline stages, such as MQL to SQL to SQO to won. List the stages in order, widest first, with the count that reached each stage. Each stage's conversion rate from the one before is shown. Prefer bar for categories that are not sequential stages.",dataItem:{properties:{label:{type:"string",maxLength:200},value:{type:"number",minimum:0}},required:["label","value"]},limits:{maxPoints:1e3},example:{schemaVersion:"1.0",chartType:"funnel",title:"Pipeline conversion",description:"Leads by stage this quarter",config:{valueFormat:"number"},data:[{label:"MQL",value:1200},{label:"SQL",value:480},{label:"SQO",value:190},{label:"Won",value:60}]},component:t}];export{o as chartDefinitions};
@@ -1 +1 @@
1
- import{jsx as e,jsxs as t}from"react/jsx-runtime";import{useMemo as r,useState as n,useEffect as o}from"react";import i from"@mui/icons-material/DownloadRounded";import a from"@mui/icons-material/CodeRounded";import s from"@mui/icons-material/CodeOffRounded";import{Alert as l}from"./_Primitives/Alert.mjs";import{Paper as m}from"./_Primitives/Paper.mjs";import{Stack as c}from"./_Primitives/Stack.mjs";import{IconButton as d}from"./Buttons/IconButton.mjs";import{CopyButton as p}from"./Buttons/CopyButton.mjs";import{Span as u}from"./Typography.mjs";import h from"./AgentChat/ChatComponents/MarkdownContent.mjs";import{SchemaFieldView as f}from"./SchemaFieldView.mjs";import g from"@mui/material/Box";const y={"text/markdown":"markdown","text/x-markdown":"markdown","text/plain":"plain","application/json":"json","text/html":"html","image/png":"image","image/jpeg":"image"},b=/^data:image\/(png|jpeg)[;,]/i,v=(e,t=[])=>{if(b.test(e)||e.startsWith("blob:"))return!0;try{const r=new URL(e);return"https:"===r.protocol&&t.includes(r.origin)}catch{return!1}},k=/<[a-z!/][^>]*>/i,w=e=>{const t=(new DOMParser).parseFromString(e,"text/html");t.querySelectorAll("meta[http-equiv]").forEach(e=>{/refresh/i.test(e.getAttribute("http-equiv")??"")&&e.remove()}),t.querySelectorAll("a, area, form").forEach(e=>e.setAttribute("target","_blank"));const r=t.createElement("meta");return r.setAttribute("http-equiv","Content-Security-Policy"),r.setAttribute("content","default-src 'none'; img-src data:; style-src 'unsafe-inline'"),t.head.prepend(r),`<!doctype html>${t.documentElement.outerHTML}`},x=(e,t,r)=>{const n=e.split(";")[0].trim().toLowerCase(),o=y[n]??(n.endsWith("+json")?"json":void 0),i=(r,n)=>({kind:r,value:t,degraded:`Declared as ${e||"no type"}, but ${n}. Showing it as ${"plain"===r?"plain text":r}.`});if("undefined"!=typeof Blob&&t instanceof Blob){const r=t.type,n=/^image\/(png|jpeg)$/.test(r);return"image"===o&&r&&!n?{kind:"plain",value:"",degraded:`Declared as ${e}, but the content is ${r} and cannot be displayed.`}:"image"===o?{kind:"image",value:t}:n?i("image","the content is a binary image"):{kind:"plain",value:"",degraded:`Declared as ${e||"no type"}, but the content is binary and cannot be displayed.`}}if(!o)return i("string"==typeof t?"plain":"json","that type is not supported");if("json"===o){if("string"!=typeof t)return{kind:"json",value:t};try{return{kind:"json",value:JSON.parse(t)}}catch{return i("plain","the content is not valid JSON")}}return"string"!=typeof t?i("json","the content is structured data"):"image"===o?v(t.trim(),r)?{kind:"image",value:t.trim()}:i("plain","the content is not an allowed image URL"):"html"!==o||k.test(t)?{kind:o,value:t}:i("plain","the content has no HTML markup")},j={m:0,p:2,whiteSpace:"pre-wrap",overflowWrap:"anywhere",fontFamily:'"SFMono-Regular", "Consolas", "Liberation Mono", "Menlo", monospace',fontSize:"0.8125rem",color:"text.primary"},S=({contentType:y,content:b,schema:k,fileName:S,title:R="Artifact",htmlHeight:C=480,imageOrigins:L,sx:A})=>{const B=r(()=>x(y,b,L),[y,b,L]),[O,U]=n(!1),[P,$]=n(!1),D=(e=>{const[t,r]=n();return o(()=>{if(!(e instanceof Blob))return r(void 0);const t=URL.createObjectURL(e);return r(t),()=>URL.revokeObjectURL(t)},[e]),"string"==typeof e?e:t})("image"===B.kind?B.value:""),M="image"===B.kind,z=M?"":"string"==typeof(E=B.value)?E:JSON.stringify(E,null,2);var E;o(()=>$(!1),[D]);const T=r(()=>({img:({src:t,alt:r})=>"string"==typeof t&&v(t,L)?e(g,{component:"img",src:t,alt:r??"",referrerPolicy:"no-referrer",sx:{maxWidth:"100%"}}):e(u,{children:r?`[image: ${r}]`:"[image]"})}),[L]),W=B.degraded??(P?"The image could not be loaded.":void 0),q=(()=>{if(O)return e(g,{component:"pre",sx:j,children:z});switch(B.kind){case"markdown":return e(g,{sx:{p:2},children:e(h,{content:z,components:T})});case"json":return e(f,{value:B.value,schema:k,sx:{p:2}});case"html":return e(g,{component:"iframe",title:R,sandbox:"",referrerPolicy:"no-referrer",srcDoc:w(z),sx:{display:"block",width:"100%",height:C,border:"none",bgcolor:"common.white"}});case"image":return P||!D?null:e(g,{component:"img",src:D,alt:R,referrerPolicy:"no-referrer",onError:()=>$(!0),sx:{display:"block",maxWidth:"100%",height:"auto",mx:"auto",p:2}});default:return e(g,{component:"pre",sx:j,children:z})}})();return t(m,{variant:"outlined",component:"section","aria-label":R,sx:[{overflow:"hidden"},...Array.isArray(A)?A:A?[A]:[]],children:[t(c,{direction:"row",sx:{justifyContent:"flex-end",gap:.5,px:1,py:.5,borderBottom:1,borderColor:"divider"},children:[!M&&e(p,{value:z}),S&&e(d,{size:"small",title:"Download",onClick:()=>{const e=M?D:URL.createObjectURL(new Blob([z],{type:"application/octet-stream"}));if(!e)return;const t=document.createElement("a");t.href=e,t.download=S??"artifact",e.startsWith("https:")&&(t.target="_blank",t.rel="noopener noreferrer"),t.click(),M||setTimeout(()=>URL.revokeObjectURL(e),1e3)},disabled:M&&!D,children:e(i,{fontSize:"small"})}),!M&&"plain"!==B.kind&&e(d,{size:"small",title:O?"Show rendered":"Show raw","aria-pressed":O,onClick:()=>U(!O),children:e(O?s:a,{fontSize:"small"})})]}),W&&e(l,{severity:"warning",sx:{borderRadius:0},children:W}),q]})};export{S as ArtifactViewer,v as isAllowedImageSrc,x as resolveArtifact,w as toSandboxedSrcDoc};
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import r from"../node_modules/dompurify/dist/purify.es.mjs";import{useMemo as n,useState as o,useEffect as i}from"react";import a from"@mui/icons-material/DownloadRounded";import s from"@mui/icons-material/CodeRounded";import l from"@mui/icons-material/CodeOffRounded";import{Alert as m}from"./_Primitives/Alert.mjs";import{Paper as c}from"./_Primitives/Paper.mjs";import{Stack as d}from"./_Primitives/Stack.mjs";import{IconButton as p}from"./Buttons/IconButton.mjs";import{CopyButton as u}from"./Buttons/CopyButton.mjs";import{Span as h}from"./Typography.mjs";import f from"./AgentChat/ChatComponents/MarkdownContent.mjs";import{SchemaFieldView as g}from"./SchemaFieldView.mjs";import y from"@mui/material/Box";const b={"text/markdown":"markdown","text/x-markdown":"markdown","text/plain":"plain","application/json":"json","text/html":"html","image/png":"image","image/jpeg":"image"},v=/^data:image\/(png|jpeg)[;,]/i,k=(e,t=[])=>{if(v.test(e)||e.startsWith("blob:"))return!0;try{const r=new URL(e);return"https:"===r.protocol&&t.includes(r.origin)}catch{return!1}},w=/<[a-z!/][^>]*>/i,j="default-src 'none'; img-src data:; style-src 'unsafe-inline'",x=e=>/refresh/i.test(e.getAttribute("http-equiv")??"");let S;const R=e=>[e,...[...e.querySelectorAll("template")].flatMap(e=>R(e.content))],C=e=>{return/<(link|base)[\s/>]/i.test(e)||R((t=e,(new DOMParser).parseFromString(t,"text/html"))).some(e=>[...e.querySelectorAll("meta[http-equiv]")].some(x));var t},L=e=>{const t=(S||(S=r(window),S.addHook("uponSanitizeElement",(e,t)=>{"meta"===t.tagName&&x(e)&&e.parentNode?.removeChild(e)})),S).sanitize(e,{WHOLE_DOCUMENT:!0,FORBID_TAGS:["link","base"],RETURN_DOM:!0}).ownerDocument;t.querySelectorAll("a, area, form").forEach(e=>e.setAttribute("target","_blank"));const n=t.createElement("meta");n.setAttribute("http-equiv","Content-Security-Policy"),n.setAttribute("content",j),t.head.prepend(n);const o=`<!doctype html>${t.documentElement.outerHTML}`;return C(o)?`<!doctype html><html><head><meta http-equiv="Content-Security-Policy" content="${j}"></head><body><pre>${i=e,i.replace(/[&<>"]/g,e=>({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"}[e]))}</pre></body></html>`:o;var i},O=(e,t,r)=>{const n=e.split(";")[0].trim().toLowerCase(),o=b[n]??(n.endsWith("+json")?"json":void 0),i=(r,n)=>({kind:r,value:t,degraded:`Declared as ${e||"no type"}, but ${n}. Showing it as ${"plain"===r?"plain text":r}.`});if("undefined"!=typeof Blob&&t instanceof Blob){const r=t.type,n=/^image\/(png|jpeg)$/.test(r);return"image"===o&&r&&!n?{kind:"plain",value:"",degraded:`Declared as ${e}, but the content is ${r} and cannot be displayed.`}:"image"===o?{kind:"image",value:t}:n?i("image","the content is a binary image"):{kind:"plain",value:"",degraded:`Declared as ${e||"no type"}, but the content is binary and cannot be displayed.`}}if(!o)return i("string"==typeof t?"plain":"json","that type is not supported");if("json"===o){if("string"!=typeof t)return{kind:"json",value:t};try{return{kind:"json",value:JSON.parse(t)}}catch{return i("plain","the content is not valid JSON")}}return"string"!=typeof t?i("json","the content is structured data"):"image"===o?k(t.trim(),r)?{kind:"image",value:t.trim()}:i("plain","the content is not an allowed image URL"):"html"!==o||w.test(t)?{kind:o,value:t}:i("plain","the content has no HTML markup")},A={m:0,p:2,whiteSpace:"pre-wrap",overflowWrap:"anywhere",fontFamily:'"SFMono-Regular", "Consolas", "Liberation Mono", "Menlo", monospace',fontSize:"0.8125rem",color:"text.primary"},U=({contentType:r,content:b,schema:v,fileName:w,title:j="Artifact",htmlHeight:x=480,imageOrigins:S,sx:R})=>{const C=n(()=>O(r,b,S),[r,b,S]),[U,B]=o(!1),[D,$]=o(!1),M=(e=>{const[t,r]=o();return i(()=>{if(!(e instanceof Blob))return r(void 0);const t=URL.createObjectURL(e);return r(t),()=>URL.revokeObjectURL(t)},[e]),"string"==typeof e?e:t})("image"===C.kind?C.value:""),P="image"===C.kind,E=P?"":"string"==typeof(T=C.value)?T:JSON.stringify(T,null,2);var T;i(()=>$(!1),[M]);const _=n(()=>({img:({src:t,alt:r})=>"string"==typeof t&&k(t,S)?e(y,{component:"img",src:t,alt:r??"",referrerPolicy:"no-referrer",sx:{maxWidth:"100%"}}):e(h,{children:r?`[image: ${r}]`:"[image]"})}),[S]),q=C.degraded??(D?"The image could not be loaded.":void 0),z=(()=>{if(U)return e(y,{component:"pre",sx:A,children:E});switch(C.kind){case"markdown":return e(y,{sx:{p:2},children:e(f,{content:E,components:_})});case"json":return e(g,{value:C.value,schema:v,sx:{p:2}});case"html":return e(y,{component:"iframe",title:j,sandbox:"",referrerPolicy:"no-referrer",srcDoc:L(E),sx:{display:"block",width:"100%",height:x,border:"none",bgcolor:"common.white"}});case"image":return D||!M?null:e(y,{component:"img",src:M,alt:j,referrerPolicy:"no-referrer",onError:()=>$(!0),sx:{display:"block",maxWidth:"100%",height:"auto",mx:"auto",p:2}});default:return e(y,{component:"pre",sx:A,children:E})}})();return t(c,{variant:"outlined",component:"section","aria-label":j,sx:[{overflow:"hidden"},...Array.isArray(R)?R:R?[R]:[]],children:[t(d,{direction:"row",sx:{justifyContent:"flex-end",gap:.5,px:1,py:.5,borderBottom:1,borderColor:"divider"},children:[!P&&e(u,{value:E}),w&&e(p,{size:"small",title:"Download",onClick:()=>{const e=P?M:URL.createObjectURL(new Blob([E],{type:"application/octet-stream"}));if(!e)return;const t=document.createElement("a");t.href=e,t.download=w??"artifact",e.startsWith("https:")&&(t.target="_blank",t.rel="noopener noreferrer"),t.click(),P||setTimeout(()=>URL.revokeObjectURL(e),1e3)},disabled:P&&!M,children:e(a,{fontSize:"small"})}),!P&&"plain"!==C.kind&&e(p,{size:"small",title:U?"Show rendered":"Show raw","aria-pressed":U,onClick:()=>B(!U),children:e(U?l:s,{fontSize:"small"})})]}),q&&e(m,{severity:"warning",sx:{borderRadius:0},children:q}),z]})};export{U as ArtifactViewer,k as isAllowedImageSrc,O as resolveArtifact,L as toSandboxedSrcDoc};
@@ -0,0 +1 @@
1
+ import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useRef as r,Children as o,useState as i,useCallback as n,useEffect as l}from"react";import s from"@mui/icons-material/ChevronLeftRounded";import a from"@mui/icons-material/ChevronRightRounded";import c from"@mui/material/Box";import{Stack as d}from"./_Primitives/Stack.mjs";import{IconButton as m}from"./Buttons/IconButton.mjs";import{Caption as u}from"./Typography.mjs";const f={xs:1,sm:2,md:3,lg:4},p=["xs","sm","md","lg"],h={disableRipple:!0,disableFocusRipple:!0,sx:e=>({"&.Mui-focusVisible":{outline:`2px solid ${e.palette.primary.main}`,outlineOffset:2}})},g=({children:g,"aria-label":b,itemsPerView:x,gap:v=2.5,previousLabel:y="Previous",nextLabel:w="Next",sx:$})=>{const A=r(null),L=r(null),S=r(null),W=o.toArray(g),j=W.length,[B,R]=i({start:!0,end:!0}),[C,O]=i(new Set),k=n(()=>{const e=A.current;e&&R({start:e.scrollLeft<=2,end:e.scrollLeft+e.clientWidth>=e.scrollWidth-2})},[]);l(()=>{const e=A.current;if(!e)return;k();const t=new ResizeObserver(k);t.observe(e),e.addEventListener("scroll",k,{passive:!0});const r=new Set,o=new IntersectionObserver(e=>{for(const t of e){const e=Number(t.target.dataset.index);t.intersectionRatio>=.5?r.add(e):r.delete(e)}O(new Set(r))},{root:e,threshold:[0,.5,1]});for(const t of Array.from(e.children))o.observe(t);return()=>{t.disconnect(),o.disconnect(),e.removeEventListener("scroll",k)}},[j,k]),l(()=>{Array.from(A.current?.children??[]).forEach((e,t)=>{e.toggleAttribute("inert",C.size>0&&!C.has(t))})},[C,j]),l(()=>{const e=B.end?"next":B.start?"previous":null;if(e&&S.current===e){const t="next"===e?"previous":"next";L.current?.querySelector(`[data-control="${t}"]:not(:disabled)`)?.focus()}},[B]);const E=e=>{const t=A.current,r=t?.children[0];if(!t||!r)return;const o=t.children[1],i=o?o.offsetLeft-r.offsetLeft:r.offsetWidth;t.scrollBy({left:e*i,behavior:"undefined"!=typeof window&&Boolean(window.matchMedia?.("(prefers-reduced-motion: reduce)").matches)?"instant":"smooth"})},I=Array.from(C).sort((e,t)=>e-t),F=0===I.length?"":1===I.length?`Showing ${I[0]+1} of ${j}`:`Showing ${I[0]+1}–${I[I.length-1]+1} of ${j}`,N=x&&Object.keys(x).length>0?x:f,P={xs:p.map(e=>N[e]).find(e=>void 0!==e),...N},z=e=>Object.fromEntries(Object.entries(P).filter(e=>void 0!==e[1]).map(([t,r])=>[t,`calc((100% - ${e.spacing(v)} * ${r-1}) / ${r})`]));return e(d,{sx:[{gap:1.5,minWidth:0,maxWidth:"100%"},...Array.isArray($)?$:$?[$]:[]],children:[t(c,{ref:A,role:"region","aria-label":b,tabIndex:0,sx:e=>({display:"grid",gridAutoFlow:"column",gridAutoColumns:z(e),gap:v,minWidth:0,overflowX:"auto",overscrollBehaviorX:"contain",scrollSnapType:"x mandatory",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},scrollBehavior:"smooth","@media (prefers-reduced-motion: reduce)":{scrollBehavior:"auto"},"&:focus-visible":{outline:`2px solid ${e.palette.primary.main}`,outlineOffset:2,borderRadius:1}}),children:W.map((e,r)=>t(c,{"data-index":r,role:"group","aria-roledescription":"slide","aria-label":`${r+1} of ${j}`,sx:{minWidth:0,scrollSnapAlign:"start"},children:e},r))}),e(d,{ref:L,direction:"row",onFocus:e=>{S.current=e.target.dataset.control??null},sx:{justifyContent:"center",alignItems:"center",gap:1.5},children:[t(m,{...h,"data-control":"previous",title:y,onClick:()=>E(-1),disabled:B.start,children:t(s,{})}),t(u,{"aria-live":"polite",sx:{minWidth:"9ch",textAlign:"center"},children:F}),t(m,{...h,"data-control":"next",title:w,onClick:()=>E(1),disabled:B.end,children:t(a,{})})]})]})};g.displayName="Carousel";export{g as Carousel};
@@ -1 +1 @@
1
- import{jsx as e}from"react/jsx-runtime";import{useTheme as a}from"@mui/material/styles";import{colours as t}from"../Theme/tokens.mjs";import{NexusBarChart as r}from"./NexusBarChart.mjs";function l({stages:l,height:o=300,valueFormatter:n=e=>e.toLocaleString(),convertedLabel:d="Converted",droppedLabel:m="Dropped",...i}){const u=a(),s=l.map((e,a)=>{const t=0===a?e.value:l[a-1].value;return{label:e.label,converted:e.value,dropped:Math.max(0,t-e.value),rate:(r=e.value,o=t,o>0?Math.round(r/o*100):0)};var r,o});return e(r,{...i,dataset:s,layout:"horizontal",height:o,gradientColors:[u.palette.primary.main,t.terra],yAxis:[{dataKey:"label",scaleType:"band",width:130,valueFormatter:(e,a)=>{const t=s.find(a=>a.label===e);return"tick"===a.location&&t&&t!==s[0]?`${e} · ${t.rate}%`:e}}],xAxis:[{valueFormatter:n}],series:[{dataKey:"converted",label:d,stack:"funnel",valueFormatter:(e,{dataIndex:a})=>0===a?n(e??0):`${n(e??0)} (${s[a].rate}%)`},{dataKey:"dropped",label:m,stack:"funnel",valueFormatter:(e,{dataIndex:a})=>0===a?null:`${n(e??0)} (${100-s[a].rate}%)`}]})}export{l as NexusFunnelChart};
1
+ import{jsx as e}from"react/jsx-runtime";import{useTheme as t}from"@mui/material/styles";import{colours as a}from"../Theme/tokens.mjs";import{NexusBarChart as r}from"./NexusBarChart.mjs";import{buildFunnelDataset as o,funnelAxisLabel as l}from"./funnelDataset.mjs";function n({stages:n,height:m=300,valueFormatter:i=e=>e.toLocaleString(),convertedLabel:s="Converted",droppedLabel:d="Dropped",...p}){const u=t(),c=o(n);return e(r,{...p,dataset:c,layout:"horizontal",height:m,gradientColors:[u.palette.primary.main,a.terra],yAxis:[{dataKey:"index",scaleType:"band",width:130,valueFormatter:(e,t)=>l(c,e,t.location)}],xAxis:[{valueFormatter:i}],series:[{dataKey:"converted",label:s,stack:"funnel",valueFormatter:(e,{dataIndex:t})=>0===t?i(e??0):`${i(e??0)} (${c[t].rate}%)`},{dataKey:"dropped",label:d,stack:"funnel",valueFormatter:(e,{dataIndex:t})=>0===t?null:`${i(e??0)} (${100-c[t].rate}%)`}]})}export{n as NexusFunnelChart};
@@ -0,0 +1 @@
1
+ function e(e){return e.map((a,t)=>{const l=0===t?a.value:e[t-1].value;return{index:t,label:a.label,converted:a.value,dropped:Math.max(0,l-a.value),rate:(n=a.value,r=l,r>0?Math.min(100,Math.round(n/r*100)):0)};var n,r})}function a(e,a,t){const l=e[a];return l?"tick"===t&&a>0?`${l.label} · ${l.rate}%`:l.label:""}export{e as buildFunnelDataset,a as funnelAxisLabel};
@@ -0,0 +1 @@
1
+ import{jsx as e}from"react/jsx-runtime";import{useState as t,useRef as o,useEffect as r,useCallback as n}from"react";import i from"@mui/material/Box";import{Caption as a}from"./Typography.mjs";const l="#main-content",c="h1, h2, h3, h4, h5, h6",s=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches?"auto":"smooth",d=({items:d,"aria-label":p,scrollRoot:m=l,sticky:u=!1,stickyOffset:x=0,sx:f})=>{const[h,y]=t(d[0]?.id),b=o(null),v=d.map(e=>e.id).join("\n");r(()=>{const e=v?v.split("\n"):[],t=(e=>null===e?null:"string"==typeof e?document.querySelector(e):e??document.querySelector(l))(m),o=new Set,r=new IntersectionObserver(t=>{for(const e of t)e.isIntersecting?o.add(e.target.id):o.delete(e.target.id);const r=e.find(e=>o.has(e));r&&y(r)},{root:t,rootMargin:"-35% 0px -60% 0px"});for(const t of e){const e=document.getElementById(t);e&&r.observe(e)}return()=>r.disconnect()},[v,m]),r(()=>{const e=b.current,t=e?.querySelector('[aria-current="location"]');!e||!t||e.scrollWidth<=e.clientWidth||e.scrollTo({left:t.offsetLeft-(e.clientWidth-t.offsetWidth)/2,behavior:s()})},[h]);const g=n((e,t)=>{if(e.defaultPrevented||0!==e.button)return;if(e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;const o=document.getElementById(t);if(!o)return;e.preventDefault();const r=o.matches(c)?o:o.querySelector(c)??o;r.hasAttribute("tabindex")||r.setAttribute("tabindex","-1"),o.scrollIntoView({block:"start",behavior:s()}),r.focus({preventScroll:!0}),y(t)},[]);return e(i,{ref:b,component:"nav","aria-label":p,sx:[e=>({width:"100%",boxSizing:"border-box",overflowX:{xs:"auto",sm:"visible"},overscrollBehaviorX:"contain",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},px:{xs:"16px",sm:0},maskImage:{xs:"linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent)",sm:"none"},position:u?"sticky":"relative",top:u?x:void 0,zIndex:u?e.zIndex.appBar:void 0,backgroundColor:u?"background.default":void 0,borderBottom:u?`1px solid ${e.palette.divider}`:void 0}),...Array.isArray(f)?f:f?[f]:[]],children:e(i,{component:"ul",role:"list",sx:{listStyle:"none",m:0,p:0,display:"flex",flexWrap:{xs:"nowrap",sm:"wrap"},columnGap:{xs:2.5,sm:3}},children:d.map(({id:t,label:o})=>{const r=t===h;return e(i,{component:"li",sx:{flex:"none"},children:e(i,{component:"a",href:`#${t}`,"aria-current":r?"location":void 0,onClick:e=>g(e,t),sx:{display:"block",py:1.25,whiteSpace:"nowrap",color:r?"text.primary":"text.secondary",textDecoration:r?"underline":"none",textDecorationColor:e=>e.palette.primary.main,textDecorationThickness:r?"2px":void 0,textUnderlineOffset:"7px",borderRadius:.5,"&:hover":{color:"text.primary",textDecoration:"underline",textDecorationColor:e=>e.palette.primary.main},"&:focus-visible":{outline:e=>`2px solid ${e.palette.primary.main}`,outlineOffset:2}},children:e(a,{component:"span",sx:{color:"inherit",letterSpacing:"0.015em"},children:o})})},t)})})})};export{d as SectionNav};
@@ -1 +1 @@
1
- const o="2.10.4";export{o as SAGE_NEXUS_UI_VERSION};
1
+ const o="2.10.5";export{o as SAGE_NEXUS_UI_VERSION};
package/dist/index.d.ts CHANGED
@@ -1477,6 +1477,7 @@ interface NexusFunnelStage {
1477
1477
  label: string;
1478
1478
  value: number;
1479
1479
  }
1480
+
1480
1481
  interface NexusFunnelChartProps extends ChartAsyncProps {
1481
1482
  /** Ordered pipeline stages, widest first (e.g. MQL → SAL → SQL → SQO → Won). */
1482
1483
  stages: NexusFunnelStage[];
@@ -1658,6 +1659,91 @@ declare const NexusOrbit: {
1658
1659
  displayName: string;
1659
1660
  };
1660
1661
 
1662
+ interface SectionNavItem {
1663
+ /** `id` of the section element on the page; also the link's `#fragment`. */
1664
+ id: string;
1665
+ label: string;
1666
+ }
1667
+ interface SectionNavProps {
1668
+ /** Ordered sections. Each `id` must match an element on the page. */
1669
+ items: SectionNavItem[];
1670
+ /** Accessible name of the `nav` landmark, e.g. "About Nexus sections". */
1671
+ "aria-label": string;
1672
+ /**
1673
+ * The element the page scrolls inside: a CSS selector or an element. Defaults to the
1674
+ * app's `#main-content` container, because Nexus pages scroll there and not in the window.
1675
+ * `null`, or a selector that matches nothing, falls back to the window.
1676
+ */
1677
+ scrollRoot?: string | HTMLElement | null;
1678
+ /** Pin the nav to the top of the scroll root while its sections scroll underneath. Defaults to false. */
1679
+ sticky?: boolean;
1680
+ /** Distance in px from the top of the scroll root when `sticky`. Defaults to 0. */
1681
+ stickyOffset?: number;
1682
+ sx?: SxProps<Theme>;
1683
+ }
1684
+ /**
1685
+ * In-page section navigation: a named `nav` landmark of anchor links that marks the
1686
+ * section in view with `aria-current="location"`.
1687
+ *
1688
+ * Activating a link (click, Enter) scrolls to the section and moves focus to its heading
1689
+ * (the first `h1`-`h6` inside the section, or the section itself when it has none), without
1690
+ * a second scroll. Smooth scrolling is turned off under `prefers-reduced-motion`. Without
1691
+ * JavaScript the links still work as plain `#fragment` anchors.
1692
+ *
1693
+ * Sticky headers over the scroll root hide the top of a scrolled-to section; give sections
1694
+ * a `scroll-margin-top` that matches the header.
1695
+ *
1696
+ * Below `sm` the items scroll sideways inside the component instead of wrapping.
1697
+ *
1698
+ * ```tsx
1699
+ * <SectionNav
1700
+ * aria-label="About sections"
1701
+ * items={[{ id: "capabilities", label: "Capabilities" }]}
1702
+ * sticky
1703
+ * />
1704
+ * ```
1705
+ */
1706
+ declare const SectionNav: ({ items, "aria-label": ariaLabel, scrollRoot, sticky, stickyOffset, sx, }: SectionNavProps) => react.JSX.Element;
1707
+
1708
+ type CarouselBreakpoint = "xs" | "sm" | "md" | "lg";
1709
+ /** Cards visible at once per breakpoint. Fractions leave the next card peeking, e.g. `1.15`. */
1710
+ type CarouselItemsPerView = Partial<Record<CarouselBreakpoint, number>>;
1711
+ interface CarouselProps {
1712
+ /** One card per child. */
1713
+ children: ReactNode;
1714
+ /** Accessible name of the scrolling region, e.g. "Platform capabilities". */
1715
+ "aria-label": string;
1716
+ /** Cards per view from each breakpoint up. Defaults to 1 / 2 / 3 / 4. */
1717
+ itemsPerView?: CarouselItemsPerView;
1718
+ /** Gap between cards, in theme spacing units. Defaults to 2.5 (20px). */
1719
+ gap?: number;
1720
+ /** Accessible name of the previous control. Defaults to "Previous". */
1721
+ previousLabel?: string;
1722
+ /** Accessible name of the next control. Defaults to "Next". */
1723
+ nextLabel?: string;
1724
+ sx?: SxProps<Theme>;
1725
+ }
1726
+ /**
1727
+ * A manual card carousel: a horizontally scrolling scroll-snap track with
1728
+ * previous / next controls that disable at the ends.
1729
+ *
1730
+ * - The track is a labelled, focusable region, so the arrow keys scroll it.
1731
+ * - Cards that are mostly off-screen are `inert`: they are not announced and
1732
+ * their contents leave the tab order until they scroll into view.
1733
+ * - Smooth scrolling is off under `prefers-reduced-motion`.
1734
+ * - Cards are not moved with transforms; scrolling is the only motion.
1735
+ *
1736
+ * ```tsx
1737
+ * <Carousel aria-label="Capabilities" itemsPerView={{ xs: 1.15, sm: 2, lg: 4 }}>
1738
+ * {cards}
1739
+ * </Carousel>
1740
+ * ```
1741
+ */
1742
+ declare const Carousel: {
1743
+ ({ children, "aria-label": ariaLabel, itemsPerView, gap, previousLabel, nextLabel, sx, }: CarouselProps): react.JSX.Element;
1744
+ displayName: string;
1745
+ };
1746
+
1661
1747
  type StageState = "pending" | "active" | "done" | "failed" | "skipped" | "waiting";
1662
1748
  interface StageProgressStep {
1663
1749
  label: string;
@@ -1897,9 +1983,10 @@ declare const isAllowedImageSrc: (src: string, imageOrigins?: string[]) => boole
1897
1983
  /**
1898
1984
  * The frame is sandboxed with no tokens (opaque origin; no script, forms,
1899
1985
  * popups or top navigation). Sandboxing alone still lets the frame navigate
1900
- * itself, so the document is rewritten in an inert DOMParser document first:
1901
- * a CSP blocks every network fetch (images, fonts, stylesheets), meta refresh
1902
- * is removed, and every link targets a new window, which the sandbox blocks.
1986
+ * itself and lets link hints (dns-prefetch/preconnect) escape CSP, so the HTML
1987
+ * goes through DOMPurify with link, base and meta refresh forbidden, a CSP
1988
+ * blocks every other fetch, and every anchor targets a new window, which the
1989
+ * sandbox blocks. If the result could still beacon it is shown as text.
1903
1990
  */
1904
1991
  declare const toSandboxedSrcDoc: (html: string) => string;
1905
1992
  /** Decides which renderer to use and whether the content contradicts its declared type. */
@@ -2153,5 +2240,5 @@ declare const getGradientBorderStyles: (theme: Theme, options?: GradientBorderOp
2153
2240
  declare const leftPipe: SxProps<Theme>;
2154
2241
  declare const expandableText: (isExpanded: boolean) => SxProps<Theme>;
2155
2242
 
2156
- export { AccordionGroup, AccordionGroupItem, AccordionSingle, ActionBar, ActionBarTitle, ActivityFeed, AgentChatDialog, AgentChatWidget, AgentChatWindow, AgentChatWindowHeader, AiButton, AiButtonTile, AiCard, AiChip, AiGlassCard, AiGlassPaper, AiPaper, Alert, ArtifactViewer, Avatar, Body1, Body2, Breadcrumbs, BudgetMeter, ButtonBase, ButtonTile, Caption, Card, ChatAvatar, ChatContentFallback, ChatDatapoints, ChatHistory, ChatHistoryAgentItem, ChatHistoryButtonBase, ChatHistoryHeader, ChatInput, ChatResponseMarkdown, ChatWindowBody, Checkbox, CheckboxGroup, Chip, CircularProgress, Code, Collapse, Container, CopyButton, CopyableTableContainer, DateRangeFilter, DateRangePicker, DeltaChip, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, DiffView, Divider, Duration, EmptyState, FABButton, FaviconLinks, FlowDiagram, FormControlLabel, FormDialog, FormGroup, GhostButton, GlassCard, GlassPaper, GlassPaperAsync, GreenWaveBackground, Grid, H1, H2, H3, H4, IconButton, JsonViewer, KeyValueList, Link, LoadingSpinnerNexus, LocationMultiSelect, LogoOptions, MAX_CHART_POINTS, MarkdownContent, MessageBubble, MessageFeedbackBar, MessageList, MetricCard, MetricStat, MetricValue, MuiAppThemeProvider, NEXUS_THEME_STORAGE_KEY, NexusAreaChart, NexusBarChart, NexusDataGrid, NexusEmptyState, NexusFunnelChart, NexusHeatmap, NexusHome, NexusLineChart, NexusLogo, NexusNodeIcon, NexusOrbit, NexusPieChart, NexusScatterChart, NexusStackedAreaChart, NexusStackedBarChart, NexusiFrame, NotificationBell, NotificationListItem, Paper, PaperAsync, PrimaryButton, PrimaryButtonLink, ProcessSteps, RagChip, RagDot, RelativeTime, SageLogoSvg, SchemaFieldView, SearchInput, SecondaryButton, SecondaryButtonLink, SegmentedControl, Select, SelectableList, SideBlade, SideBladeNavList, SideBladeNavListItem, Skeleton, SkillChip, SkipLink, Slider, SourceCitations, Span, Stack, StageProgress, StatusBadge, StatusChip, StreamingBubble, SuggestedPrompts, Switch, Tab, Table, TableBody, TableCell, TableHead, TableRow, Tabs, TextField, ThemeModeContext, ThemeModeProvider, ThemeToggle, Toast, Tooltip, TypingIndicator, chartDefinitions, chatHistoryMatchesQuery, chatWindowMarkdownComponents, colours, columnsForItemCount, createSageTheme, deltaColorForPolarity, expandableText, filterChatHistoryConversations, fontSageHeadline, fontSageText, fontSageUI, formatDatapointDelta, formatDatapointValue, formatDate, formatDurationMs, formatSurnameFirstname, getFaviconUrls, getFiscalPeriod, getGradientBorderStyles, getModeTokens, gradients, isAllowedImageSrc, latestTraceLabel, leftPipe, ragColorForDelta, resolveArtifact, safeChatMarkdownComponents, safeMarkdownUrl, sanitizeRawHtmlTable, splitRawHtmlTables, toSandboxedSrcDoc, useThemeMode, useTokens, validateChartDefinition, validateChartItem };
2157
- export type { AccordionGroupItemProps, AccordionGroupProps, AccordionSingleProps, ActivityFeedEntry, ActivityFeedProps, ActivitySummary, AgentChatDialogProps, AgentChatWidgetProps, AgentChatWindowHeaderProps, AgentChatWindowProps, AiButtonProps, AiButtonTileProps, AiCardProps, AiChipProps, AiGlassCardProps, AiGlassPaperProps, AiPaperProps, ArtifactContent, ArtifactKind, ArtifactViewerProps, AvatarProps, AvatarSize, AvatarVariant, BreadcrumbItem, BreadcrumbsProps, BudgetMeterProps, ButtonTileProps, CardProps, CardTrend, ChartAsyncProps, ChartDefinition, ChartFieldSchema, ChartValidationResult, ChatAvatarProps, ChatContentFallbackProps, ChatDatapointDelta, ChatDatapointItem, ChatDatapointPolarity, ChatDatapointValueFormat, ChatDatapointsData, ChatDatapointsProps, ChatHistoryAgent, ChatHistoryAgentItemProps, ChatHistoryButtonBaseProps, ChatHistoryConversation, ChatHistoryHeaderProps, ChatHistoryProps, ChatInputProps, ChatMessage, ChatResponseMarkdownProps, ChatTableCell, ChatTableData, ChatTablePart, CodeBlock, CopyButtonProps, CopyableTableContainerProps, DateRangeFilterProps, DateRangePickerProps, DateRangePreset, DateRangeValue, DeltaChipProps, DeltaChipTone, DialogProps, DiffViewProps, DurationProps, EmptyStateProps, FABButtonProps, FileArtifact, FlowDiagramColumn, FlowDiagramHub, FlowDiagramItem, FlowDiagramLogo, FlowDiagramProps, FormDialogProps, GhostButtonProps, GlassCardProps, GlassPaperAsyncProps, GlassPaperProps, GradientBorderOptions, GreenWaveBackgroundProps, IconButtonProps, IconButtonVariant, JsonSchema, JsonViewerProps, KeyValueItem, KeyValueListProps, LatencyMetrics, LinkProps, LoadingSpinnerNexusProps, MarkdownContentProps, MessageBubbleProps, MessageFeedbackBarProps, MessageListProps, MetricCardProps, MetricStatProps, MetricValueSize, ModeTokens, NexusAreaChartProps, NexusBarChartProps, NexusEmptyStateProps, NexusFunnelChartProps, NexusFunnelStage, NexusHeatmapAxisItem, NexusHeatmapCell, NexusHeatmapProps, NexusHeatmapStatus, NexusLineChartProps, NexusNodeIconProps, NexusNodeIconSize, NexusNodeIconTone, NexusOrbitProps, NexusPieChartProps, NexusScatterChartProps, NexusStackedAreaChartProps, NexusStackedBarChartProps, NexusiFrameProps, NotificationBellProps, NotificationListItemProps, PaperAsyncProps, ParsedActivity, PrimaryButtonLinkProps, PrimaryButtonProps, ProcessStep, ProcessStepsProps, RelativeTimeProps, ResolvedArtifact, SchemaFieldViewProps, SecondaryButtonLinkProps, SecondaryButtonProps, SegmentedControlOption, SegmentedControlProps, SelectOption, SelectProps, SelectableListItem, SelectableListProps, SideBladeNavItem, SideBladeNavListItemProps, SideBladeNavListProps, SideBladeProps, SkeletonProps, SkipLinkProps, SliderMarkOption, SliderProps, SourceCitationsProps, StackedBarItem, StageProgressProps, StageProgressStep, StageState, StatusBadgeProps, StatusBadgeVariant, StreamingBubbleProps, SuggestedPromptsProps, ThemeMode, ThemeModeContextValue, ThemeModeProviderProps, ToastProps, TooltipProps, TraceEvent, TypingIndicatorProps };
2243
+ export { AccordionGroup, AccordionGroupItem, AccordionSingle, ActionBar, ActionBarTitle, ActivityFeed, AgentChatDialog, AgentChatWidget, AgentChatWindow, AgentChatWindowHeader, AiButton, AiButtonTile, AiCard, AiChip, AiGlassCard, AiGlassPaper, AiPaper, Alert, ArtifactViewer, Avatar, Body1, Body2, Breadcrumbs, BudgetMeter, ButtonBase, ButtonTile, Caption, Card, Carousel, ChatAvatar, ChatContentFallback, ChatDatapoints, ChatHistory, ChatHistoryAgentItem, ChatHistoryButtonBase, ChatHistoryHeader, ChatInput, ChatResponseMarkdown, ChatWindowBody, Checkbox, CheckboxGroup, Chip, CircularProgress, Code, Collapse, Container, CopyButton, CopyableTableContainer, DateRangeFilter, DateRangePicker, DeltaChip, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, DiffView, Divider, Duration, EmptyState, FABButton, FaviconLinks, FlowDiagram, FormControlLabel, FormDialog, FormGroup, GhostButton, GlassCard, GlassPaper, GlassPaperAsync, GreenWaveBackground, Grid, H1, H2, H3, H4, IconButton, JsonViewer, KeyValueList, Link, LoadingSpinnerNexus, LocationMultiSelect, LogoOptions, MAX_CHART_POINTS, MarkdownContent, MessageBubble, MessageFeedbackBar, MessageList, MetricCard, MetricStat, MetricValue, MuiAppThemeProvider, NEXUS_THEME_STORAGE_KEY, NexusAreaChart, NexusBarChart, NexusDataGrid, NexusEmptyState, NexusFunnelChart, NexusHeatmap, NexusHome, NexusLineChart, NexusLogo, NexusNodeIcon, NexusOrbit, NexusPieChart, NexusScatterChart, NexusStackedAreaChart, NexusStackedBarChart, NexusiFrame, NotificationBell, NotificationListItem, Paper, PaperAsync, PrimaryButton, PrimaryButtonLink, ProcessSteps, RagChip, RagDot, RelativeTime, SageLogoSvg, SchemaFieldView, SearchInput, SecondaryButton, SecondaryButtonLink, SectionNav, SegmentedControl, Select, SelectableList, SideBlade, SideBladeNavList, SideBladeNavListItem, Skeleton, SkillChip, SkipLink, Slider, SourceCitations, Span, Stack, StageProgress, StatusBadge, StatusChip, StreamingBubble, SuggestedPrompts, Switch, Tab, Table, TableBody, TableCell, TableHead, TableRow, Tabs, TextField, ThemeModeContext, ThemeModeProvider, ThemeToggle, Toast, Tooltip, TypingIndicator, chartDefinitions, chatHistoryMatchesQuery, chatWindowMarkdownComponents, colours, columnsForItemCount, createSageTheme, deltaColorForPolarity, expandableText, filterChatHistoryConversations, fontSageHeadline, fontSageText, fontSageUI, formatDatapointDelta, formatDatapointValue, formatDate, formatDurationMs, formatSurnameFirstname, getFaviconUrls, getFiscalPeriod, getGradientBorderStyles, getModeTokens, gradients, isAllowedImageSrc, latestTraceLabel, leftPipe, ragColorForDelta, resolveArtifact, safeChatMarkdownComponents, safeMarkdownUrl, sanitizeRawHtmlTable, splitRawHtmlTables, toSandboxedSrcDoc, useThemeMode, useTokens, validateChartDefinition, validateChartItem };
2244
+ export type { AccordionGroupItemProps, AccordionGroupProps, AccordionSingleProps, ActivityFeedEntry, ActivityFeedProps, ActivitySummary, AgentChatDialogProps, AgentChatWidgetProps, AgentChatWindowHeaderProps, AgentChatWindowProps, AiButtonProps, AiButtonTileProps, AiCardProps, AiChipProps, AiGlassCardProps, AiGlassPaperProps, AiPaperProps, ArtifactContent, ArtifactKind, ArtifactViewerProps, AvatarProps, AvatarSize, AvatarVariant, BreadcrumbItem, BreadcrumbsProps, BudgetMeterProps, ButtonTileProps, CardProps, CardTrend, CarouselBreakpoint, CarouselItemsPerView, CarouselProps, ChartAsyncProps, ChartDefinition, ChartFieldSchema, ChartValidationResult, ChatAvatarProps, ChatContentFallbackProps, ChatDatapointDelta, ChatDatapointItem, ChatDatapointPolarity, ChatDatapointValueFormat, ChatDatapointsData, ChatDatapointsProps, ChatHistoryAgent, ChatHistoryAgentItemProps, ChatHistoryButtonBaseProps, ChatHistoryConversation, ChatHistoryHeaderProps, ChatHistoryProps, ChatInputProps, ChatMessage, ChatResponseMarkdownProps, ChatTableCell, ChatTableData, ChatTablePart, CodeBlock, CopyButtonProps, CopyableTableContainerProps, DateRangeFilterProps, DateRangePickerProps, DateRangePreset, DateRangeValue, DeltaChipProps, DeltaChipTone, DialogProps, DiffViewProps, DurationProps, EmptyStateProps, FABButtonProps, FileArtifact, FlowDiagramColumn, FlowDiagramHub, FlowDiagramItem, FlowDiagramLogo, FlowDiagramProps, FormDialogProps, GhostButtonProps, GlassCardProps, GlassPaperAsyncProps, GlassPaperProps, GradientBorderOptions, GreenWaveBackgroundProps, IconButtonProps, IconButtonVariant, JsonSchema, JsonViewerProps, KeyValueItem, KeyValueListProps, LatencyMetrics, LinkProps, LoadingSpinnerNexusProps, MarkdownContentProps, MessageBubbleProps, MessageFeedbackBarProps, MessageListProps, MetricCardProps, MetricStatProps, MetricValueSize, ModeTokens, NexusAreaChartProps, NexusBarChartProps, NexusEmptyStateProps, NexusFunnelChartProps, NexusFunnelStage, NexusHeatmapAxisItem, NexusHeatmapCell, NexusHeatmapProps, NexusHeatmapStatus, NexusLineChartProps, NexusNodeIconProps, NexusNodeIconSize, NexusNodeIconTone, NexusOrbitProps, NexusPieChartProps, NexusScatterChartProps, NexusStackedAreaChartProps, NexusStackedBarChartProps, NexusiFrameProps, NotificationBellProps, NotificationListItemProps, PaperAsyncProps, ParsedActivity, PrimaryButtonLinkProps, PrimaryButtonProps, ProcessStep, ProcessStepsProps, RelativeTimeProps, ResolvedArtifact, SchemaFieldViewProps, SecondaryButtonLinkProps, SecondaryButtonProps, SectionNavItem, SectionNavProps, SegmentedControlOption, SegmentedControlProps, SelectOption, SelectProps, SelectableListItem, SelectableListProps, SideBladeNavItem, SideBladeNavListItemProps, SideBladeNavListProps, SideBladeProps, SkeletonProps, SkipLinkProps, SliderMarkOption, SliderProps, SourceCitationsProps, StackedBarItem, StageProgressProps, StageProgressStep, StageState, StatusBadgeProps, StatusBadgeVariant, StreamingBubbleProps, SuggestedPromptsProps, ThemeMode, ThemeModeContextValue, ThemeModeProviderProps, ToastProps, TooltipProps, TraceEvent, TypingIndicatorProps };
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- export{DateRangeFilter}from"./components/DateRangeFilter.mjs";export{DateRangePicker}from"./components/DateRangePicker.mjs";export{Alert}from"./components/_Primitives/Alert.mjs";export{AgentChatWidget}from"./components/AgentChat/AgentChatWidget.mjs";export{AgentChatDialog}from"./components/AgentChat/AgentChatDialog.mjs";export{FABButton}from"./components/AgentChat/FABButton.mjs";export{AgentChatWindow}from"./components/AgentChat/AgentChatWindow.mjs";export{AgentChatWindowHeader}from"./components/AgentChat/AgentChatWindowHeader.mjs";export{ChatInput}from"./components/AgentChat/ChatInput.mjs";export{ChatHistory}from"./components/AgentChat/ChatHistory.mjs";export{ChatHistoryHeader}from"./components/AgentChat/ChatHistoryHeader.mjs";export{ChatHistoryButtonBase}from"./components/AgentChat/ChatHistoryButtonBase.mjs";export{ChatHistoryAgentItem}from"./components/AgentChat/ChatHistoryAgentItem.mjs";export{chatHistoryMatchesQuery,filterChatHistoryConversations}from"./components/AgentChat/ChatHistorySearch.mjs";export{CopyableTableContainer}from"./components/AgentChat/ChatComponents/CopyableTableContainer.mjs";export{default as ChatAvatar}from"./components/AgentChat/ChatComponents/ChatAvatar.mjs";export{default as MarkdownContent,chatWindowMarkdownComponents}from"./components/AgentChat/ChatComponents/MarkdownContent.mjs";export{default as ChatResponseMarkdown,safeChatMarkdownComponents}from"./components/AgentChat/ChatComponents/ChatResponseMarkdown.mjs";export{default as ChatDatapoints}from"./components/AgentChat/ChatComponents/ChatDatapoints.mjs";export{default as ChatContentFallback}from"./components/AgentChat/ChatComponents/ChatContentFallback.mjs";export{default as MessageBubble}from"./components/AgentChat/ChatComponents/MessageBubble.mjs";export{default as MessageFeedbackBar}from"./components/AgentChat/ChatComponents/MessageFeedbackBar.mjs";export{default as StreamingBubble}from"./components/AgentChat/ChatComponents/StreamingBubble.mjs";export{default as TypingIndicator}from"./components/AgentChat/ChatComponents/TypingIndicator.mjs";export{default as SuggestedPrompts}from"./components/AgentChat/ChatComponents/SuggestedPrompts.mjs";export{default as MessageList}from"./components/AgentChat/ChatComponents/MessageList.mjs";export{default as EmptyState}from"./components/AgentChat/ChatComponents/EmptyState.mjs";export{default as SourceCitations}from"./components/AgentChat/ChatComponents/SourceCitations.mjs";export{latestTraceLabel}from"./components/AgentChat/ChatComponents/latestTraceLabel.mjs";export{Code}from"./components/Code.mjs";export{Container}from"./components/_Primitives/Container.mjs";export{Grid}from"./components/_Primitives/Grid.mjs";export{Link}from"./components/_Primitives/Link.mjs";export{Select}from"./components/Select.mjs";export{SkipLink}from"./components/SkipLink.mjs";export{StatusBadge}from"./components/StatusBadge.mjs";export{SegmentedControl}from"./components/SegmentedControl.mjs";export{Breadcrumbs}from"./components/Breadcrumbs.mjs";export{Switch}from"./components/_Primitives/Switch.mjs";export{Slider}from"./components/Slider.mjs";export{NotificationBell}from"./components/NotificationBell.mjs";export{NotificationListItem}from"./components/NotificationListItem.mjs";export{ActionBarTitle,Body1,Body2,Caption,ChatWindowBody,H1,H2,H3,H4,MetricValue,Span}from"./components/Typography.mjs";export{MetricStat}from"./components/MetricStat.mjs";export{MetricCard}from"./components/MetricCard.mjs";export{ActionBar}from"./components/ActionBar.mjs";export{AccordionGroup,AccordionGroupItem}from"./components/AccordionGroup.mjs";export{AccordionSingle}from"./components/AccordionSingle.mjs";export{AiButton}from"./components/Buttons/AiButton.mjs";export{AiChip}from"./components/AiChip.mjs";export{AiCard}from"./components/AiCard.mjs";export{AiGlassCard}from"./components/AiGlassCard.mjs";export{AiPaper}from"./components/AiPaper.mjs";export{AiGlassPaper}from"./components/AiGlassPaper.mjs";export{default as Box}from"@mui/material/Box";export{CircularProgress}from"./components/_Primitives/CircularProgress.mjs";export{Collapse}from"./components/_Primitives/Collapse.mjs";export{NexusDataGrid}from"./components/NexusDataGrid.mjs";export{ButtonBase}from"./components/Buttons/ButtonBase.mjs";export{AiButtonTile,ButtonTile}from"./components/ButtonTile.mjs";export{GhostButton}from"./components/Buttons/GhostButton.mjs";export{SelectableList}from"./components/Buttons/SelectableList.mjs";export{Card}from"./components/Card.mjs";export{Checkbox}from"./components/Forms/Checkbox.mjs";export{FormControlLabel}from"./components/Forms/FormControlLabel.mjs";export{FormGroup}from"./components/Forms/FormGroup.mjs";export{CheckboxGroup}from"./components/Forms/CheckboxGroup.mjs";export{FormDialog}from"./components/Forms/FormDialog.mjs";export{Chip}from"./components/_Primitives/Chip.mjs";export{DeltaChip}from"./components/DeltaChip.mjs";export{Dialog,DialogActions,DialogContent,DialogContentText,DialogTitle}from"./components/_Primitives/Dialog.mjs";export{Divider}from"./components/_Primitives/Divider.mjs";export{Table,TableBody,TableCell,TableHead,TableRow}from"./components/_Primitives/Table.mjs";export{GlassCard}from"./components/GlassCard.mjs";export{GlassPaper}from"./components/GlassPaper.mjs";export{GlassPaperAsync}from"./components/GlassPaperAsync.mjs";export{PaperAsync}from"./components/PaperAsync.mjs";export{GreenWaveBackground}from"./components/GreenWaveBackground.mjs";export{IconButton}from"./components/Buttons/IconButton.mjs";export{Avatar}from"./components/Avatar.mjs";export{LoadingSpinnerNexus}from"./components/LoadingSpinnerNexus.mjs";export{LocationMultiSelect}from"./components/LocationMultiSelect.mjs";export{LogoOptions}from"./components/Logo/LogoOptions/index.mjs";export{NexusHome}from"./components/Logo/NexusHome.mjs";export{default as NexusLogo}from"./components/Logo/NexusLogo.mjs";export{NexusNodeIcon}from"./components/Logo/NexusNodeIcon.mjs";export{SageLogoSvg}from"./components/Logo/LogoOptions/SageLogo.mjs";export{Paper}from"./components/_Primitives/Paper.mjs";export{PrimaryButton}from"./components/Buttons/PrimaryButton.mjs";export{PrimaryButtonLink}from"./components/Buttons/PrimaryButtonLink.mjs";export{SecondaryButton}from"./components/Buttons/SecondaryButton.mjs";export{RagDot}from"./components/RagDot.mjs";export{RagChip}from"./components/RagChip.mjs";export{ragColorForDelta}from"./components/ragColorForDelta.mjs";export{SecondaryButtonLink}from"./components/Buttons/SecondaryButtonLink.mjs";export{SearchInput}from"./components/SearchInput.mjs";export{SideBlade}from"./components/SideBlade/SideBlade.mjs";export{SideBladeNavList}from"./components/SideBlade/SideBladeNavList.mjs";export{SideBladeNavListItem}from"./components/SideBlade/SideBladeNavListItem.mjs";export{Skeleton}from"./components/_Primitives/Skeleton.mjs";export{SkillChip}from"./components/SkillChip.mjs";export{Stack}from"./components/_Primitives/Stack.mjs";export{StatusChip}from"./components/StatusChip.mjs";export{Tab}from"./components/_Primitives/Tab.mjs";export{Tabs}from"./components/_Primitives/Tabs.mjs";export{TextField}from"./components/_Primitives/TextField.mjs";export{ThemeToggle}from"./components/Theme/ThemeToggle.mjs";export{Tooltip}from"./components/Tooltip.mjs";export{NexusiFrame}from"./components/NexusiFrame.mjs";export{NexusLineChart}from"./components/Charts/NexusLineChart.mjs";export{NexusAreaChart}from"./components/Charts/NexusAreaChart.mjs";export{NexusStackedAreaChart}from"./components/Charts/NexusStackedAreaChart.mjs";export{ChartsReferenceLine}from"@mui/x-charts/ChartsReferenceLine";export{NexusBarChart}from"./components/Charts/NexusBarChart.mjs";export{NexusStackedBarChart}from"./components/Charts/NexusStackedBarChart.mjs";export{NexusFunnelChart}from"./components/Charts/NexusFunnelChart.mjs";export{NexusPieChart}from"./components/Charts/NexusPieChart.mjs";export{NexusScatterChart}from"./components/Charts/NexusScatterChart.mjs";export{NexusHeatmap}from"./components/Charts/NexusHeatmap.mjs";export{FlowDiagram}from"./components/FlowDiagram.mjs";export{ProcessSteps}from"./components/ProcessSteps.mjs";export{NexusOrbit}from"./components/NexusOrbit.mjs";export{StageProgress}from"./components/StageProgress.mjs";export{ActivityFeed}from"./components/ActivityFeed.mjs";export{BudgetMeter}from"./components/BudgetMeter.mjs";export{CopyButton}from"./components/Buttons/CopyButton.mjs";export{DiffView}from"./components/DiffView.mjs";export{Duration,formatDurationMs}from"./components/Duration.mjs";export{JsonViewer}from"./components/JsonViewer.mjs";export{KeyValueList}from"./components/KeyValueList.mjs";export{NexusEmptyState}from"./components/NexusEmptyState.mjs";export{RelativeTime}from"./components/RelativeTime.mjs";export{Toast}from"./components/Toast.mjs";export{ArtifactViewer,isAllowedImageSrc,resolveArtifact,toSandboxedSrcDoc}from"./components/ArtifactViewer.mjs";export{SchemaFieldView}from"./components/SchemaFieldView.mjs";export{default as nexusLogoNode}from"./assets/images/nexus-logo-node.svg.mjs";export{default as nexusLogoFavicon}from"./assets/images/nexus-logo-favicon.svg.mjs";export{default as nexusLogoIco}from"./assets/images/favicon.ico.mjs";export{getFaviconUrls}from"./assets/images/urls.mjs";export{FaviconLinks}from"./components/FaviconLinks.mjs";export{createSageTheme}from"./components/Theme/sageTheme.mjs";export{colours,fontSageHeadline,fontSageText,fontSageUI,getModeTokens,gradients}from"./components/Theme/tokens.mjs";export{useTokens}from"./components/Theme/useTokens.mjs";export{default as MuiAppThemeProvider}from"./components/Theme/MuiAppThemeProvider.mjs";export{NEXUS_THEME_STORAGE_KEY,ThemeModeContext,ThemeModeProvider,useThemeMode}from"./components/Theme/ThemeContext.mjs";export{AlertTitle,MenuItem,alpha,useMediaQuery,useTheme}from"@mui/material";export{chartDefinitions}from"./charts/chartDefinitions.mjs";export{MAX_CHART_POINTS,validateChartDefinition,validateChartItem}from"./charts/chartCatalogue.mjs";export{sanitizeRawHtmlTable,splitRawHtmlTables}from"./utils/chatTableHtml.mjs";export{safeMarkdownUrl}from"./utils/safeMarkdownUrl.mjs";export{columnsForItemCount,deltaColorForPolarity,formatDatapointDelta,formatDatapointValue}from"./utils/chatDatapoints.mjs";export{formatSurnameFirstname}from"./utils/nameFormats.mjs";export{formatDate,getFiscalPeriod}from"./utils/dateFormats.mjs";export{expandableText,getGradientBorderStyles,leftPipe}from"./components/Theme/sxHelpers.mjs";
1
+ export{DateRangeFilter}from"./components/DateRangeFilter.mjs";export{DateRangePicker}from"./components/DateRangePicker.mjs";export{Alert}from"./components/_Primitives/Alert.mjs";export{AgentChatWidget}from"./components/AgentChat/AgentChatWidget.mjs";export{AgentChatDialog}from"./components/AgentChat/AgentChatDialog.mjs";export{FABButton}from"./components/AgentChat/FABButton.mjs";export{AgentChatWindow}from"./components/AgentChat/AgentChatWindow.mjs";export{AgentChatWindowHeader}from"./components/AgentChat/AgentChatWindowHeader.mjs";export{ChatInput}from"./components/AgentChat/ChatInput.mjs";export{ChatHistory}from"./components/AgentChat/ChatHistory.mjs";export{ChatHistoryHeader}from"./components/AgentChat/ChatHistoryHeader.mjs";export{ChatHistoryButtonBase}from"./components/AgentChat/ChatHistoryButtonBase.mjs";export{ChatHistoryAgentItem}from"./components/AgentChat/ChatHistoryAgentItem.mjs";export{chatHistoryMatchesQuery,filterChatHistoryConversations}from"./components/AgentChat/ChatHistorySearch.mjs";export{CopyableTableContainer}from"./components/AgentChat/ChatComponents/CopyableTableContainer.mjs";export{default as ChatAvatar}from"./components/AgentChat/ChatComponents/ChatAvatar.mjs";export{default as MarkdownContent,chatWindowMarkdownComponents}from"./components/AgentChat/ChatComponents/MarkdownContent.mjs";export{default as ChatResponseMarkdown,safeChatMarkdownComponents}from"./components/AgentChat/ChatComponents/ChatResponseMarkdown.mjs";export{default as ChatDatapoints}from"./components/AgentChat/ChatComponents/ChatDatapoints.mjs";export{default as ChatContentFallback}from"./components/AgentChat/ChatComponents/ChatContentFallback.mjs";export{default as MessageBubble}from"./components/AgentChat/ChatComponents/MessageBubble.mjs";export{default as MessageFeedbackBar}from"./components/AgentChat/ChatComponents/MessageFeedbackBar.mjs";export{default as StreamingBubble}from"./components/AgentChat/ChatComponents/StreamingBubble.mjs";export{default as TypingIndicator}from"./components/AgentChat/ChatComponents/TypingIndicator.mjs";export{default as SuggestedPrompts}from"./components/AgentChat/ChatComponents/SuggestedPrompts.mjs";export{default as MessageList}from"./components/AgentChat/ChatComponents/MessageList.mjs";export{default as EmptyState}from"./components/AgentChat/ChatComponents/EmptyState.mjs";export{default as SourceCitations}from"./components/AgentChat/ChatComponents/SourceCitations.mjs";export{latestTraceLabel}from"./components/AgentChat/ChatComponents/latestTraceLabel.mjs";export{Code}from"./components/Code.mjs";export{Container}from"./components/_Primitives/Container.mjs";export{Grid}from"./components/_Primitives/Grid.mjs";export{Link}from"./components/_Primitives/Link.mjs";export{Select}from"./components/Select.mjs";export{SkipLink}from"./components/SkipLink.mjs";export{StatusBadge}from"./components/StatusBadge.mjs";export{SegmentedControl}from"./components/SegmentedControl.mjs";export{Breadcrumbs}from"./components/Breadcrumbs.mjs";export{Switch}from"./components/_Primitives/Switch.mjs";export{Slider}from"./components/Slider.mjs";export{NotificationBell}from"./components/NotificationBell.mjs";export{NotificationListItem}from"./components/NotificationListItem.mjs";export{ActionBarTitle,Body1,Body2,Caption,ChatWindowBody,H1,H2,H3,H4,MetricValue,Span}from"./components/Typography.mjs";export{MetricStat}from"./components/MetricStat.mjs";export{MetricCard}from"./components/MetricCard.mjs";export{ActionBar}from"./components/ActionBar.mjs";export{AccordionGroup,AccordionGroupItem}from"./components/AccordionGroup.mjs";export{AccordionSingle}from"./components/AccordionSingle.mjs";export{AiButton}from"./components/Buttons/AiButton.mjs";export{AiChip}from"./components/AiChip.mjs";export{AiCard}from"./components/AiCard.mjs";export{AiGlassCard}from"./components/AiGlassCard.mjs";export{AiPaper}from"./components/AiPaper.mjs";export{AiGlassPaper}from"./components/AiGlassPaper.mjs";export{default as Box}from"@mui/material/Box";export{CircularProgress}from"./components/_Primitives/CircularProgress.mjs";export{Collapse}from"./components/_Primitives/Collapse.mjs";export{NexusDataGrid}from"./components/NexusDataGrid.mjs";export{ButtonBase}from"./components/Buttons/ButtonBase.mjs";export{AiButtonTile,ButtonTile}from"./components/ButtonTile.mjs";export{GhostButton}from"./components/Buttons/GhostButton.mjs";export{SelectableList}from"./components/Buttons/SelectableList.mjs";export{Card}from"./components/Card.mjs";export{Checkbox}from"./components/Forms/Checkbox.mjs";export{FormControlLabel}from"./components/Forms/FormControlLabel.mjs";export{FormGroup}from"./components/Forms/FormGroup.mjs";export{CheckboxGroup}from"./components/Forms/CheckboxGroup.mjs";export{FormDialog}from"./components/Forms/FormDialog.mjs";export{Chip}from"./components/_Primitives/Chip.mjs";export{DeltaChip}from"./components/DeltaChip.mjs";export{Dialog,DialogActions,DialogContent,DialogContentText,DialogTitle}from"./components/_Primitives/Dialog.mjs";export{Divider}from"./components/_Primitives/Divider.mjs";export{Table,TableBody,TableCell,TableHead,TableRow}from"./components/_Primitives/Table.mjs";export{GlassCard}from"./components/GlassCard.mjs";export{GlassPaper}from"./components/GlassPaper.mjs";export{GlassPaperAsync}from"./components/GlassPaperAsync.mjs";export{PaperAsync}from"./components/PaperAsync.mjs";export{GreenWaveBackground}from"./components/GreenWaveBackground.mjs";export{IconButton}from"./components/Buttons/IconButton.mjs";export{Avatar}from"./components/Avatar.mjs";export{LoadingSpinnerNexus}from"./components/LoadingSpinnerNexus.mjs";export{LocationMultiSelect}from"./components/LocationMultiSelect.mjs";export{LogoOptions}from"./components/Logo/LogoOptions/index.mjs";export{NexusHome}from"./components/Logo/NexusHome.mjs";export{default as NexusLogo}from"./components/Logo/NexusLogo.mjs";export{NexusNodeIcon}from"./components/Logo/NexusNodeIcon.mjs";export{SageLogoSvg}from"./components/Logo/LogoOptions/SageLogo.mjs";export{Paper}from"./components/_Primitives/Paper.mjs";export{PrimaryButton}from"./components/Buttons/PrimaryButton.mjs";export{PrimaryButtonLink}from"./components/Buttons/PrimaryButtonLink.mjs";export{SecondaryButton}from"./components/Buttons/SecondaryButton.mjs";export{RagDot}from"./components/RagDot.mjs";export{RagChip}from"./components/RagChip.mjs";export{ragColorForDelta}from"./components/ragColorForDelta.mjs";export{SecondaryButtonLink}from"./components/Buttons/SecondaryButtonLink.mjs";export{SearchInput}from"./components/SearchInput.mjs";export{SideBlade}from"./components/SideBlade/SideBlade.mjs";export{SideBladeNavList}from"./components/SideBlade/SideBladeNavList.mjs";export{SideBladeNavListItem}from"./components/SideBlade/SideBladeNavListItem.mjs";export{Skeleton}from"./components/_Primitives/Skeleton.mjs";export{SkillChip}from"./components/SkillChip.mjs";export{Stack}from"./components/_Primitives/Stack.mjs";export{StatusChip}from"./components/StatusChip.mjs";export{Tab}from"./components/_Primitives/Tab.mjs";export{Tabs}from"./components/_Primitives/Tabs.mjs";export{TextField}from"./components/_Primitives/TextField.mjs";export{ThemeToggle}from"./components/Theme/ThemeToggle.mjs";export{Tooltip}from"./components/Tooltip.mjs";export{NexusiFrame}from"./components/NexusiFrame.mjs";export{NexusLineChart}from"./components/Charts/NexusLineChart.mjs";export{NexusAreaChart}from"./components/Charts/NexusAreaChart.mjs";export{NexusStackedAreaChart}from"./components/Charts/NexusStackedAreaChart.mjs";export{ChartsReferenceLine}from"@mui/x-charts/ChartsReferenceLine";export{NexusBarChart}from"./components/Charts/NexusBarChart.mjs";export{NexusStackedBarChart}from"./components/Charts/NexusStackedBarChart.mjs";export{NexusFunnelChart}from"./components/Charts/NexusFunnelChart.mjs";export{NexusPieChart}from"./components/Charts/NexusPieChart.mjs";export{NexusScatterChart}from"./components/Charts/NexusScatterChart.mjs";export{NexusHeatmap}from"./components/Charts/NexusHeatmap.mjs";export{FlowDiagram}from"./components/FlowDiagram.mjs";export{ProcessSteps}from"./components/ProcessSteps.mjs";export{NexusOrbit}from"./components/NexusOrbit.mjs";export{SectionNav}from"./components/SectionNav.mjs";export{Carousel}from"./components/Carousel.mjs";export{StageProgress}from"./components/StageProgress.mjs";export{ActivityFeed}from"./components/ActivityFeed.mjs";export{BudgetMeter}from"./components/BudgetMeter.mjs";export{CopyButton}from"./components/Buttons/CopyButton.mjs";export{DiffView}from"./components/DiffView.mjs";export{Duration,formatDurationMs}from"./components/Duration.mjs";export{JsonViewer}from"./components/JsonViewer.mjs";export{KeyValueList}from"./components/KeyValueList.mjs";export{NexusEmptyState}from"./components/NexusEmptyState.mjs";export{RelativeTime}from"./components/RelativeTime.mjs";export{Toast}from"./components/Toast.mjs";export{ArtifactViewer,isAllowedImageSrc,resolveArtifact,toSandboxedSrcDoc}from"./components/ArtifactViewer.mjs";export{SchemaFieldView}from"./components/SchemaFieldView.mjs";export{default as nexusLogoNode}from"./assets/images/nexus-logo-node.svg.mjs";export{default as nexusLogoFavicon}from"./assets/images/nexus-logo-favicon.svg.mjs";export{default as nexusLogoIco}from"./assets/images/favicon.ico.mjs";export{getFaviconUrls}from"./assets/images/urls.mjs";export{FaviconLinks}from"./components/FaviconLinks.mjs";export{createSageTheme}from"./components/Theme/sageTheme.mjs";export{colours,fontSageHeadline,fontSageText,fontSageUI,getModeTokens,gradients}from"./components/Theme/tokens.mjs";export{useTokens}from"./components/Theme/useTokens.mjs";export{default as MuiAppThemeProvider}from"./components/Theme/MuiAppThemeProvider.mjs";export{NEXUS_THEME_STORAGE_KEY,ThemeModeContext,ThemeModeProvider,useThemeMode}from"./components/Theme/ThemeContext.mjs";export{AlertTitle,MenuItem,alpha,useMediaQuery,useTheme}from"@mui/material";export{chartDefinitions}from"./charts/chartDefinitions.mjs";export{MAX_CHART_POINTS,validateChartDefinition,validateChartItem}from"./charts/chartCatalogue.mjs";export{sanitizeRawHtmlTable,splitRawHtmlTables}from"./utils/chatTableHtml.mjs";export{safeMarkdownUrl}from"./utils/safeMarkdownUrl.mjs";export{columnsForItemCount,deltaColorForPolarity,formatDatapointDelta,formatDatapointValue}from"./utils/chatDatapoints.mjs";export{formatSurnameFirstname}from"./utils/nameFormats.mjs";export{formatDate,getFiscalPeriod}from"./utils/dateFormats.mjs";export{expandableText,getGradientBorderStyles,leftPipe}from"./components/Theme/sxHelpers.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "it-data-nexus-ui-library",
3
- "version": "2.10.4",
3
+ "version": "2.10.5",
4
4
  "description": "Nexus core components",
5
5
  "license": "ISC",
6
6
  "author": "emsmart-sage",