♻️ (editor) Migrate from react-draggable to @use-gesture

Closes #168
This commit is contained in:
Baptiste Arnaud
2022-11-18 07:58:43 +01:00
parent c4a4aa3e83
commit 7632c5426c
11 changed files with 255 additions and 206 deletions

View File

@@ -24,6 +24,7 @@
"@dnd-kit/utilities": "3.2.0",
"@emotion/react": "11.10.5",
"@emotion/styled": "11.10.5",
"@faire/mjml-react": "2.1.4",
"@giphy/js-fetch-api": "4.4.0",
"@giphy/js-types": "4.2.1",
"@giphy/react-components": "6.2.0",
@@ -38,6 +39,7 @@
"@udecode/plate-serializer-html": "18.9.0",
"@udecode/plate-ui-link": "18.9.1",
"@udecode/plate-ui-toolbar": "18.9.0",
"@use-gesture/react": "^10.2.22",
"aws-sdk": "2.1254.0",
"bot-engine": "workspace:*",
"browser-image-compression": "2.0.0",
@@ -46,6 +48,7 @@
"cuid": "2.1.8",
"deep-object-diff": "1.1.9",
"dequal": "2.0.3",
"emails": "workspace:*",
"emojilib": "3.0.7",
"focus-visible": "5.2.0",
"framer-motion": "7.6.6",
@@ -68,7 +71,6 @@
"qs": "6.11.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-draggable": "4.4.5",
"slate": "0.85.0",
"slate-history": "0.85.0",
"slate-hyperscript": "0.77.0",
@@ -79,9 +81,7 @@
"swr": "1.3.0",
"tinycolor2": "1.4.2",
"typebot-js": "workspace:*",
"use-debounce": "8.0.4",
"emails": "workspace:*",
"@faire/mjml-react": "2.1.4"
"use-debounce": "8.0.4"
},
"devDependencies": {
"@babel/core": "7.20.2",
@@ -102,6 +102,7 @@
"@types/tinycolor2": "1.4.3",
"@typescript-eslint/eslint-plugin": "5.43.0",
"@typescript-eslint/parser": "5.43.0",
"configs": "workspace:*",
"db": "workspace:*",
"dotenv": "16.0.3",
"eslint": "8.27.0",
@@ -110,7 +111,6 @@
"models": "workspace:*",
"next-transpile-modules": "10.0.0",
"typescript": "4.8.4",
"utils": "workspace:*",
"configs": "workspace:*"
"utils": "workspace:*"
}
}