material-react-table 0.8.1 → 0.8.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.
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { MRT_TableInstance } from '..';
2
+ import type { MRT_TableInstance } from '..';
3
3
  interface Props {
4
4
  tableInstance: MRT_TableInstance;
5
5
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.8.1",
2
+ "version": "0.8.2",
3
3
  "license": "MIT",
4
4
  "name": "material-react-table",
5
5
  "description": "A fully featured Material UI implementation of Tanstack react-table, inspired by material-table and the MUI X DataGrid, written from the ground up in TypeScript.",
@@ -97,7 +97,6 @@
97
97
  "@tanstack/match-sorter-utils": "^8.0.0-alpha.83",
98
98
  "@tanstack/react-table": "^8.0.0-alpha.89",
99
99
  "react-dnd": "^16.0.1",
100
- "react-dnd-html5-backend": "^16.0.1",
101
- "react-dnd-scrolling": "^1.2.4"
100
+ "react-dnd-html5-backend": "^16.0.1"
102
101
  }
103
102
  }
@@ -80,7 +80,7 @@ export const MRT_TableHeadCell: FC<Props> = ({
80
80
  150
81
81
  );
82
82
  };
83
- console.log(column.getCanGroup());
83
+
84
84
  return (
85
85
  <TableCell
86
86
  align={column.columnDefType === 'group' ? 'center' : 'left'}
@@ -1,7 +1,7 @@
1
1
  import React, { FC, useEffect, useLayoutEffect, useState } from 'react';
2
2
  import { TableContainer } from '@mui/material';
3
- import { MRT_TableInstance } from '..';
4
3
  import { MRT_Table } from './MRT_Table';
4
+ import type { MRT_TableInstance } from '..';
5
5
 
6
6
  const useIsomorphicLayoutEffect =
7
7
  typeof window !== 'undefined' ? useLayoutEffect : useEffect;