material-react-table 2.3.0 → 2.3.1

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/index.esm.js CHANGED
@@ -891,7 +891,7 @@ const MRT_TableBodyRow = ({ columnVirtualizer, measureElement, numRows, pinnedRo
891
891
  rowIndex,
892
892
  rowRef,
893
893
  table,
894
- virtualIndex: columnVirtualizer
894
+ virtualColumnIndex: columnVirtualizer
895
895
  ? cellOrVirtualCell.index
896
896
  : undefined,
897
897
  };
@@ -1477,7 +1477,7 @@ const MRT_SelectCheckbox = (_a) => {
1477
1477
  ? table.getIsAllPageRowsSelected()
1478
1478
  : table.getIsAllRowsSelected()
1479
1479
  : undefined;
1480
- const commonProps = Object.assign(Object.assign({ checked: selectAll ? allRowsSelected : row === null || row === void 0 ? void 0 : row.getIsSelected(), disabled: isLoading || (row && !row.getCanSelect()), inputProps: {
1480
+ const commonProps = Object.assign(Object.assign({ checked: selectAll ? allRowsSelected : row === null || row === void 0 ? void 0 : row.getIsSelected(), disabled: isLoading || (row && !row.getCanSelect()) || (row === null || row === void 0 ? void 0 : row.id) === 'mrt-row-create', inputProps: {
1481
1481
  'aria-label': selectAll
1482
1482
  ? localization.toggleSelectAll
1483
1483
  : localization.toggleSelectRow,