material-react-table 2.13.0 → 2.13.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.js CHANGED
@@ -1858,6 +1858,8 @@ const MRT_TableBodyCellValue = ({ cell, rowRef, staticColumnIndex, staticRowInde
1858
1858
  column,
1859
1859
  row,
1860
1860
  table,
1861
+ staticColumnIndex,
1862
+ staticRowIndex,
1861
1863
  })
1862
1864
  : row.getIsGrouped() && !cell.getIsGrouped()
1863
1865
  ? null
@@ -1867,6 +1869,8 @@ const MRT_TableBodyCellValue = ({ cell, rowRef, staticColumnIndex, staticRowInde
1867
1869
  column,
1868
1870
  row,
1869
1871
  table,
1872
+ staticColumnIndex,
1873
+ staticRowIndex,
1870
1874
  })
1871
1875
  : undefined;
1872
1876
  const isGroupedValue = renderedCellValue !== undefined;
@@ -2022,9 +2026,7 @@ const MRT_EditCellTextField = (_a) => {
2022
2026
  : {})), textFieldProps.InputProps), { sx: (theme) => {
2023
2027
  var _a;
2024
2028
  return (Object.assign({ mb: 0 }, parseFromValuesOrFunc((_a = textFieldProps === null || textFieldProps === void 0 ? void 0 : textFieldProps.InputProps) === null || _a === void 0 ? void 0 : _a.sx, theme)));
2025
- } }), SelectProps: {
2026
- MenuProps: { disableScrollLock: true },
2027
- }, inputProps: Object.assign({ autoComplete: 'new-password' }, textFieldProps.inputProps), onBlur: handleBlur, onChange: handleChange, onClick: (e) => {
2029
+ } }), SelectProps: Object.assign({ MenuProps: { disableScrollLock: true } }, textFieldProps.SelectProps), inputProps: Object.assign({ autoComplete: 'new-password' }, textFieldProps.inputProps), onBlur: handleBlur, onChange: handleChange, onClick: (e) => {
2028
2030
  var _a;
2029
2031
  e.stopPropagation();
2030
2032
  (_a = textFieldProps === null || textFieldProps === void 0 ? void 0 : textFieldProps.onClick) === null || _a === void 0 ? void 0 : _a.call(textFieldProps, e);
@@ -2133,6 +2135,8 @@ const MRT_TableBodyCell = (_a) => {
2133
2135
  const cellValueProps = {
2134
2136
  cell,
2135
2137
  table,
2138
+ staticColumnIndex,
2139
+ staticRowIndex,
2136
2140
  };
2137
2141
  const handleDoubleClick = (event) => {
2138
2142
  var _a;