@majoo-ui/react 1.59.1 → 1.59.2
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.esm.js +3 -3
- package/index.umd.js +3 -3
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -23335,7 +23335,7 @@ function Table({
|
|
|
23335
23335
|
}), void 0)), jsx(TableRow$3, Object.assign({
|
|
23336
23336
|
css: customStyle
|
|
23337
23337
|
}, row && row.getRowProps ? row.getRowProps() : {}, {
|
|
23338
|
-
children: row.cells.filter(cell => filterHeader.length > 0 ? filterHeader.includes(cell.column.id) : cell).filter(cell => !cell.column.isSubRow).map((cell, index,
|
|
23338
|
+
children: row.cells.filter(cell => filterHeader.length > 0 ? filterHeader.includes(cell.column.id) : cell).filter(cell => !cell.column.isSubRow).map((cell, index, _row) => {
|
|
23339
23339
|
var _a, _b, _c;
|
|
23340
23340
|
let visibleHeaders = (_a = headerGroups === null || headerGroups === void 0 ? void 0 : headerGroups[0]) === null || _a === void 0 ? void 0 : _a.headers.filter(column => !column.isSubRow);
|
|
23341
23341
|
if (filterHeader.length > 0) {
|
|
@@ -23349,8 +23349,8 @@ function Table({
|
|
|
23349
23349
|
verticalAlign: cell.column.accessor ? cellAlign : 'center',
|
|
23350
23350
|
cursor: onRowClick ? 'pointer' : 'unset'
|
|
23351
23351
|
}), stickyPositionStyling(cell.column)), stickyShadowStyling(cell.column, tableScrollPosition, scrollAreaWidth)), {
|
|
23352
|
-
paddingRight: index + 1 ===
|
|
23353
|
-
paddingLeft: index + 1 ===
|
|
23352
|
+
paddingRight: index + 1 === _row.length ? 30 : null,
|
|
23353
|
+
paddingLeft: index + 1 === _row.length ? 30 : null
|
|
23354
23354
|
}),
|
|
23355
23355
|
onClick: () => {
|
|
23356
23356
|
if (!exceptionId) {
|
package/index.umd.js
CHANGED
|
@@ -23754,7 +23754,7 @@
|
|
|
23754
23754
|
return filterHeader.length > 0 ? filterHeader.includes(cell.column.id) : cell;
|
|
23755
23755
|
}).filter(function (cell) {
|
|
23756
23756
|
return !cell.column.isSubRow;
|
|
23757
|
-
}).map(function (cell, index,
|
|
23757
|
+
}).map(function (cell, index, _row) {
|
|
23758
23758
|
var _a, _b, _c;
|
|
23759
23759
|
var visibleHeaders = (_a = headerGroups === null || headerGroups === void 0 ? void 0 : headerGroups[0]) === null || _a === void 0 ? void 0 : _a.headers.filter(function (column) {
|
|
23760
23760
|
return !column.isSubRow;
|
|
@@ -23772,8 +23772,8 @@
|
|
|
23772
23772
|
verticalAlign: cell.column.accessor ? cellAlign : 'center',
|
|
23773
23773
|
cursor: onRowClick ? 'pointer' : 'unset'
|
|
23774
23774
|
}), stickyPositionStyling(cell.column)), stickyShadowStyling(cell.column, tableScrollPosition, scrollAreaWidth)), {
|
|
23775
|
-
paddingRight: index + 1 ===
|
|
23776
|
-
paddingLeft: index + 1 ===
|
|
23775
|
+
paddingRight: index + 1 === _row.length ? 30 : null,
|
|
23776
|
+
paddingLeft: index + 1 === _row.length ? 30 : null
|
|
23777
23777
|
}),
|
|
23778
23778
|
onClick: function () {
|
|
23779
23779
|
if (!exceptionId) {
|