fix(core): optimize explorer's dnd behaviors (#7769)

close AF-1198, AF-1169, AF-1204, AF-1167, AF-1168

- **fix**: empty favorite cannot be dropped(AF-1198)
- **fix**: folder close animation has a unexpected delay
- **fix**: mount explorer's DropEffect to body to avoid clipping(AF-1169)
- **feat**: drop on empty organize to create folder and put item into it(AF-1204)
- **feat**: only show explorer section's action when hovered(AF-1168)
- **feat**: animate folder icon when opened(AF-1167)
- **chore**: extract dnd related `dropEffect`, `canDrop` functions outside component
This commit is contained in:
CatsJuice
2024-08-07 08:29:19 +00:00
parent f35dc744dd
commit 75a308ac79
21 changed files with 309 additions and 211 deletions
@@ -2,7 +2,7 @@
"v": "5.12.1",
"fr": 60,
"ip": 0,
"op": 89,
"op": 6,
"w": 240,
"h": 240,
"nm": "folder",