Skip to content

Commit

Permalink
feat: move to @react-forked/dnd
Browse files Browse the repository at this point in the history
  • Loading branch information
Domino987 committed May 7, 2022
1 parent 8dea31c commit ff5818e
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 11 deletions.
85 changes: 85 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,12 @@
"@mui/icons-material": ">=5.0.0",
"@mui/material": ">=5.0.0",
"@mui/x-date-pickers": "^5.0.0-alpha.2",
"@react-forked/dnd": "^14.0.2",
"classnames": "^2.2.6",
"date-fns": "^2.16.1",
"debounce": "^1.2.0",
"fast-deep-equal": "^3.1.3",
"prop-types": "^15.7.2",
"react-beautiful-dnd": "^13.0.0",
"react-double-scrollbar": "0.0.15",
"uuid": "^8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/MTableGroupbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Chip from '@mui/material/Chip';
import Typography from '@mui/material/Typography';
import PropTypes from 'prop-types';
import React, { useEffect } from 'react';
import { Droppable, Draggable } from 'react-beautiful-dnd';
import { Droppable, Draggable } from '@react-forked/dnd';
/* eslint-enable no-unused-vars */

function MTableGroupbar(props) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/MTableHeader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import TableRow from '@mui/material/TableRow';
import TableCell from '@mui/material/TableCell';
import TableSortLabel from '@mui/material/TableSortLabel';
import Checkbox from '@mui/material/Checkbox';
import { Draggable } from 'react-beautiful-dnd';
import { Draggable } from '@react-forked/dnd';
import { Box, Tooltip } from '@mui/material';
import * as CommonValues from '../../utils/common-values';
export function MTableHeader({ onColumnResized, columns, ...props }) {
Expand Down
10 changes: 2 additions & 8 deletions src/material-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@ import React from 'react';
import { debounce } from 'debounce';
import equal from 'fast-deep-equal/react';
import * as CommonValues from './utils/common-values';
import {
Box,
Table,
TableFooter,
TableRow,
LinearProgress
} from '@mui/material';
import { DragDropContext, Droppable } from 'react-beautiful-dnd';
import { Table, TableFooter, TableRow, LinearProgress } from '@mui/material';
import { DragDropContext, Droppable } from '@react-forked/dnd';
import DataManager from '@utils/data-manager';
import {
MTablePagination,
Expand Down

0 comments on commit ff5818e

Please sign in to comment.