it-data-nexus-ui-library 2.9.7 → 2.9.8

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 t}from"react/jsx-runtime";import{useTheme as e,alpha as r}from"@mui/material";import{Chip as o}from"./_Primitives/Chip.mjs";const i=({minWidth:i=64,tone:a,sx:m,...n})=>{const l=e();let s;"positive"===a?s=l.palette.success.main:"negative"===a?s=l.palette.error.main:"unavailable"===a&&(s=l.palette.text.secondary);const p="dark"===l.palette.mode?.22:.12;return t(o,{sx:{minWidth:`${i}px`,...s&&{color:s,borderColor:s,backgroundColor:void 0!==a?r(s,p):"transparent","& .MuiChip-label":{color:s}},...m},...n})};export{i as DeltaChip};
1
+ import{jsx as t}from"react/jsx-runtime";import{useTheme as e,alpha as r}from"@mui/material";import{Chip as o}from"./_Primitives/Chip.mjs";const i=({minWidth:i=64,tone:a,filled:n=!1,sx:l,...m})=>{const s=e();let p;"positive"===a?p=s.palette.success.main:"negative"===a?p=s.palette.error.main:"unavailable"===a&&(p=s.palette.text.secondary);const c="dark"===s.palette.mode?.22:.12;return t(o,{variant:"outlined",sx:{minWidth:`${i}px`,...p&&{color:p,borderColor:p,backgroundColor:n?r(p,c):"transparent","& .MuiChip-label":{color:p}},...l},...m})};export{i as DeltaChip};
@@ -1 +1 @@
1
- const o="2.9.7";export{o as SAGE_NEXUS_UI_VERSION};
1
+ const o="2.9.8";export{o as SAGE_NEXUS_UI_VERSION};
package/dist/index.d.ts CHANGED
@@ -934,8 +934,9 @@ type DeltaChipTone = "positive" | "negative" | "unavailable";
934
934
  interface DeltaChipProps extends ChipProps {
935
935
  minWidth?: number;
936
936
  tone?: DeltaChipTone;
937
+ filled?: boolean;
937
938
  }
938
- declare const DeltaChip: ({ minWidth, tone, sx, ...props }: DeltaChipProps) => react.JSX.Element;
939
+ declare const DeltaChip: ({ minWidth, tone, filled, sx, ...props }: DeltaChipProps) => react.JSX.Element;
939
940
 
940
941
  declare const Divider: ({ children, ...rest }: DividerProps) => react.JSX.Element;
941
942
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "it-data-nexus-ui-library",
3
- "version": "2.9.7",
3
+ "version": "2.9.8",
4
4
  "description": "Nexus core components",
5
5
  "license": "ISC",
6
6
  "author": "emsmart-sage",