@nethru/ui 1.0.37 → 1.0.39

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/Checkbox.js CHANGED
@@ -3,12 +3,14 @@ import { FormControlLabel } from "@mui/material";
3
3
  import { jsx as _jsx } from "react/jsx-runtime";
4
4
  export default function Checkbox({
5
5
  label,
6
+ sx,
6
7
  ...props
7
8
  }) {
8
9
  return /*#__PURE__*/_jsx(FormControlLabel, {
9
10
  label: label,
10
11
  control: /*#__PURE__*/_jsx(MuiCheckbox, {
11
12
  ...props
12
- })
13
+ }),
14
+ sx: sx
13
15
  });
14
16
  }
@@ -47,11 +47,11 @@ export default function PropertyTable({
47
47
  ...column
48
48
  };
49
49
  if (readOnly) newColumn.editable = false;
50
- if (column.fixed) {
50
+ if (column.dimmed) newColumn.cellClassName = 'dimmed';else if (column.fixed) {
51
51
  newColumn.cellClassName = params => {
52
52
  return !params.row.deletable ? 'fixed' : '';
53
53
  };
54
- } else if (column.dimmed) newColumn.cellClassName = 'dimmed';
54
+ }
55
55
  return newColumn;
56
56
  });
57
57
  }, [columns, readOnly]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nethru/ui",
3
- "version": "1.0.37",
3
+ "version": "1.0.39",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "/dist"