Skip to content

Commit

Permalink
chore: use @hello-pangea/dnd (#608)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xhale1 committed Aug 30, 2022
1 parent 320893e commit e89f4bb
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 94 deletions.
2 changes: 1 addition & 1 deletion __tests__/demo/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ import {
import { I1353, I1941, I122 } from './demo-components/RemoteData';
import { Table, TableCell, TableRow, Paper } from '@material-ui/core';
import TableHead from '@material-ui/core/TableHead';
import { DragDropContext, Droppable } from '@react-forked/dnd';
import { DragDropContext, Droppable } from '@hello-pangea/dnd';
import { MTableScrollbar } from '../../src/components';

module.hot.accept();
Expand Down
165 changes: 76 additions & 89 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 @@ -106,6 +106,7 @@
"dependencies": {
"@babel/runtime": "^7.12.5",
"@date-io/date-fns": "^1.3.13",
"@hello-pangea/dnd": "^16.0.0",
"@material-ui/icons": "^4.11.2",
"@material-ui/pickers": "^3.2.10",
"@material-ui/styles": "^4.11.4",
Expand All @@ -114,7 +115,6 @@
"debounce": "^1.2.0",
"fast-deep-equal": "^3.1.3",
"prop-types": "^15.7.2",
"@react-forked/dnd": "^14.0.2",
"react-double-scrollbar": "0.0.15",
"uuid": "^3.4.0"
},
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 '@material-ui/core/Chip';
import Typography from '@material-ui/core/Typography';
import PropTypes from 'prop-types';
import React, { useEffect } from 'react';
import { Droppable, Draggable } from '@react-forked/dnd';
import { Droppable, Draggable } from '@hello-pangea/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 '@material-ui/core/TableRow';
import TableCell from '@material-ui/core/TableCell';
import TableSortLabel from '@material-ui/core/TableSortLabel';
import Checkbox from '@material-ui/core/Checkbox';
import { Draggable } from '@react-forked/dnd';
import { Draggable } from '@hello-pangea/dnd';
import { Tooltip } from '@material-ui/core';
import { withStyles } from '@material-ui/core/styles';
import * as CommonValues from '../../utils/common-values';
Expand Down
2 changes: 1 addition & 1 deletion src/material-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
TableRow,
LinearProgress
} from '@material-ui/core';
import { DragDropContext, Droppable } from '@react-forked/dnd';
import { DragDropContext, Droppable } from '@hello-pangea/dnd';
import DataManager from '@utils/data-manager';
import * as CommonValues from '@utils/common-values';
import {
Expand Down

0 comments on commit e89f4bb

Please sign in to comment.