Sammy/t 394 aadev i have a storybook with drag and drop features (#255)
* feature: add Board component * feature: add BoardColumn * feature: add BoardCard * chore: install react beautiful dnd * refactor: use children instead of item parameter * feature: wrap board in DragDropContext * feature: wrap columns in dropable * feature: wrap boardCard in draggable * feature: add a second column * refactor: rename columns to initialBoard * refactor: use itemKeys instead if item directly * feature: add key for react to render * refactor: type the onDragEnd callback * feature: drag and drop elements between columns
This commit is contained in:
@ -18,6 +18,7 @@
|
||||
"libphonenumber-js": "^1.10.26",
|
||||
"luxon": "^3.3.0",
|
||||
"react": "^18.2.0",
|
||||
"react-beautiful-dnd": "^13.1.1",
|
||||
"react-datepicker": "^4.11.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-hotkeys-hook": "^4.4.0",
|
||||
@ -102,6 +103,7 @@
|
||||
"@testing-library/user-event": "^13.5.0",
|
||||
"@types/jest": "^27.5.2",
|
||||
"@types/luxon": "^3.3.0",
|
||||
"@types/react-beautiful-dnd": "^13.1.4",
|
||||
"@types/react-datepicker": "^4.11.2",
|
||||
"@types/uuid": "^9.0.1",
|
||||
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
||||
|
||||
Reference in New Issue
Block a user