it-data-nexus-ui-library 2.10.4 → 2.10.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.
- package/dist/charts/chartDefinitions.mjs +1 -1
- package/dist/components/ArtifactViewer.mjs +1 -1
- package/dist/components/Carousel.mjs +1 -0
- package/dist/components/Charts/NexusFunnelChart.mjs +1 -1
- package/dist/components/Charts/funnelDataset.mjs +1 -0
- package/dist/components/SectionNav.mjs +1 -0
- package/dist/generated/version.mjs +1 -1
- package/dist/index.d.ts +92 -13
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{NexusBarChart as e}from"../components/Charts/NexusBarChart.mjs";import{
|
|
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
|
|
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=>({"&":"&","<":"<",">":">",'"':"""}[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
|
|
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 r,useEffect as o,useCallback as n}from"react";import i from"@mui/material/Box";import{Caption as a}from"./Typography.mjs";const s="#main-content",c="h1, h2, h3, h4, h5, h6",l=e=>null===e?null:"string"==typeof e?document.querySelector(e):e??document.querySelector(s),d=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches?"auto":"smooth",p=({items:p,"aria-label":u,scrollRoot:m=s,sticky:x=!0,stickyOffset:f=0,sx:h})=>{const[y,v]=t(p[0]?.id),[b,w]=t(!0),g=r(null),k=r(0),S=r(!1),I=r(void 0),T=p.map(e=>e.id).join("\n");o(()=>{const e=T?T.split("\n"):[],t=l(m),r=new Set,o=new IntersectionObserver(t=>{for(const e of t)e.isIntersecting?r.add(e.target.id):r.delete(e.target.id);const o=e.find(e=>r.has(e));o&&v(o)},{root:t,rootMargin:"-35% 0px -60% 0px"});for(const t of e){const e=document.getElementById(t);e&&o.observe(e)}return()=>o.disconnect()},[T,m]),o(()=>{if(!x)return;const e=l(m),t=e??window,r=()=>{const t=e?e.scrollTop:window.scrollY,r=t-k.current;k.current=t,S.current||(t<=0||r<-5?w(!0):t>100&&r>8&&w(!1))};return t.addEventListener("scroll",r,{passive:!0}),()=>{t.removeEventListener("scroll",r),clearTimeout(I.current)}},[x,m]),o(()=>{const e=g.current,t=e?.querySelector('[aria-current="location"]');!e||!t||e.scrollWidth<=e.clientWidth||e.scrollTo({left:t.offsetLeft-(e.clientWidth-t.offsetWidth)/2,behavior:d()})},[y]);const D=n((e,t)=>{if(e.defaultPrevented||0!==e.button)return;if(e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;const r=document.getElementById(t);if(!r)return;e.preventDefault();const o=r.matches(c)?r:r.querySelector(c)??r;o.hasAttribute("tabindex")||o.setAttribute("tabindex","-1"),w(!0),S.current=!0,clearTimeout(I.current),I.current=setTimeout(()=>{S.current=!1},1e3),r.scrollIntoView({block:"start",behavior:d()}),o.focus({preventScroll:!0}),v(t)},[]);return e(i,{ref:g,component:"nav","aria-label":u,sx:[e=>({width:"100%",boxSizing:"border-box",overflowX:{xs:"auto",sm:"visible"},overscrollBehaviorX:"contain",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},px:{xs:"16px",sm:x?"16px":0},maskImage:{xs:"linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent)",sm:"none"},position:x?"sticky":"relative",top:x?f:void 0,zIndex:x?e.zIndex.appBar:void 0,backgroundColor:x?"background.default":void 0,...x&&{opacity:b?1:0,visibility:b?"visible":"hidden",pointerEvents:b?void 0:"none",transition:"opacity 0.2s ease, visibility 0.2s ease","@media (prefers-reduced-motion: reduce)":{transition:"none"}}}),...Array.isArray(h)?h:h?[h]:[]],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:p.map(({id:t,label:r})=>{const o=t===y;return e(i,{component:"li",sx:{flex:"none"},children:e(i,{component:"a",href:`#${t}`,"aria-current":o?"location":void 0,onClick:e=>D(e,t),sx:{display:"block",py:1.25,whiteSpace:"nowrap",color:o?"text.primary":"text.secondary",textDecoration:o?"underline":"none",textDecorationColor:e=>e.palette.primary.main,textDecorationThickness:o?"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:r})})},t)})})})};export{p as SectionNav};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const o="2.10.
|
|
1
|
+
const o="2.10.6";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[];
|
|
@@ -1631,20 +1632,13 @@ declare const ProcessSteps: {
|
|
|
1631
1632
|
};
|
|
1632
1633
|
|
|
1633
1634
|
interface NexusOrbitProps {
|
|
1634
|
-
/** Node labels in order, spaced evenly around the orbit. Designed for 3 to 6; anything past 6 is ignored. */
|
|
1635
1635
|
labels: string[];
|
|
1636
|
-
/** Replaces the centre graphic. Defaults to `NexusNodeIcon` (lg, brand). */
|
|
1637
1636
|
core?: ReactNode;
|
|
1638
|
-
/**
|
|
1639
|
-
* Makes the orbit meaningful to assistive tech: the root becomes an image named
|
|
1640
|
-
* `<aria-label>: <label>, <label>, ...`. Omit it and the orbit is decorative (`aria-hidden`).
|
|
1641
|
-
*/
|
|
1642
1637
|
"aria-label"?: string;
|
|
1643
1638
|
sx?: SxProps<Theme>;
|
|
1644
1639
|
}
|
|
1645
1640
|
/**
|
|
1646
|
-
* A square, container-scaled orbit graphic: a soft halo and three concentric rings around a
|
|
1647
|
-
* rotated rounded-square core, with labelled nodes that circle slowly while their text stays upright.
|
|
1641
|
+
* A square, container-scaled orbit graphic: a soft halo and three concentric rings around a rotated rounded-square core, with labelled nodes that circle slowly while their text stays upright.
|
|
1648
1642
|
*
|
|
1649
1643
|
* Under `prefers-reduced-motion: reduce` nothing animates; nodes sit at their angles.
|
|
1650
1644
|
* There is no pause control, so keep it to a single decorative hero use.
|
|
@@ -1658,6 +1652,90 @@ declare const NexusOrbit: {
|
|
|
1658
1652
|
displayName: string;
|
|
1659
1653
|
};
|
|
1660
1654
|
|
|
1655
|
+
interface SectionNavItem {
|
|
1656
|
+
id: string;
|
|
1657
|
+
label: string;
|
|
1658
|
+
}
|
|
1659
|
+
interface SectionNavProps {
|
|
1660
|
+
/** Ordered sections. Each `id` must match an element on the page. */
|
|
1661
|
+
items: SectionNavItem[];
|
|
1662
|
+
"aria-label": string;
|
|
1663
|
+
/**
|
|
1664
|
+
* The element the page scrolls inside: a CSS selector or an element. Defaults to the
|
|
1665
|
+
* app's `#main-content` container, because Nexus pages scroll there and not in the window.
|
|
1666
|
+
* `null`, or a selector that matches nothing, falls back to the window.
|
|
1667
|
+
*/
|
|
1668
|
+
scrollRoot?: string | HTMLElement | null;
|
|
1669
|
+
/** Pin the nav to the top of the scroll root while its sections scroll underneath. Defaults to `true`. */
|
|
1670
|
+
sticky?: boolean;
|
|
1671
|
+
/** Distance in px from the top of the scroll root when `sticky`. Defaults to 0. */
|
|
1672
|
+
stickyOffset?: number;
|
|
1673
|
+
sx?: SxProps<Theme>;
|
|
1674
|
+
}
|
|
1675
|
+
/**
|
|
1676
|
+
* In-page section navigation: a named `nav` landmark of anchor links that marks the
|
|
1677
|
+
* section in view with `aria-current="location"`.
|
|
1678
|
+
*
|
|
1679
|
+
* Activating a link (click, Enter) scrolls to the section and moves focus to its heading
|
|
1680
|
+
* (the first `h1`-`h6` inside the section, or the section itself when it has none), without
|
|
1681
|
+
* a second scroll. Smooth scrolling is turned off under `prefers-reduced-motion`. Without
|
|
1682
|
+
* JavaScript the links still work as plain `#fragment` anchors.
|
|
1683
|
+
*
|
|
1684
|
+
* When `sticky` is true (the default) the nav pins at the top of the scroll root, hides on downward scroll,
|
|
1685
|
+
* and reappears on any upward scroll. Clicking a link keeps the nav visible briefly so the
|
|
1686
|
+
* user can chain navigations. Give sections a `scroll-margin-top` equal to the nav height.
|
|
1687
|
+
*
|
|
1688
|
+
* Below `sm` the items scroll sideways inside the component instead of wrapping.
|
|
1689
|
+
*
|
|
1690
|
+
* ```tsx
|
|
1691
|
+
* <SectionNav
|
|
1692
|
+
* aria-label="About sections"
|
|
1693
|
+
* items={[{ id: "capabilities", label: "Capabilities" }]}
|
|
1694
|
+
* sticky
|
|
1695
|
+
* />
|
|
1696
|
+
* ```
|
|
1697
|
+
*/
|
|
1698
|
+
declare const SectionNav: ({ items, "aria-label": ariaLabel, scrollRoot, sticky, stickyOffset, sx, }: SectionNavProps) => react.JSX.Element;
|
|
1699
|
+
|
|
1700
|
+
type CarouselBreakpoint = "xs" | "sm" | "md" | "lg";
|
|
1701
|
+
/** Cards visible at once per breakpoint. Fractions leave the next card peeking, e.g. `1.15`. */
|
|
1702
|
+
type CarouselItemsPerView = Partial<Record<CarouselBreakpoint, number>>;
|
|
1703
|
+
interface CarouselProps {
|
|
1704
|
+
/** One card per child. */
|
|
1705
|
+
children: ReactNode;
|
|
1706
|
+
/** Accessible name of the scrolling region, e.g. "Platform capabilities". */
|
|
1707
|
+
"aria-label": string;
|
|
1708
|
+
/** Cards per view from each breakpoint up. Defaults to 1 / 2 / 3 / 4. */
|
|
1709
|
+
itemsPerView?: CarouselItemsPerView;
|
|
1710
|
+
/** Gap between cards, in theme spacing units. Defaults to 2.5 (20px). */
|
|
1711
|
+
gap?: number;
|
|
1712
|
+
/** Accessible name of the previous control. Defaults to "Previous". */
|
|
1713
|
+
previousLabel?: string;
|
|
1714
|
+
/** Accessible name of the next control. Defaults to "Next". */
|
|
1715
|
+
nextLabel?: string;
|
|
1716
|
+
sx?: SxProps<Theme>;
|
|
1717
|
+
}
|
|
1718
|
+
/**
|
|
1719
|
+
* A manual card carousel: a horizontally scrolling scroll-snap track with
|
|
1720
|
+
* previous / next controls that disable at the ends.
|
|
1721
|
+
*
|
|
1722
|
+
* - The track is a labelled, focusable region, so the arrow keys scroll it.
|
|
1723
|
+
* - Cards that are mostly off-screen are `inert`: they are not announced and
|
|
1724
|
+
* their contents leave the tab order until they scroll into view.
|
|
1725
|
+
* - Smooth scrolling is off under `prefers-reduced-motion`.
|
|
1726
|
+
* - Cards are not moved with transforms; scrolling is the only motion.
|
|
1727
|
+
*
|
|
1728
|
+
* ```tsx
|
|
1729
|
+
* <Carousel aria-label="Capabilities" itemsPerView={{ xs: 1.15, sm: 2, lg: 4 }}>
|
|
1730
|
+
* {cards}
|
|
1731
|
+
* </Carousel>
|
|
1732
|
+
* ```
|
|
1733
|
+
*/
|
|
1734
|
+
declare const Carousel: {
|
|
1735
|
+
({ children, "aria-label": ariaLabel, itemsPerView, gap, previousLabel, nextLabel, sx, }: CarouselProps): react.JSX.Element;
|
|
1736
|
+
displayName: string;
|
|
1737
|
+
};
|
|
1738
|
+
|
|
1661
1739
|
type StageState = "pending" | "active" | "done" | "failed" | "skipped" | "waiting";
|
|
1662
1740
|
interface StageProgressStep {
|
|
1663
1741
|
label: string;
|
|
@@ -1897,9 +1975,10 @@ declare const isAllowedImageSrc: (src: string, imageOrigins?: string[]) => boole
|
|
|
1897
1975
|
/**
|
|
1898
1976
|
* The frame is sandboxed with no tokens (opaque origin; no script, forms,
|
|
1899
1977
|
* popups or top navigation). Sandboxing alone still lets the frame navigate
|
|
1900
|
-
* itself
|
|
1901
|
-
*
|
|
1902
|
-
*
|
|
1978
|
+
* itself and lets link hints (dns-prefetch/preconnect) escape CSP, so the HTML
|
|
1979
|
+
* goes through DOMPurify with link, base and meta refresh forbidden, a CSP
|
|
1980
|
+
* blocks every other fetch, and every anchor targets a new window, which the
|
|
1981
|
+
* sandbox blocks. If the result could still beacon it is shown as text.
|
|
1903
1982
|
*/
|
|
1904
1983
|
declare const toSandboxedSrcDoc: (html: string) => string;
|
|
1905
1984
|
/** Decides which renderer to use and whether the content contradicts its declared type. */
|
|
@@ -2153,5 +2232,5 @@ declare const getGradientBorderStyles: (theme: Theme, options?: GradientBorderOp
|
|
|
2153
2232
|
declare const leftPipe: SxProps<Theme>;
|
|
2154
2233
|
declare const expandableText: (isExpanded: boolean) => SxProps<Theme>;
|
|
2155
2234
|
|
|
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 };
|
|
2235
|
+
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 };
|
|
2236
|
+
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";
|