@visns-studio/visns-components 2.2.3 → 2.2.5

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.
@@ -687,15 +687,14 @@ const DataGrid = forwardRef(
687
687
  const commonProps = {
688
688
  header: column.label,
689
689
  defaultFlex: 1,
690
- link: column.link ? column.link : {},
691
- minWidth:
692
- column.minWidth && column.minWidth > 0
693
- ? column.minWidth
694
- : undefined,
695
- maxWidth:
696
- column.maxWidth && column.maxWidth > 0
697
- ? column.maxWidth
698
- : undefined,
690
+ link: column.link ?? {},
691
+ minWidth: column.minWidth ?? undefined,
692
+ maxWidth: column.maxWidth ?? undefined,
693
+ textVerticalAlign: 'top',
694
+ style: {
695
+ ...(column.style ?? {}),
696
+ margin: '0px',
697
+ },
699
698
  };
700
699
 
701
700
  switch (column.type) {
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "react-dom": "^17.0.1"
41
41
  },
42
42
  "name": "@visns-studio/visns-components",
43
- "version": "2.2.3",
43
+ "version": "2.2.5",
44
44
  "description": "Various packages to assist in the development of our Custom Applications.",
45
45
  "main": "index.js",
46
46
  "scripts": {