it-data-nexus-ui-library 2.8.2 → 2.8.4

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{jsx as o,jsxs as r}from"react/jsx-runtime";import{useId as t}from"react";import{useTheme as e,alpha as i}from"@mui/material/styles";import{getChartColours as s}from"../Theme/chartColours.mjs";import{ChartFrame as p}from"./chartFrame.mjs";import{BarChart as a}from"../../node_modules/@mui/x-charts/BarChart/BarChart.mjs";function l({slotProps:l,slots:d,title:n,titleHidden:m,description:c,actions:f,isLoading:h,isError:x,errorMessage:u,paperSx:y,...g}){const C=e(),j=s(C.palette.mode),z=t().replace(/:/g,""),O="horizontal"===g.layout,$=j.map((o,r)=>({id:`${z}bg${r}`,color:o}));return o(p,{title:n,titleHidden:m,description:c,actions:f,isLoading:h,isError:x,errorMessage:u,paperSx:y,children:o(a,{colors:$.map(({id:o})=>`url(#${o})`),...g,grid:{vertical:!0,horizontal:!0},slots:d,slotProps:{...l,tooltip:{popperOptions:{strategy:"fixed"},sx:{zIndex:1300},container:()=>document.body,...l?.tooltip}},children:o("defs",{children:$.map(({id:t,color:e})=>r("linearGradient",O?{id:t,x1:"0",y1:"0",x2:"1",y2:"0",children:[o("stop",{offset:"0%",stopColor:i(e,.15)}),o("stop",{offset:"100%",stopColor:e,stopOpacity:1})]}:{id:t,x1:"0",y1:"0",x2:"0",y2:"1",children:[o("stop",{offset:"0%",stopColor:e,stopOpacity:1}),o("stop",{offset:"100%",stopColor:i(e,.15)})]},t))})})})}export{l as NexusBarChart};
1
+ import{jsx as o,jsxs as t}from"react/jsx-runtime";import{useId as r}from"react";import{useTheme as e,alpha as i}from"@mui/material/styles";import{getChartColours as s}from"../Theme/chartColours.mjs";import{ChartFrame as p}from"./chartFrame.mjs";import{BarChart as l}from"../../node_modules/@mui/x-charts/BarChart/BarChart.mjs";function a({slotProps:a,slots:n,title:m,titleComponent:d,titleHidden:c,description:f,actions:h,isLoading:x,isError:u,errorMessage:y,paperSx:C,...g}){const j=e(),z=s(j.palette.mode),O=r().replace(/:/g,""),$="horizontal"===g.layout,b=z.map((o,t)=>({id:`${O}bg${t}`,color:o}));return o(p,{title:m,titleComponent:d,titleHidden:c,description:f,actions:h,isLoading:x,isError:u,errorMessage:y,paperSx:C,children:o(l,{colors:b.map(({id:o})=>`url(#${o})`),...g,grid:{vertical:!0,horizontal:!0},slots:n,slotProps:{...a,tooltip:{popperOptions:{strategy:"fixed"},sx:{zIndex:1300},container:()=>document.body,...a?.tooltip}},children:o("defs",{children:b.map(({id:r,color:e})=>t("linearGradient",$?{id:r,x1:"0",y1:"0",x2:"1",y2:"0",children:[o("stop",{offset:"0%",stopColor:i(e,.15)}),o("stop",{offset:"100%",stopColor:e,stopOpacity:1})]}:{id:r,x1:"0",y1:"0",x2:"0",y2:"1",children:[o("stop",{offset:"0%",stopColor:e,stopOpacity:1}),o("stop",{offset:"100%",stopColor:i(e,.15)})]},r))})})})}export{a as NexusBarChart};
@@ -0,0 +1 @@
1
+ import{jsx as e,jsxs as r}from"react/jsx-runtime";import{Caption as i,Body2 as o}from"../Typography.mjs";import{Stack as l}from"../_Primitives/Stack.mjs";import{ChartFrame as t}from"./chartFrame.mjs";function a({rows:a,columns:n,cells:s,statusMap:d,sx:c,title:m,titleComponent:p,titleHidden:x,description:b,actions:h,isLoading:g,isError:u,errorMessage:f,paperSx:$}){const w=new Map(s.map(e=>[`${e.rowId}:${e.columnId}`,e]));return e(t,{title:m,titleComponent:p,titleHidden:x,description:b,actions:h,isLoading:g,isError:u,errorMessage:f,paperSx:$,children:r(l,{sx:[{gap:.5},...Array.isArray(c)?c:c?[c]:[]],role:"table","aria-label":m??"Heatmap",children:[r(l,{direction:"row",role:"row",sx:{gap:.5},children:[e(l,{sx:{flex:"0 0 120px"}}),n.map(r=>e(l,{role:"columnheader",sx:{flex:1,alignItems:"center",minWidth:0},children:e(i,{sx:{textAlign:"center"},children:r.label})},r.id))]}),a.map(i=>r(l,{direction:"row",role:"row",sx:{gap:.5},children:[e(l,{role:"rowheader",sx:{flex:"0 0 120px",justifyContent:"center",minWidth:0},children:e(o,{children:i.label})}),n.map(r=>{const o=w.get(`${i.id}:${r.id}`),t=o?d[o.status]:void 0,a=o?.label??t?.label??"No data";if(!t)return e(l,{role:"cell","aria-label":`${a}: ${i.label}, ${r.label}`,sx:{flex:1,minHeight:40,border:1,borderColor:"divider",borderRadius:.5,bgcolor:"action.hover"}},r.id);const{Icon:n,color:s}=t;return e(l,{role:"cell",sx:{flex:1,minHeight:40,alignItems:"center",justifyContent:"center",border:1,borderColor:"divider",borderRadius:.5,bgcolor:"action.hover"},children:e(n,{"aria-label":`${a}: ${i.label}, ${r.label}`,titleAccess:`${a}: ${i.label}, ${r.label}`,sx:{color:s,fontSize:22}})},r.id)})]},i.id))]})})}a.displayName="NexusHeatmap";export{a as NexusHeatmap};
@@ -1 +1 @@
1
- import{jsx as r,jsxs as e}from"react/jsx-runtime";import{useId as t,useRef as o,useMemo as i}from"react";import{useTheme as s}from"@mui/material/styles";import{getChartColours as a}from"../Theme/chartColours.mjs";import{ChartFrame as n}from"./chartFrame.mjs";import{AnimatedArea as p}from"../../node_modules/@mui/x-charts/LineChart/AnimatedArea.mjs";import{LineChart as m}from"../../node_modules/@mui/x-charts/LineChart/LineChart.mjs";function d({sx:d,xAxis:l,grid:c,series:f=[],slots:x,slotProps:h,children:u,title:g,titleHidden:y,description:C,actions:S,isLoading:j,isError:w,errorMessage:A,paperSx:L,...$}){const z=s(),I=a(z.palette.mode),M=t().replace(/:/g,""),O=l?.map(r=>({scaleType:"point",...r})),v=f.map((r,e)=>r.area&&!r.id?{...r,id:`${M}s${e}`}:r),E=new Map(v.map((r,e)=>({s:r,i:e})).filter(({s:r})=>r.area).map(({s:r,i:e})=>[r.id,`${M}g${e}`])),H=o(E);H.current=E;const P=i(()=>function(e){const t=e.ownerState?.seriesId,o=t?H.current.get(t):void 0;return r(p,{...e,ownerState:o?{...e.ownerState,gradientId:o}:e.ownerState})},[M]);return r(n,{title:g,titleHidden:y,description:C,actions:S,isLoading:j,isError:w,errorMessage:A,paperSx:L,children:e(m,{colors:I,xAxis:O,grid:c??{horizontal:!0,vertical:!0},series:v,slots:{area:P,...x},slotProps:{...h,tooltip:{popperOptions:{strategy:"fixed"},sx:{zIndex:1300},container:()=>document.body,...h?.tooltip}},sx:d,...$,children:[E.size>0&&r("defs",{children:Array.from(E.entries()).map(([,t],o)=>e("linearGradient",{id:t,x1:"0",y1:"0",x2:"0",y2:"1",children:[r("stop",{offset:"0%",stopColor:I[o%I.length],stopOpacity:.4}),r("stop",{offset:"100%",stopColor:I[o%I.length],stopOpacity:0})]},t))}),u]})})}export{d as NexusLineChart};
1
+ import{jsx as e,jsxs as t}from"react/jsx-runtime";import{useId as r,useRef as o,useMemo as i}from"react";import{useTheme as s}from"@mui/material/styles";import{getChartColours as n}from"../Theme/chartColours.mjs";import{ChartFrame as a}from"./chartFrame.mjs";import{AnimatedArea as p}from"../../node_modules/@mui/x-charts/LineChart/AnimatedArea.mjs";import{LineChart as m}from"../../node_modules/@mui/x-charts/LineChart/LineChart.mjs";function d({sx:d,xAxis:l,grid:c,series:f=[],slots:x,slotProps:h,children:u,title:g,titleComponent:y,titleHidden:C,description:S,actions:j,isLoading:w,isError:A,errorMessage:L,paperSx:$,...z}){const I=s(),M=n(I.palette.mode),O=r().replace(/:/g,""),v=l?.map(e=>({scaleType:"point",...e})),E=f.map((e,t)=>e.area&&!e.id?{...e,id:`${O}s${t}`}:e),H=new Map(E.map((e,t)=>({s:e,i:t})).filter(({s:e})=>e.area).map(({s:e,i:t})=>[e.id,`${O}g${t}`])),P=o(H);P.current=H;const T=i(()=>function(t){const r=t.ownerState?.seriesId,o=r?P.current.get(r):void 0;return e(p,{...t,ownerState:o?{...t.ownerState,gradientId:o}:t.ownerState})},[O]);return e(a,{title:g,titleComponent:y,titleHidden:C,description:S,actions:j,isLoading:w,isError:A,errorMessage:L,paperSx:$,children:t(m,{colors:M,xAxis:v,grid:c??{horizontal:!0,vertical:!0},series:E,slots:{area:T,...x},slotProps:{...h,tooltip:{popperOptions:{strategy:"fixed"},sx:{zIndex:1300},container:()=>document.body,...h?.tooltip}},sx:d,...z,children:[H.size>0&&e("defs",{children:Array.from(H.entries()).map(([,r],o)=>t("linearGradient",{id:r,x1:"0",y1:"0",x2:"0",y2:"1",children:[e("stop",{offset:"0%",stopColor:M[o%M.length],stopOpacity:.4}),e("stop",{offset:"100%",stopColor:M[o%M.length],stopOpacity:0})]},r))}),u]})})}export{d as NexusLineChart};
@@ -1 +1 @@
1
- import{jsx as o,jsxs as r}from"react/jsx-runtime";import{useId as t,useRef as e}from"react";import{useTheme as i,alpha as s}from"@mui/material/styles";import{getChartColours as c}from"../Theme/chartColours.mjs";import{ChartFrame as p}from"./chartFrame.mjs";import{PieArc as n}from"../../node_modules/@mui/x-charts/PieChart/PieArc.mjs";import{PieChart as m}from"../../node_modules/@mui/x-charts/PieChart/PieChart.mjs";function a({slotProps:a,slots:l,title:d,description:u,actions:f,isLoading:h,isError:x,errorMessage:g,paperSx:y,...C}){const P=i(),j=c(P.palette.mode),M=t().replace(/:/g,""),$=j.map((o,r)=>({id:`${M}pg${r}`,color:o})),A=new Map($.map(({id:o,color:r})=>[r,o])),E=e(A);E.current=A;const L=e(function(r){const t=r.color?E.current.get(r.color):void 0;return o(n,{...r,color:t?`url(#${t})`:r.color})}).current;return o(p,{title:d,description:u,actions:f,isLoading:h,isError:x,errorMessage:g,paperSx:y,children:o(m,{colors:j,...C,slots:{pieArc:L,...l},slotProps:{...a,tooltip:{popperOptions:{strategy:"fixed"},sx:{zIndex:1300},container:()=>document.body,...a?.tooltip}},children:o("defs",{children:$.map(({id:t,color:e})=>r("linearGradient",{id:t,x1:"0",y1:"0",x2:"0",y2:"1",children:[o("stop",{offset:"0%",stopColor:s(e,.15)}),o("stop",{offset:"100%",stopColor:e,stopOpacity:1})]},t))})})})}export{a as NexusPieChart};
1
+ import{jsx as o,jsxs as r}from"react/jsx-runtime";import{useId as t,useRef as e}from"react";import{useTheme as i,alpha as s}from"@mui/material/styles";import{getChartColours as n}from"../Theme/chartColours.mjs";import{ChartFrame as p}from"./chartFrame.mjs";import{PieArc as c}from"../../node_modules/@mui/x-charts/PieChart/PieArc.mjs";import{PieChart as l}from"../../node_modules/@mui/x-charts/PieChart/PieChart.mjs";function m({slotProps:m,slots:a,title:d,titleComponent:u,titleHidden:f,description:h,actions:x,isLoading:g,isError:C,errorMessage:y,paperSx:P,...j}){const M=i(),$=n(M.palette.mode),A=t().replace(/:/g,""),E=$.map((o,r)=>({id:`${A}pg${r}`,color:o})),H=new Map(E.map(({id:o,color:r})=>[r,o])),L=e(H);L.current=H;const O=e(function(r){const t=r.color?L.current.get(r.color):void 0;return o(c,{...r,color:t?`url(#${t})`:r.color})}).current;return o(p,{title:d,titleComponent:u,titleHidden:f,description:h,actions:x,isLoading:g,isError:C,errorMessage:y,paperSx:P,children:o(l,{colors:$,...j,slots:{pieArc:O,...a},slotProps:{...m,tooltip:{popperOptions:{strategy:"fixed"},sx:{zIndex:1300},container:()=>document.body,...m?.tooltip}},children:o("defs",{children:E.map(({id:t,color:e})=>r("linearGradient",{id:t,x1:"0",y1:"0",x2:"0",y2:"1",children:[o("stop",{offset:"0%",stopColor:s(e,.15)}),o("stop",{offset:"100%",stopColor:e,stopOpacity:1})]},t))})})})}export{m as NexusPieChart};
@@ -1 +1 @@
1
- import{jsx as r}from"react/jsx-runtime";import{useTheme as o}from"@mui/material/styles";import{getChartColours as t}from"../Theme/chartColours.mjs";import{ChartFrame as e}from"./chartFrame.mjs";import{ScatterChart as i}from"../../node_modules/@mui/x-charts/ScatterChart/ScatterChart.mjs";function s({slotProps:s,slots:a,title:m,description:p,actions:n,isLoading:c,isError:l,errorMessage:d,paperSx:h,...u}){const x=o(),f=t(x.palette.mode);return r(e,{title:m,description:p,actions:n,isLoading:c,isError:l,errorMessage:d,paperSx:h,children:r(i,{colors:f,...u,grid:u.grid??{vertical:!0,horizontal:!0},slots:a,slotProps:{...s,tooltip:{popperOptions:{strategy:"fixed"},sx:{zIndex:1300},container:()=>document.body,...s?.tooltip}}})})}export{s as NexusScatterChart};
1
+ import{jsx as t}from"react/jsx-runtime";import{useTheme as r}from"@mui/material/styles";import{getChartColours as o}from"../Theme/chartColours.mjs";import{ChartFrame as e}from"./chartFrame.mjs";import{ScatterChart as i}from"../../node_modules/@mui/x-charts/ScatterChart/ScatterChart.mjs";function s({slotProps:s,slots:n,title:a,titleComponent:m,titleHidden:p,description:l,actions:d,isLoading:c,isError:h,errorMessage:u,paperSx:x,...f}){const g=r(),C=o(g.palette.mode);return t(e,{title:a,titleComponent:m,titleHidden:p,description:l,actions:d,isLoading:c,isError:h,errorMessage:u,paperSx:x,children:t(i,{colors:C,...f,grid:f.grid??{vertical:!0,horizontal:!0},slots:n,slotProps:{...s,tooltip:{popperOptions:{strategy:"fixed"},sx:{zIndex:1300},container:()=>document.body,...s?.tooltip}}})})}export{s as NexusScatterChart};
@@ -1 +1 @@
1
- import{jsxs as i,jsx as r,Fragment as e}from"react/jsx-runtime";import{Paper as o,Box as t}from"@mui/material";import{PaperAsync as n}from"../PaperAsync.mjs";const s={position:"absolute",width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},p=({title:p,titleHidden:a,description:d,actions:c,isLoading:l,isError:m,errorMessage:h,paperSx:x,children:g})=>a?i(o,{sx:x??{p:3},children:[p&&r(t,{component:"h2",sx:s,children:p}),g]}):void 0===p?r(e,{children:g}):r(n,{title:p,description:d,actions:c,isLoading:Boolean(l),isError:Boolean(m),errorMessage:h,sx:x??{p:3},children:g});export{p as ChartFrame};
1
+ import{jsxs as i,jsx as e,Fragment as r}from"react/jsx-runtime";import{Paper as o,Box as t}from"@mui/material";import{PaperAsync as n}from"../PaperAsync.mjs";const p={position:"absolute",width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},s=({title:s,titleComponent:a="h3",titleHidden:d,description:c,actions:l,isLoading:m,isError:h,errorMessage:x,paperSx:g,children:f})=>d?i(o,{sx:g??{p:3},children:[s&&e(t,{component:a,sx:p,children:s}),f]}):void 0===s?e(r,{children:f}):e(n,{title:s,titleComponent:a,description:c,actions:l,isLoading:Boolean(m),isError:Boolean(h),errorMessage:x,sx:g??{p:3},children:f});export{s as ChartFrame};
@@ -1 +1 @@
1
- import{jsx as l}from"react/jsx-runtime";import{Card as o,CardContent as r}from"@mui/material";import{MetricStat as a}from"./MetricStat.mjs";const e={xs:0,sm:.3,md:.5,lg:1},i=({label:i,value:t,delta:s,deltaColor:m,valueColor:c,size:d,icon:n,iconColor:p,labelGap:x,cardSx:u,sx:C})=>{const b=e[d??"md"];return l(o,{sx:[{boxShadow:"none"},...Array.isArray(u)?u:u?[u]:[]],children:l(r,{sx:{p:b,"&:last-child":{pb:b}},children:l(a,{label:i,value:t,delta:s,deltaColor:m,valueColor:c,size:d,icon:n,iconColor:p,labelGap:x,sx:C})})})};i.displayName="MetricCard";export{i as MetricCard};
1
+ import{jsx as o}from"react/jsx-runtime";import{Card as l,CardContent as a}from"@mui/material";import{MetricStat as r}from"./MetricStat.mjs";const e={xs:0,sm:.3,md:.5,lg:1},i=({label:i,value:t,delta:m,deltaColor:n,valueColor:s,size:d,icon:c,iconColor:x,labelGap:b,alignValueToBottom:p,cardSx:u,sx:C})=>{const h=e[d??"md"];return o(l,{sx:[{boxShadow:"none"},...Array.isArray(u)?u:u?[u]:[]],children:o(a,{sx:{p:h,...p?{height:"100%",boxSizing:"border-box"}:{},"&:last-child":{pb:h}},children:o(r,{label:i,value:t,delta:m,deltaColor:n,valueColor:s,size:d,icon:c,iconColor:x,labelGap:b,alignValueToBottom:p,sx:C})})})};i.displayName="MetricCard";export{i as MetricCard};
@@ -1 +1 @@
1
- import{jsxs as r,jsx as e}from"react/jsx-runtime";import{Stack as o}from"./_Primitives/Stack.mjs";import{H4 as i,MetricValue as l,Caption as a}from"./Typography.mjs";const t=({label:t,value:s,delta:n,deltaColor:c,valueColor:d,size:m,icon:p,iconColor:x,labelGap:h=.25,sx:f})=>r(o,{sx:[{gap:h},...Array.isArray(f)?f:f?[f]:[]],children:[e(i,{sx:{color:"text.secondary"},children:t}),r(o,{direction:"row",sx:{alignItems:"center",gap:1},children:[p&&e(p,{"aria-hidden":"true",sx:{color:x,fontSize:"lg"===m?40:"sm"===m?28:"xs"===m?22:34}}),e(l,{size:m,sx:d?{color:d}:void 0,children:s}),n&&e(a,{component:"span",sx:[{alignSelf:"flex-end",pb:.25},...c?[{color:c}]:[]],children:n})]})]});t.displayName="MetricStat";export{t as MetricStat};
1
+ import{jsxs as e,jsx as o}from"react/jsx-runtime";import{Stack as r}from"./_Primitives/Stack.mjs";import{H4 as i,MetricValue as t,Caption as l}from"./Typography.mjs";const a=({label:a,value:n,delta:s,deltaColor:c,valueColor:m,size:d,icon:p,iconColor:x,labelGap:h=.25,alignValueToBottom:g=!1,sx:f})=>e(r,{sx:[{gap:h,...g?{height:"100%",justifyContent:"space-between"}:{}},...Array.isArray(f)?f:f?[f]:[]],children:[o(i,{sx:{color:"text.secondary"},children:a}),e(r,{direction:"row",sx:{alignItems:"center",gap:1},children:[p&&o(p,{"aria-hidden":"true",sx:{color:x,fontSize:"lg"===d?40:"sm"===d?28:"xs"===d?22:34}}),o(t,{size:d,sx:m?{color:m}:void 0,children:n}),s&&o(l,{component:"span",sx:[{alignSelf:"flex-end",pb:.25},...c?[{color:c}]:[]],children:s})]})]});a.displayName="MetricStat";export{a as MetricStat};
@@ -1 +1 @@
1
- import{jsxs as r,jsx as i}from"react/jsx-runtime";import{Paper as e}from"./_Primitives/Paper.mjs";import{Box as n}from"./_Primitives/Box.mjs";import{H3 as l,Body2 as t}from"./Typography.mjs";import{LoadingSpinnerNexus as s}from"./LoadingSpinnerNexus.mjs";const o=({title:o,description:c,actions:m,isLoading:d,isError:x,errorMessage:h,children:p,...a})=>{if(d)return r(e,{...a,children:[r(n,{sx:{mb:2},children:[i(l,{children:o}),c&&i(t,{sx:{mt:.5},children:c})]}),i(n,{sx:{display:"flex",flexDirection:"column",mt:1},children:i(s,{})})]});if(x)return r(e,{...a,children:[r(n,{sx:{mb:2},children:[i(l,{children:o}),c&&i(t,{sx:{mt:.5},children:c})]}),i(n,{sx:{display:"flex",flexDirection:"column",mt:1},children:i(t,{color:"error",sx:{p:2},children:h??`Failed to load ${o}.`})})]});const f=o||c||m;return r(e,{...a,children:[f&&r(n,{sx:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:1,mb:1},children:[r(n,{children:[i(l,{children:o}),c&&i(t,{sx:{mt:.5},children:c})]}),m&&i(n,{sx:{flexShrink:0},children:m})]}),p]})};export{o as PaperAsync};
1
+ import{jsxs as r,jsx as e}from"react/jsx-runtime";import{Paper as i}from"./_Primitives/Paper.mjs";import{Box as n}from"./_Primitives/Box.mjs";import{H2 as t,H4 as l,H3 as o,Body2 as s}from"./Typography.mjs";import{LoadingSpinnerNexus as c}from"./LoadingSpinnerNexus.mjs";const m=({title:m,titleComponent:d="h3",description:h,actions:x,isLoading:p,isError:a,errorMessage:f,children:u,...g})=>{const j="h2"===d?t:"h4"===d?l:o;if(p)return r(i,{...g,children:[r(n,{sx:{mb:2},children:[e(j,{children:m}),h&&e(s,{sx:{mt:.5},children:h})]}),e(n,{sx:{display:"flex",flexDirection:"column",mt:1},children:e(c,{})})]});if(a)return r(i,{...g,children:[r(n,{sx:{mb:2},children:[e(j,{children:m}),h&&e(s,{sx:{mt:.5},children:h})]}),e(n,{sx:{display:"flex",flexDirection:"column",mt:1},children:e(s,{color:"error",sx:{p:2},children:f??`Failed to load ${m}.`})})]});const y=m||h||x;return r(i,{...g,children:[y&&r(n,{sx:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:1,mb:1},children:[r(n,{children:[e(j,{children:m}),h&&e(s,{sx:{mt:.5},children:h})]}),x&&e(n,{sx:{flexShrink:0},children:x})]}),u]})};export{m as PaperAsync};
@@ -1 +1 @@
1
- const o="2.8.2";export{o as SAGE_NEXUS_UI_VERSION};
1
+ const o="2.8.4";export{o as SAGE_NEXUS_UI_VERSION};
package/dist/index.d.ts CHANGED
@@ -601,6 +601,8 @@ interface MetricStatProps {
601
601
  iconColor?: string;
602
602
  /** Gap between the metric label and the value row. Defaults to 0.25. */
603
603
  labelGap?: number | string;
604
+ /** Align the value row to the bottom when the metric has a constrained height. */
605
+ alignValueToBottom?: boolean;
604
606
  sx?: SxProps<Theme>;
605
607
  }
