it-data-nexus-ui-library 2.4.13 → 2.4.14
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 e}from"react/jsx-runtime";import{Card as l,CardContent as r}from"@mui/material";import{MetricStat as
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{Card as l,CardContent as r}from"@mui/material";import{MetricStat as o}from"./MetricStat.mjs";const a={xs:0,sm:.3,md:.5,lg:1},t=({label:t,value:i,delta:m,deltaColor:d,valueColor:s,size:c})=>{const n=a[c??"md"];return e(l,{sx:{boxShadow:"none"},children:e(r,{sx:{p:n,"&:last-child":{pb:n}},children:e(o,{label:t,value:i,delta:m,deltaColor:d,valueColor:s,size:c})})})};t.displayName="MetricCard";export{t as MetricCard};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const o="2.4.
|
|
1
|
+
const o="2.4.14";export{o as SAGE_NEXUS_UI_VERSION};
|
package/dist/index.d.ts
CHANGED
|
@@ -597,7 +597,7 @@ type MetricCardProps = MetricStatProps;
|
|
|
597
597
|
* ```
|
|
598
598
|
*/
|
|
599
599
|
declare const MetricCard: {
|
|
600
|
-
({ label, value, delta, deltaColor, size, }: MetricCardProps): react.JSX.Element;
|
|
600
|
+
({ label, value, delta, deltaColor, valueColor, size, }: MetricCardProps): react.JSX.Element;
|
|
601
601
|
displayName: string;
|
|
602
602
|
};
|
|
603
603
|
|