mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat(core): update split view icons and texts (#6193)
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
"@blocksuite/block-std": "0.13.0-canary-202403140735-2367cd5",
|
||||
"@blocksuite/blocks": "0.13.0-canary-202403140735-2367cd5",
|
||||
"@blocksuite/global": "0.13.0-canary-202403140735-2367cd5",
|
||||
"@blocksuite/icons": "2.1.45",
|
||||
"@blocksuite/icons": "2.1.46",
|
||||
"@blocksuite/inline": "0.13.0-canary-202403140735-2367cd5",
|
||||
"@blocksuite/lit": "0.13.0-canary-202403140735-2367cd5",
|
||||
"@blocksuite/presets": "0.13.0-canary-202403140735-2367cd5",
|
||||
|
||||
@@ -2,9 +2,9 @@ import { MenuIcon, MenuItem } from '@affine/component';
|
||||
import { useAFFiNEI18N } from '@affine/i18n/hooks';
|
||||
import {
|
||||
ExpandCloseIcon,
|
||||
KeepThisOneIcon,
|
||||
MoveToLeftIcon,
|
||||
MoveToRightIcon,
|
||||
SoloViewIcon,
|
||||
} from '@blocksuite/icons';
|
||||
import { useSortable } from '@dnd-kit/sortable';
|
||||
import { useService } from '@toeverything/infra/di';
|
||||
@@ -158,7 +158,7 @@ const SplitViewMenu = ({ view }: { view: View }) => {
|
||||
views.length > 1 ? (
|
||||
<MenuItem
|
||||
onClick={handleCloseOthers}
|
||||
preFix={<MenuIcon icon={<KeepThisOneIcon />} />}
|
||||
preFix={<MenuIcon icon={<SoloViewIcon />} />}
|
||||
>
|
||||
{t['com.affine.workbench.split-view-menu.keep-this-one']()}
|
||||
</MenuItem>
|
||||
|
||||
@@ -1163,7 +1163,7 @@
|
||||
"com.affine.delete-tags.count": "{{count}} tag deleted",
|
||||
"com.affine.delete-tags.count_one": "{{count}} tag deleted",
|
||||
"com.affine.delete-tags.count_other": "{{count}} tags deleted",
|
||||
"com.affine.workbench.split-view-menu.keep-this-one": "Keep this one",
|
||||
"com.affine.workbench.split-view.page-menu-open": "Split View",
|
||||
"com.affine.workbench.split-view-menu.keep-this-one": "Solo View",
|
||||
"com.affine.workbench.split-view.page-menu-open": "Open in split view",
|
||||
"com.affine.search-tags.placeholder": "Type here ..."
|
||||
}
|
||||
|
||||
12
yarn.lock
12
yarn.lock
@@ -330,7 +330,7 @@ __metadata:
|
||||
"@blocksuite/block-std": "npm:0.13.0-canary-202403140735-2367cd5"
|
||||
"@blocksuite/blocks": "npm:0.13.0-canary-202403140735-2367cd5"
|
||||
"@blocksuite/global": "npm:0.13.0-canary-202403140735-2367cd5"
|
||||
"@blocksuite/icons": "npm:2.1.45"
|
||||
"@blocksuite/icons": "npm:2.1.46"
|
||||
"@blocksuite/inline": "npm:0.13.0-canary-202403140735-2367cd5"
|
||||
"@blocksuite/lit": "npm:0.13.0-canary-202403140735-2367cd5"
|
||||
"@blocksuite/presets": "npm:0.13.0-canary-202403140735-2367cd5"
|
||||
@@ -3531,6 +3531,16 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@blocksuite/icons@npm:2.1.46":
|
||||
version: 2.1.46
|
||||
resolution: "@blocksuite/icons@npm:2.1.46"
|
||||
peerDependencies:
|
||||
"@types/react": ^18.0.25
|
||||
react: ^18.2.0
|
||||
checksum: 10/73b25f5e6808904b25e57ad86fbeb7d8fc552db72a8ca3fec4a209e7ba0d5f1123007b62948ed6461267bd3515a40e6eb1cbed7678902b448d256942e7616a9d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@blocksuite/inline@npm:0.13.0-canary-202403140735-2367cd5":
|
||||
version: 0.13.0-canary-202403140735-2367cd5
|
||||
resolution: "@blocksuite/inline@npm:0.13.0-canary-202403140735-2367cd5"
|
||||
|
||||
Reference in New Issue
Block a user