Skip to content

Commit

Permalink
#19 - now use the migration module react-beautiful-dnd-migration
Browse files Browse the repository at this point in the history
  • Loading branch information
PORQUET Sébastien committed Jan 17, 2025
1 parent f25dc14 commit f2c3624
Show file tree
Hide file tree
Showing 6 changed files with 390 additions and 90 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"version": "1.0.4",
"private": true,
"dependencies": {
"@atlaskit/codemod-utils": "^4.2.4",
"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration": "^1.3.1",
"@tanstack/react-table": "^8.19.3",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
Expand Down Expand Up @@ -53,7 +55,6 @@
"react": "^18.3.1",
"react-ace": "https://github.com/gchallen/react-ace",
"react-app-rewired": "^2.2.1",
"react-beautiful-dnd": "^13.1.1",
"react-csv": "^2.2.2",
"react-dom": "^18.3.1",
"react-grid-layout": "^1.4.4",
Expand Down
2 changes: 1 addition & 1 deletion src/components/pdt/PathDrivenTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import { Menubar } from "primereact/menubar";
import { Tooltip } from "primereact/tooltip";
import * as React from "react";
import { DraggableProvided } from "react-beautiful-dnd";
import { DraggableProvided } from "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";
import { useNavigate } from "react-router-dom";
import { VscDebugConsole } from "react-icons/vsc";
import { useTranslation } from "react-i18next";
Expand Down
2 changes: 1 addition & 1 deletion src/components/pdt/PathDrivenTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import { ContextMenu } from "primereact/contextmenu";
import { MenuItem } from "primereact/menuitem";
import * as React from "react";
import { DragDropContext, Draggable, DraggableProvided, Droppable, DropResult } from "react-beautiful-dnd";
import { DragDropContext, Draggable, DraggableProvided, Droppable, DropResult } from "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";
import { useTranslation } from "react-i18next";
import { matchRoutes, useLocation, useMatch, useNavigate } from "react-router-dom";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { Button }
import { Card } from "primereact/card";
import * as React from 'react';
import { useTranslation } from "react-i18next";
import { DragDropContext, Draggable, DraggableProvided, Droppable, DropResult } from "react-beautiful-dnd";
import { DragDropContext, Draggable, DraggableProvided, Droppable, DropResult } from "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";


import { ICallbackInfoJsonFormOnChange } from "../../../../types/ICallBacks";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { Card }
import { TabPanel, TabView } from "primereact/tabview";
import * as React from 'react';
import { useTranslation } from "react-i18next";
import { DragDropContext, Draggable, DraggableProvided, Droppable, DropResult } from "react-beautiful-dnd";
import { DragDropContext, Draggable, DraggableProvided, Droppable, DropResult } from "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";


import { ICallbackTableJsonFormOnChange } from "../../../../types/ICallBacks";
Expand Down
Loading

0 comments on commit f2c3624

Please sign in to comment.