@dartech/arsenal-ui 1.4.77 → 1.4.79

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -1806,7 +1806,7 @@ const tableThemeOptions = {
1806
1806
  }
1807
1807
  },
1808
1808
  head: {
1809
- padding: baseTheme.spacing(2.75, 2),
1809
+ padding: baseTheme.spacing(2, 2),
1810
1810
  color: '#6D6E85'
1811
1811
  },
1812
1812
  body: {
@@ -1859,8 +1859,8 @@ const tableThemeOptions = {
1859
1859
  },
1860
1860
  MuiDataGrid: {
1861
1861
  defaultProps: {
1862
- rowHeight: 40,
1863
- headerHeight: 40
1862
+ headerHeight: 40,
1863
+ getRowHeight: () => 'auto'
1864
1864
  },
1865
1865
  styleOverrides: {
1866
1866
  root: {
@@ -1895,14 +1895,15 @@ const tableThemeOptions = {
1895
1895
  display: 'none'
1896
1896
  },
1897
1897
  withBorder: {
1898
- borderColor: '#26284214'
1898
+ borderColor: '#E0E3EA'
1899
1899
  },
1900
1900
  cell: {
1901
+ minHeight: '48px !important',
1901
1902
  textOverflow: 'ellipsis',
1902
1903
  wordBreak: 'break-all',
1903
1904
  lineHeight: 'unset',
1904
- padding: baseTheme.spacing(0, 3),
1905
- borderColor: '#26284214',
1905
+ padding: baseTheme.spacing(1.25, 3),
1906
+ borderColor: '#E0E3EA',
1906
1907
  '&:focus': {
1907
1908
  outline: 'none'
1908
1909
  }
@@ -3991,7 +3992,7 @@ function TableInner({
3991
3992
  textOverflow: 'ellipsis',
3992
3993
  padding: ({
3993
3994
  spacing
3994
- }) => spacing(1.4, 0)
3995
+ }) => spacing(2.4, 0)
3995
3996
  }
3996
3997
  }, {
3997
3998
  children: jsx(Box, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dartech/arsenal-ui",
3
- "version": "1.4.77",
3
+ "version": "1.4.79",
4
4
  "author": "DAR",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -96,8 +96,8 @@ declare const tableThemeOptions: {
96
96
  };
97
97
  MuiDataGrid: {
98
98
  defaultProps: {
99
- rowHeight: number;
100
99
  headerHeight: number;
100
+ getRowHeight: () => string;
101
101
  };
102
102
  styleOverrides: {
103
103
  root: {
@@ -135,6 +135,7 @@ declare const tableThemeOptions: {
135
135
  borderColor: string;
136
136
  };
137
137
  cell: {
138
+ minHeight: string;
138
139
  textOverflow: string;
139
140
  wordBreak: string;
140
141
  lineHeight: string;