@dartech/arsenal-ui 1.4.44 → 1.4.45
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/index.js +23 -14
- package/package.json +1 -1
- package/src/lib/Property/UpsertProperty/PropertyValueField/BooleanValueField.d.ts +1 -0
- package/src/lib/Property/UpsertProperty/PropertyValueField/DateTimeValueField.d.ts +1 -0
- package/src/lib/Property/UpsertProperty/PropertyValueField/DateValueField.d.ts +1 -0
- package/src/lib/Property/UpsertProperty/PropertyValueField/JsonValueField.d.ts +1 -0
- package/src/lib/Property/UpsertProperty/PropertyValueField/TimeValueField.d.ts +1 -0
- package/src/lib/Property/ViewProperty/PropertyItem.d.ts +1 -0
- package/src/theme/tableThemeOptions.d.ts +0 -4
package/index.js
CHANGED
@@ -1711,8 +1711,7 @@ const tableThemeOptions = {
|
|
1711
1711
|
MuiTableHead: {
|
1712
1712
|
styleOverrides: {
|
1713
1713
|
root: {
|
1714
|
-
backgroundColor: '#F7F8FC'
|
1715
|
-
height: 40
|
1714
|
+
backgroundColor: '#F7F8FC'
|
1716
1715
|
}
|
1717
1716
|
}
|
1718
1717
|
},
|
@@ -1721,22 +1720,19 @@ const tableThemeOptions = {
|
|
1721
1720
|
root: {
|
1722
1721
|
'&:hover': {
|
1723
1722
|
backgroundColor: '#F7F8FC!important'
|
1724
|
-
}
|
1725
|
-
height: 40
|
1723
|
+
}
|
1726
1724
|
}
|
1727
1725
|
}
|
1728
1726
|
},
|
1729
1727
|
MuiTableCell: {
|
1730
1728
|
styleOverrides: {
|
1731
1729
|
root: {
|
1732
|
-
minHeight: 40,
|
1733
1730
|
padding: baseTheme.spacing(1, 2),
|
1734
1731
|
'&:first-of-type': {
|
1735
1732
|
paddingLeft: baseTheme.spacing(4)
|
1736
1733
|
}
|
1737
1734
|
},
|
1738
1735
|
head: {
|
1739
|
-
maxHeight: '40px',
|
1740
1736
|
padding: baseTheme.spacing(2.75, 2),
|
1741
1737
|
color: '#6D6E85'
|
1742
1738
|
},
|
@@ -1989,7 +1985,7 @@ const formatTableRowValue = ({
|
|
1989
1985
|
});
|
1990
1986
|
case 'array':
|
1991
1987
|
return jsx(Box, {
|
1992
|
-
children: value.map((val, index) => jsx(Box, {
|
1988
|
+
children: value === null || value === void 0 ? void 0 : value.map((val, index) => jsx(Box, {
|
1993
1989
|
children: val
|
1994
1990
|
}, index))
|
1995
1991
|
});
|
@@ -3453,12 +3449,12 @@ const StyledDataGrid = styled(DataGrid)(({
|
|
3453
3449
|
border: '1px solid rgba(38, 40, 66, 0.08)'
|
3454
3450
|
},
|
3455
3451
|
'& .MuiDataGrid-columnHeaders': {
|
3452
|
+
minHeight: '48px !important',
|
3456
3453
|
backgroundColor: '#F7F8FC',
|
3457
3454
|
borderTopLeftRadius: theme.spacing(3),
|
3458
3455
|
borderTopRightRadius: theme.spacing(3)
|
3459
3456
|
},
|
3460
3457
|
'& .MuiDataGrid-columnHeader, .MuiDataGrid-cell': {
|
3461
|
-
maxHeight: '40px!important',
|
3462
3458
|
padding: theme.spacing(2.75, 2),
|
3463
3459
|
color: '#6D6E85',
|
3464
3460
|
'&.Sorted': {
|
@@ -3468,16 +3464,18 @@ const StyledDataGrid = styled(DataGrid)(({
|
|
3468
3464
|
paddingLeft: theme.spacing(4)
|
3469
3465
|
},
|
3470
3466
|
borderRight: 0,
|
3471
|
-
borderLeft: 0
|
3467
|
+
borderLeft: 0,
|
3468
|
+
minHeight: '48px !important'
|
3472
3469
|
},
|
3473
3470
|
'& .MuiDataGrid-columnsContainer, .MuiDataGrid-cell': {
|
3474
|
-
maxHeight: '40px!important',
|
3475
3471
|
padding: theme.spacing(1, 2),
|
3476
3472
|
'&:first-of-type': {
|
3477
3473
|
paddingLeft: theme.spacing(4)
|
3478
3474
|
}
|
3479
3475
|
},
|
3480
3476
|
'& .MuiDataGrid-row': {
|
3477
|
+
maxHeight: 'none !important',
|
3478
|
+
minHeight: '48px !important',
|
3481
3479
|
'&:hover': {
|
3482
3480
|
backgroundColor: '#F7F8FC!important'
|
3483
3481
|
}
|
@@ -3487,9 +3485,12 @@ const StyledDataGrid = styled(DataGrid)(({
|
|
3487
3485
|
'&:focus': {
|
3488
3486
|
border: 0
|
3489
3487
|
},
|
3488
|
+
maxHeight: 'none !important',
|
3489
|
+
minHeight: '48px !important',
|
3490
|
+
lineHeight: 'unset !important',
|
3491
|
+
// whiteSpace: 'normal !important',
|
3490
3492
|
textOverflow: 'ellipsis',
|
3491
3493
|
wordBreak: 'break-all',
|
3492
|
-
overflow: 'hidden',
|
3493
3494
|
'& .MuiDataGrid-actionsCell': {
|
3494
3495
|
width: '100%',
|
3495
3496
|
gridGap: '4px',
|
@@ -3502,9 +3503,16 @@ const StyledDataGrid = styled(DataGrid)(({
|
|
3502
3503
|
'& .MuiPaginationItem-root': {
|
3503
3504
|
borderRadius: 0
|
3504
3505
|
},
|
3506
|
+
'& .MuiDataGrid-virtualScrollerContent': {
|
3507
|
+
height: 'auto !important',
|
3508
|
+
minHeight: '48px !important'
|
3509
|
+
},
|
3505
3510
|
'& .MuiDataGrid-virtualScrollerRenderZone': {
|
3506
3511
|
position: 'static'
|
3507
3512
|
},
|
3513
|
+
'& .MuiDataGrid-renderingZone': {
|
3514
|
+
maxHeight: 'none !important'
|
3515
|
+
},
|
3508
3516
|
'& .MuiDataGrid-cell:focus-within, & .MuiDataGrid-cell:focus': {
|
3509
3517
|
outline: 'none !important'
|
3510
3518
|
},
|
@@ -3622,8 +3630,6 @@ const Table = ({
|
|
3622
3630
|
}, {
|
3623
3631
|
children: jsx(StyledDataGrid, Object.assign({
|
3624
3632
|
autoHeight: true,
|
3625
|
-
headerHeight: 40,
|
3626
|
-
rowHeight: 40,
|
3627
3633
|
hideFooterPagination: !_pagination,
|
3628
3634
|
hideFooter: !_pagination,
|
3629
3635
|
disableSelectionOnClick: true,
|
@@ -3884,7 +3890,10 @@ function TableInner({
|
|
3884
3890
|
maxWidth: '90%',
|
3885
3891
|
overflow: 'hidden',
|
3886
3892
|
whiteSpace: 'nowrap',
|
3887
|
-
textOverflow: 'ellipsis'
|
3893
|
+
textOverflow: 'ellipsis',
|
3894
|
+
padding: ({
|
3895
|
+
spacing
|
3896
|
+
}) => spacing(2.5, 0)
|
3888
3897
|
}
|
3889
3898
|
}, {
|
3890
3899
|
children: jsx(Box, {
|
package/package.json
CHANGED
@@ -13,7 +13,6 @@ declare const tableThemeOptions: {
|
|
13
13
|
styleOverrides: {
|
14
14
|
root: {
|
15
15
|
backgroundColor: string;
|
16
|
-
height: number;
|
17
16
|
};
|
18
17
|
};
|
19
18
|
};
|
@@ -23,21 +22,18 @@ declare const tableThemeOptions: {
|
|
23
22
|
'&:hover': {
|
24
23
|
backgroundColor: string;
|
25
24
|
};
|
26
|
-
height: number;
|
27
25
|
};
|
28
26
|
};
|
29
27
|
};
|
30
28
|
MuiTableCell: {
|
31
29
|
styleOverrides: {
|
32
30
|
root: {
|
33
|
-
minHeight: number;
|
34
31
|
padding: string;
|
35
32
|
'&:first-of-type': {
|
36
33
|
paddingLeft: string;
|
37
34
|
};
|
38
35
|
};
|
39
36
|
head: {
|
40
|
-
maxHeight: string;
|
41
37
|
padding: string;
|
42
38
|
color: string;
|
43
39
|
};
|