refactor: header options menu (#3615)

This commit is contained in:
JimmFly
2023-08-09 01:14:24 +08:00
committed by GitHub
parent 7d16a8348c
commit 4e84b9a121
21 changed files with 183 additions and 128 deletions
+25 -25
View File
@@ -96,7 +96,7 @@ __metadata:
"@affine/component": "workspace:*"
"@affine/plugin-cli": "workspace:*"
"@affine/sdk": "workspace:*"
"@blocksuite/icons": ^2.1.29
"@blocksuite/icons": ^2.1.30
foxact: ^0.2.17
link-preview-js: ^3.0.4
languageName: unknown
@@ -129,7 +129,7 @@ __metadata:
"@blocksuite/blocks": 0.0.0-20230807164933-9f6fb698-nightly
"@blocksuite/editor": 0.0.0-20230807164933-9f6fb698-nightly
"@blocksuite/global": 0.0.0-20230807164933-9f6fb698-nightly
"@blocksuite/icons": ^2.1.29
"@blocksuite/icons": ^2.1.30
"@blocksuite/lit": 0.0.0-20230807164933-9f6fb698-nightly
"@blocksuite/store": 0.0.0-20230807164933-9f6fb698-nightly
"@dnd-kit/core": ^6.0.8
@@ -148,7 +148,7 @@ __metadata:
"@radix-ui/react-scroll-area": ^1.0.4
"@radix-ui/react-toast": ^1.1.4
"@toeverything/hooks": "workspace:*"
"@toeverything/theme": ^0.7.9
"@toeverything/theme": ^0.7.11
"@types/react": ^18.2.17
"@types/react-datepicker": ^4.15.0
"@types/react-dnd": ^3.0.2
@@ -186,7 +186,7 @@ __metadata:
"@affine/component": "workspace:*"
"@affine/plugin-cli": "workspace:*"
"@affine/sdk": "workspace:*"
"@toeverything/components": ^0.0.8
"@toeverything/components": ^0.0.10
"@types/marked": ^5.0.1
idb: ^7.1.1
jotai: ^2.2.2
@@ -220,7 +220,7 @@ __metadata:
"@blocksuite/blocks": 0.0.0-20230807164933-9f6fb698-nightly
"@blocksuite/editor": 0.0.0-20230807164933-9f6fb698-nightly
"@blocksuite/global": 0.0.0-20230807164933-9f6fb698-nightly
"@blocksuite/icons": ^2.1.29
"@blocksuite/icons": ^2.1.30
"@blocksuite/lit": 0.0.0-20230807164933-9f6fb698-nightly
"@blocksuite/store": 0.0.0-20230807164933-9f6fb698-nightly
"@dnd-kit/core": ^6.0.8
@@ -236,7 +236,7 @@ __metadata:
"@sentry/webpack-plugin": ^2.5.0
"@svgr/webpack": ^8.0.1
"@swc/core": ^1.3.74
"@toeverything/components": ^0.0.8
"@toeverything/components": ^0.0.10
"@types/webpack-env": ^1.18.1
async-call-rpc: ^6.3.1
cmdk: ^0.2.0
@@ -403,8 +403,8 @@ __metadata:
"@affine/component": "workspace:*"
"@affine/plugin-cli": "workspace:*"
"@affine/sdk": "workspace:*"
"@blocksuite/icons": ^2.1.29
"@toeverything/components": ^0.0.8
"@blocksuite/icons": ^2.1.30
"@toeverything/components": ^0.0.10
languageName: unknown
linkType: soft
@@ -429,9 +429,9 @@ __metadata:
"@affine/component": "workspace:*"
"@affine/plugin-cli": "workspace:*"
"@affine/sdk": "workspace:*"
"@blocksuite/icons": ^2.1.29
"@toeverything/components": ^0.0.8
"@toeverything/theme": ^0.7.9
"@blocksuite/icons": ^2.1.30
"@toeverything/components": ^0.0.10
"@toeverything/theme": ^0.7.11
clsx: ^2.0.0
foxact: ^0.2.17
react-error-boundary: ^4.0.10
@@ -641,7 +641,7 @@ __metadata:
"@blocksuite/blocks": 0.0.0-20230807164933-9f6fb698-nightly
"@blocksuite/editor": 0.0.0-20230807164933-9f6fb698-nightly
"@blocksuite/global": 0.0.0-20230807164933-9f6fb698-nightly
"@blocksuite/icons": ^2.1.29
"@blocksuite/icons": ^2.1.30
"@blocksuite/lit": 0.0.0-20230807164933-9f6fb698-nightly
"@blocksuite/store": 0.0.0-20230807164933-9f6fb698-nightly
"@storybook/addon-actions": ^7.1.1
@@ -3421,13 +3421,13 @@ __metadata:
languageName: node
linkType: hard
"@blocksuite/icons@npm:^2.1.26, @blocksuite/icons@npm:^2.1.29":
version: 2.1.29
resolution: "@blocksuite/icons@npm:2.1.29"
"@blocksuite/icons@npm:^2.1.30":
version: 2.1.30
resolution: "@blocksuite/icons@npm:2.1.30"
peerDependencies:
"@types/react": ^18.0.25
react: ^18.2.0
checksum: f853a709fc74aa79c4deb8d19d5554f0c18f5cafdef617338fdbc85fcc9b45e7adfa79ec27cf01e2dc6af6cb278efececfbac5da1cbc6cfe031d8f1abe73607b
checksum: 4c1aaf56304f5dfa3f330a6f8c6cc2526393dd5aae06940c7291755515e7051054357943426af519d6144a99e283170fe9f20f575ebd9344c480b4343a690648
languageName: node
linkType: hard
@@ -11250,17 +11250,17 @@ __metadata:
languageName: node
linkType: hard
"@toeverything/components@npm:^0.0.8":
version: 0.0.8
resolution: "@toeverything/components@npm:0.0.8"
"@toeverything/components@npm:^0.0.10":
version: 0.0.10
resolution: "@toeverything/components@npm:0.0.10"
dependencies:
"@blocksuite/icons": ^2.1.26
"@blocksuite/icons": ^2.1.30
peerDependencies:
"@radix-ui/react-avatar": ^1
clsx: ^2
react: ^18
react-dom: ^18
checksum: 9c955d3c46729397e92031cc6a5ba0f15eb8a67893862b4c6c017c87fff2ab8e9ee8505695b0da571f2af35ad6545f643fc34f657f1c9d1913648796971540d9
checksum: b1e15d5a03e6e83ca6dfa4794b23047ea7dba66cb333246be01ac96b5871ed16c20c455931ebe9dd38d1fb98793acee9510e6e2ad8d5ffba7956d2df24d887dd
languageName: node
linkType: hard
@@ -11321,10 +11321,10 @@ __metadata:
languageName: unknown
linkType: soft
"@toeverything/theme@npm:^0.7.9":
version: 0.7.9
resolution: "@toeverything/theme@npm:0.7.9"
checksum: ac7eeea49f9099e34e8aacbd327ef5e48cc9fc02c32a20309da3dbcb4363c8dda3d2c887cf0e8eb8bb0fa2c50e73f123332f7009d2926961ef7ecbbb921a856d
"@toeverything/theme@npm:^0.7.11":
version: 0.7.11
resolution: "@toeverything/theme@npm:0.7.11"
checksum: 4676ff7714248aa5e5224a7ee96d40ec30e05f4a8c91a31b36ec4efd244c23ffd7953768d15d0f5b7d560579db9e98f629cebb85afcb92f0db654f99c2edc908
languageName: node
linkType: hard