606
608
  /**
@@ -615,7 +617,7 @@ interface MetricStatProps {
615
617
  * large p — not a heading), and the delta is a Caption.
616
618
  */
617
619
  declare const MetricStat: {
618
- ({ label, value, delta, deltaColor, valueColor, size, icon: Icon, iconColor, labelGap, sx, }: MetricStatProps): react.JSX.Element;
620
+ ({ label, value, delta, deltaColor, valueColor, size, icon: Icon, iconColor, labelGap, alignValueToBottom, sx, }: MetricStatProps): react.JSX.Element;
619
621
  displayName: string;
620
622
  };
621
623
 
@@ -634,7 +636,7 @@ interface MetricCardProps extends MetricStatProps {
634
636
  * ```
635
637
  */
636
638
  declare const MetricCard: {
637
- ({ label, value, delta, deltaColor, valueColor, size, icon, iconColor, labelGap, cardSx, sx, }: MetricCardProps): react.JSX.Element;
639
+ ({ label, value, delta, deltaColor, valueColor, size, icon, iconColor, labelGap, alignValueToBottom, cardSx, sx, }: MetricCardProps): react.JSX.Element;
638
640
  displayName: string;
639
641
  };
640
642
 
@@ -904,6 +906,7 @@ declare const GlassPaperAsync: ({ title, description, actions, isLoading, isErro
904
906
 
905
907
  type PaperAsyncProps = Omit<PaperProps, "children"> & {
906
908
  title: string;
909
+ titleComponent?: "h2" | "h3" | "h4";
907
910
  description?: ReactNode;
908
911
  actions?: ReactNode;
909
912
  isLoading: boolean;
@@ -911,7 +914,7 @@ type PaperAsyncProps = Omit<PaperProps, "children"> & {
911
914
  errorMessage?: string;
912
915
  children?: ReactNode;
913
916
  };
914
- declare const PaperAsync: ({ title, description, actions, isLoading, isError, errorMessage, children, ...rest }: PaperAsyncProps) => react.JSX.Element;
917
+ declare const PaperAsync: ({ title, titleComponent, description, actions, isLoading, isError, errorMessage, children, ...rest }: PaperAsyncProps) => react.JSX.Element;
915
918
 
916
919
  type GreenWaveBackgroundProps = BoxProps;
917
920
  declare const GreenWaveBackground: ({ sx, children, ...rest }: GreenWaveBackgroundProps) => react.JSX.Element;
@@ -1277,6 +1280,8 @@ declare const NexusiFrame: ({ title, url, height, width, loading, referrerPolicy
1277
1280
  */
1278
1281
  interface ChartAsyncProps {
1279
1282
  title?: string;
1283
+ /** Heading level for a visible chart title. Defaults to `h3`. */
1284
+ titleComponent?: "h2" | "h3" | "h4";
1280
1285
  /**
1281
1286
  * When `true`, the chart still self-wraps in a solid `Paper` (so it sits on a
1282
1287
  * solid background rather than inheriting a glass surface), but the title is
@@ -1299,16 +1304,43 @@ interface ChartAsyncProps {
1299
1304
  type NexusLineChartProps = Omit<LineChartProps, "colors"> & ChartAsyncProps & {
1300
1305
  children?: React.ReactNode;
1301
1306
  };
1302
- declare function NexusLineChart({ sx, xAxis, grid, series, slots, slotProps, children, title, titleHidden, description, actions, isLoading, isError, errorMessage, paperSx, ...props }: NexusLineChartProps): react.JSX.Element;
1307
+ declare function NexusLineChart({ sx, xAxis, grid, series, slots, slotProps, children, title, titleComponent, titleHidden, description, actions, isLoading, isError, errorMessage, paperSx, ...props }: NexusLineChartProps): react.JSX.Element;
1303
1308
 
1304
1309
  type NexusBarChartProps = Omit<BarChartProps, "colors"> & ChartAsyncProps;
1305
- declare function NexusBarChart({ slotProps, slots, title, titleHidden, description, actions, isLoading, isError, errorMessage, paperSx, ...props }: NexusBarChartProps): react.JSX.Element;
1310
+ declare function NexusBarChart({ slotProps, slots, title, titleComponent, titleHidden, description, actions, isLoading, isError, errorMessage, paperSx, ...props }: NexusBarChartProps): react.JSX.Element;
1306
1311
 
1307
1312
  type NexusPieChartProps = Omit<PieChartProps, "colors"> & ChartAsyncProps;
1308
- declare function NexusPieChart({ slotProps, slots, title, description, actions, isLoading, isError, errorMessage, paperSx, ...props }: NexusPieChartProps): react.JSX.Element;
1313
+ declare function NexusPieChart({ slotProps, slots, title, titleComponent, titleHidden, description, actions, isLoading, isError, errorMessage, paperSx, ...props }: NexusPieChartProps): react.JSX.Element;
1309
1314
 
1310
1315
  type NexusScatterChartProps = Omit<ScatterChartProps, "colors"> & ChartAsyncProps;
1311
- declare function NexusScatterChart({ slotProps, slots, title, description, actions, isLoading, isError, errorMessage, paperSx, ...props }: NexusScatterChartProps): react.JSX.Element;
1316
+ declare function NexusScatterChart({ slotProps, slots, title, titleComponent, titleHidden, description, actions, isLoading, isError, errorMessage, paperSx, ...props }: NexusScatterChartProps): react.JSX.Element;
1317
+
1318
+ interface NexusHeatmapAxisItem {
1319
+ id: string;
1320
+ label: string;
1321
+ }
1322
+ interface NexusHeatmapCell {
1323
+ rowId: string;
1324
+ columnId: string;
1325
+ status: string;
1326
+ label?: string;
1327
+ }
1328
+ interface NexusHeatmapStatus {
1329
+ Icon: typeof SvgIcon;
1330
+ color: string;
1331
+ label: string;
1332
+ }
1333
+ interface NexusHeatmapProps extends ChartAsyncProps {
1334
+ rows: NexusHeatmapAxisItem[];
1335
+ columns: NexusHeatmapAxisItem[];
1336
+ cells: NexusHeatmapCell[];
1337
+ statusMap: Record<string, NexusHeatmapStatus>;
1338
+ sx?: SxProps<Theme>;
1339
+ }
1340
+ declare function NexusHeatmap({ rows, columns, cells, statusMap, sx, title, titleComponent, titleHidden, description, actions, isLoading, isError, errorMessage, paperSx, }: NexusHeatmapProps): react.JSX.Element;
1341
+ declare namespace NexusHeatmap {
1342
+ var displayName: string;
1343
+ }
1312
1344
 
1313
1345
  declare const getFaviconUrls: (versioned?: boolean) => {
1314
1346
  svg: string;
@@ -1456,5 +1488,5 @@ declare const getGradientBorderStyles: (theme: Theme, options?: GradientBorderOp
1456
1488
  declare const leftPipe: SxProps<Theme>;
1457
1489
  declare const expandableText: (isExpanded: boolean) => SxProps<Theme>;
1458
1490
 
1459
- export { AccordionGroup, AccordionGroupItem, AccordionSingle, ActionBar, ActionBarTitle, AgentChatDialog, AgentChatWidget, AgentChatWindow, AgentChatWindowHeader, AiButton, AiButtonTile, AiCard, AiChip, AiGlassCard, AiGlassPaper, AiPaper, Alert, Avatar, Body1, Body2, Box, Breadcrumbs, ButtonBase, ButtonTile, Caption, Card, ChatAvatar, ChatHistory, ChatHistoryAgentItem, ChatHistoryButtonBase, ChatHistoryHeader, ChatInput, ChatWindowBody, Checkbox, CheckboxGroup, Chip, CircularProgress, Code, Collapse, Container, CopyableTableContainer, DateRangeFilter, DateRangePicker, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, Divider, EmptyState, FABButton, FaviconLinks, FormControlLabel, FormDialog, FormGroup, GhostButton, GlassCard, GlassPaper, GlassPaperAsync, GreenWaveBackground, Grid, H1, H2, H3, H4, IconButton, Link, LoadingSpinnerNexus, LocationMultiSelect, LogoOptions, MarkdownContent, MessageBubble, MessageFeedbackBar, MessageList, MetricCard, MetricStat, MetricValue, MuiAppThemeProvider, NEXUS_THEME_STORAGE_KEY, NexusBarChart, NexusDataGrid, NexusHome, NexusLineChart, NexusLogo, NexusNodeIcon, NexusPieChart, NexusScatterChart, NexusiFrame, Paper, PaperAsync, PrimaryButton, PrimaryButtonLink, RagChip, RagDot, SageLogoSvg, SearchInput, SecondaryButton, SecondaryButtonLink, SegmentedControl, Select, SelectableList, SideBlade, SideBladeNavList, SideBladeNavListItem, Skeleton, SkillChip, SkipLink, Slider, SourceCitations, Span, Stack, StatusBadge, StatusChip, StreamingBubble, SuggestedPrompts, Switch, Tab, Table, TableBody, TableCell, TableHead, TableRow, Tabs, TextField, ThemeModeContext, ThemeModeProvider, ThemeToggle, Tooltip, TypingIndicator, chatHistoryMatchesQuery, chatWindowMarkdownComponents, colours, createSageTheme, expandableText, filterChatHistoryConversations, fontSageHeadline, fontSageText, fontSageUI, formatDate, formatSurnameFirstname, getFaviconUrls, getFiscalPeriod, getGradientBorderStyles, getModeTokens, gradients, latestTraceLabel, leftPipe, ragColorForDelta, useThemeMode, useTokens };
1460
- export type { AccordionGroupItemProps, AccordionGroupProps, AccordionSingleProps, ActivitySummary, AgentChatDialogProps, AgentChatWidgetProps, AgentChatWindowHeaderProps, AgentChatWindowProps, AiButtonProps, AiButtonTileProps, AiCardProps, AiChipProps, AiGlassCardProps, AiGlassPaperProps, AiPaperProps, AvatarProps, AvatarSize, AvatarVariant, BreadcrumbItem, BreadcrumbsProps, ButtonTileProps, CardProps, CardTrend, ChartAsyncProps, ChatAvatarProps, ChatHistoryAgent, ChatHistoryAgentItemProps, ChatHistoryButtonBaseProps, ChatHistoryConversation, ChatHistoryHeaderProps, ChatHistoryProps, ChatInputProps, ChatMessage, CodeBlock, CopyableTableContainerProps, DateRangeFilterProps, DateRangePickerProps, DateRangePreset, DateRangeValue, EmptyStateProps, FABButtonProps, FileArtifact, FormDialogProps, GhostButtonProps, GlassCardProps, GlassPaperAsyncProps, GlassPaperProps, GradientBorderOptions, GreenWaveBackgroundProps, IconButtonProps, IconButtonVariant, LatencyMetrics, LinkProps, LoadingSpinnerNexusProps, MarkdownContentProps, MessageBubbleProps, MessageFeedbackBarProps, MessageListProps, MetricCardProps, MetricStatProps, MetricValueSize, ModeTokens, NexusBarChartProps, NexusLineChartProps, NexusNodeIconProps, NexusNodeIconSize, NexusNodeIconTone, NexusPieChartProps, NexusScatterChartProps, NexusiFrameProps, PaperAsyncProps, ParsedActivity, PrimaryButtonLinkProps, PrimaryButtonProps, SecondaryButtonLinkProps, SecondaryButtonProps, SegmentedControlOption, SegmentedControlProps, SelectOption, SelectProps, SelectableListItem, SelectableListProps, SideBladeNavItem, SideBladeNavListItemProps, SideBladeNavListProps, SideBladeProps, SkeletonProps, SkipLinkProps, SourceCitationsProps, StatusBadgeProps, StatusBadgeVariant, StreamingBubbleProps, SuggestedPromptsProps, ThemeMode, ThemeModeContextValue, ThemeModeProviderProps, TooltipProps, TraceEvent, TypingIndicatorProps };
1491
+ export { AccordionGroup, AccordionGroupItem, AccordionSingle, ActionBar, ActionBarTitle, AgentChatDialog, AgentChatWidget, AgentChatWindow, AgentChatWindowHeader, AiButton, AiButtonTile, AiCard, AiChip, AiGlassCard, AiGlassPaper, AiPaper, Alert, Avatar, Body1, Body2, Box, Breadcrumbs, ButtonBase, ButtonTile, Caption, Card, ChatAvatar, ChatHistory, ChatHistoryAgentItem, ChatHistoryButtonBase, ChatHistoryHeader, ChatInput, ChatWindowBody, Checkbox, CheckboxGroup, Chip, CircularProgress, Code, Collapse, Container, CopyableTableContainer, DateRangeFilter, DateRangePicker, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, Divider, EmptyState, FABButton, FaviconLinks, FormControlLabel, FormDialog, FormGroup, GhostButton, GlassCard, GlassPaper, GlassPaperAsync, GreenWaveBackground, Grid, H1, H2, H3, H4, IconButton, Link, LoadingSpinnerNexus, LocationMultiSelect, LogoOptions, MarkdownContent, MessageBubble, MessageFeedbackBar, MessageList, MetricCard, MetricStat, MetricValue, MuiAppThemeProvider, NEXUS_THEME_STORAGE_KEY, NexusBarChart, NexusDataGrid, NexusHeatmap, NexusHome, NexusLineChart, NexusLogo, NexusNodeIcon, NexusPieChart, NexusScatterChart, NexusiFrame, Paper, PaperAsync, PrimaryButton, PrimaryButtonLink, RagChip, RagDot, SageLogoSvg, SearchInput, SecondaryButton, SecondaryButtonLink, SegmentedControl, Select, SelectableList, SideBlade, SideBladeNavList, SideBladeNavListItem, Skeleton, SkillChip, SkipLink, Slider, SourceCitations, Span, Stack, StatusBadge, StatusChip, StreamingBubble, SuggestedPrompts, Switch, Tab, Table, TableBody, TableCell, TableHead, TableRow, Tabs, TextField, ThemeModeContext, ThemeModeProvider, ThemeToggle, Tooltip, TypingIndicator, chatHistoryMatchesQuery, chatWindowMarkdownComponents, colours, createSageTheme, expandableText, filterChatHistoryConversations, fontSageHeadline, fontSageText, fontSageUI, formatDate, formatSurnameFirstname, getFaviconUrls, getFiscalPeriod, getGradientBorderStyles, getModeTokens, gradients, latestTraceLabel, leftPipe, ragColorForDelta, useThemeMode, useTokens };
1492
+ export type { AccordionGroupItemProps, AccordionGroupProps, AccordionSingleProps, ActivitySummary, AgentChatDialogProps, AgentChatWidgetProps, AgentChatWindowHeaderProps, AgentChatWindowProps, AiButtonProps, AiButtonTileProps, AiCardProps, AiChipProps, AiGlassCardProps, AiGlassPaperProps, AiPaperProps, AvatarProps, AvatarSize, AvatarVariant, BreadcrumbItem, BreadcrumbsProps, ButtonTileProps, CardProps, CardTrend, ChartAsyncProps, ChatAvatarProps, ChatHistoryAgent, ChatHistoryAgentItemProps, ChatHistoryButtonBaseProps, ChatHistoryConversation, ChatHistoryHeaderProps, ChatHistoryProps, ChatInputProps, ChatMessage, CodeBlock, CopyableTableContainerProps, DateRangeFilterProps, DateRangePickerProps, DateRangePreset, DateRangeValue, EmptyStateProps, FABButtonProps, FileArtifact, FormDialogProps, GhostButtonProps, GlassCardProps, GlassPaperAsyncProps, GlassPaperProps, GradientBorderOptions, GreenWaveBackgroundProps, IconButtonProps, IconButtonVariant, LatencyMetrics, LinkProps, LoadingSpinnerNexusProps, MarkdownContentProps, MessageBubbleProps, MessageFeedbackBarProps, MessageListProps, MetricCardProps, MetricStatProps, MetricValueSize, ModeTokens, NexusBarChartProps, NexusHeatmapAxisItem, NexusHeatmapCell, NexusHeatmapProps, NexusHeatmapStatus, NexusLineChartProps, NexusNodeIconProps, NexusNodeIconSize, NexusNodeIconTone, NexusPieChartProps, NexusScatterChartProps, NexusiFrameProps, PaperAsyncProps, ParsedActivity, PrimaryButtonLinkProps, PrimaryButtonProps, SecondaryButtonLinkProps, SecondaryButtonProps, SegmentedControlOption, SegmentedControlProps, SelectOption, SelectProps, SelectableListItem, SelectableListProps, SideBladeNavItem, SideBladeNavListItemProps, SideBladeNavListProps, SideBladeProps, SkeletonProps, SkipLinkProps, SourceCitationsProps, StatusBadgeProps, StatusBadgeVariant, StreamingBubbleProps, SuggestedPromptsProps, ThemeMode, ThemeModeContextValue, ThemeModeProviderProps, 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 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/_Primitives/Slider.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{Box}from"./components/_Primitives/Box.mjs";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{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{NexusBarChart}from"./components/Charts/NexusBarChart.mjs";export{NexusPieChart}from"./components/Charts/NexusPieChart.mjs";export{NexusScatterChart}from"./components/Charts/NexusScatterChart.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{formatSurnameFirstname}from"./utils/nameFormats.mjs";export{formatDate,getFiscalPeriod}from"./utils/dateFormats.mjs";export{expandableText,getGradientBorderStyles,leftPipe}from"./components/Theme/sxHelpers.mjs";export{ChartsReferenceLine}from"./node_modules/@mui/x-charts/ChartsReferenceLine/ChartsReferenceLine.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 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/_Primitives/Slider.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{Box}from"./components/_Primitives/Box.mjs";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{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{NexusBarChart}from"./components/Charts/NexusBarChart.mjs";export{NexusPieChart}from"./components/Charts/NexusPieChart.mjs";export{NexusScatterChart}from"./components/Charts/NexusScatterChart.mjs";export{NexusHeatmap}from"./components/Charts/NexusHeatmap.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{formatSurnameFirstname}from"./utils/nameFormats.mjs";export{formatDate,getFiscalPeriod}from"./utils/dateFormats.mjs";export{expandableText,getGradientBorderStyles,leftPipe}from"./components/Theme/sxHelpers.mjs";export{ChartsReferenceLine}from"./node_modules/@mui/x-charts/ChartsReferenceLine/ChartsReferenceLine.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "it-data-nexus-ui-library",
3
- "version": "2.8.2",
3
+ "version": "2.8.4",
4
4
  "description": "Nexus core components",
5
5
  "license": "ISC",
6
6
  "author": "emsmart-sage",