feat: Support Drag to Reorder the Profile (#29)

* feat: Support Drag to Reorder the Profile

* style: Remove unnecessary styles
This commit is contained in:
Pylogmon
2023-11-29 08:54:02 +08:00
committed by GitHub
parent 197f942b3f
commit 887f92babe
8 changed files with 208 additions and 40 deletions

69
pnpm-lock.yaml generated
View File

@@ -5,6 +5,15 @@ settings:
excludeLinksFromLockfile: false
dependencies:
"@dnd-kit/core":
specifier: ^6.1.0
version: 6.1.0(react-dom@18.2.0)(react@18.2.0)
"@dnd-kit/sortable":
specifier: ^8.0.0
version: 8.0.0(@dnd-kit/core@6.1.0)(react@18.2.0)
"@dnd-kit/utilities":
specifier: ^3.2.2
version: 3.2.2(react@18.2.0)
"@emotion/react":
specifier: ^11.11.1
version: 11.11.1(@types/react@18.2.37)(react@18.2.0)
@@ -482,6 +491,61 @@ packages:
"@babel/helper-validator-identifier": 7.22.20
to-fast-properties: 2.0.0
/@dnd-kit/accessibility@3.1.0(react@18.2.0):
resolution:
{
integrity: sha512-ea7IkhKvlJUv9iSHJOnxinBcoOI3ppGnnL+VDJ75O45Nss6HtZd8IdN8touXPDtASfeI2T2LImb8VOZcL47wjQ==,
}
peerDependencies:
react: ">=16.8.0"
dependencies:
react: 18.2.0
tslib: 2.6.2
dev: false
/@dnd-kit/core@6.1.0(react-dom@18.2.0)(react@18.2.0):
resolution:
{
integrity: sha512-J3cQBClB4TVxwGo3KEjssGEXNJqGVWx17aRTZ1ob0FliR5IjYgTxl5YJbKTzA6IzrtelotH19v6y7uoIRUZPSg==,
}
peerDependencies:
react: ">=16.8.0"
react-dom: ">=16.8.0"
dependencies:
"@dnd-kit/accessibility": 3.1.0(react@18.2.0)
"@dnd-kit/utilities": 3.2.2(react@18.2.0)
react: 18.2.0
react-dom: 18.2.0(react@18.2.0)
tslib: 2.6.2
dev: false
/@dnd-kit/sortable@8.0.0(@dnd-kit/core@6.1.0)(react@18.2.0):
resolution:
{
integrity: sha512-U3jk5ebVXe1Lr7c2wU7SBZjcWdQP+j7peHJfCspnA81enlu88Mgd7CC8Q+pub9ubP7eKVETzJW+IBAhsqbSu/g==,
}
peerDependencies:
"@dnd-kit/core": ^6.1.0
react: ">=16.8.0"
dependencies:
"@dnd-kit/core": 6.1.0(react-dom@18.2.0)(react@18.2.0)
"@dnd-kit/utilities": 3.2.2(react@18.2.0)
react: 18.2.0
tslib: 2.6.2
dev: false
/@dnd-kit/utilities@3.2.2(react@18.2.0):
resolution:
{
integrity: sha512-+MKAJEOfaBe5SmV6t34p80MMKhjvUz0vRrvVJbPT0WElzaOJ/1xs+D+KDv+tD/NE5ujfrChEcshd4fLn0wpiqg==,
}
peerDependencies:
react: ">=16.8.0"
dependencies:
react: 18.2.0
tslib: 2.6.2
dev: false
/@emotion/babel-plugin@11.11.0:
resolution:
{
@@ -1656,6 +1720,7 @@ packages:
engines: { node: ">= 10" }
cpu: [arm64]
os: [linux]
libc: [glibc]
requiresBuild: true
dev: true
optional: true
@@ -1668,6 +1733,7 @@ packages:
engines: { node: ">= 10" }
cpu: [arm64]
os: [linux]
libc: [musl]
requiresBuild: true
dev: true
optional: true
@@ -1680,6 +1746,7 @@ packages:
engines: { node: ">= 10" }
cpu: [x64]
os: [linux]
libc: [glibc]
requiresBuild: true
dev: true
optional: true
@@ -1692,6 +1759,7 @@ packages:
engines: { node: ">= 10" }
cpu: [x64]
os: [linux]
libc: [musl]
requiresBuild: true
dev: true
optional: true
@@ -3797,7 +3865,6 @@ packages:
{
integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==,
}
dev: true
/tunnel@0.0.6:
resolution: