From 8b1b5b2e93698f19f97766b3d5d7c8652251f967 Mon Sep 17 00:00:00 2001 From: regischen Date: Thu, 18 Jan 2024 17:26:31 +0800 Subject: [PATCH] feat: bump blocksuite (#5624) --- packages/common/env/package.json | 4 +- packages/common/infra/package.json | 10 +- packages/common/y-indexeddb/package.json | 6 +- packages/common/y-provider/package.json | 2 +- packages/frontend/component/package.json | 10 +- packages/frontend/core/package.json | 14 +- .../register-blocksuite-components.ts | 4 +- .../editor-sidebar/extensions/outline.tsx | 18 +- packages/frontend/electron/package.json | 8 +- tests/affine-legacy/0.6.1-beta.1/package.json | 8 +- .../0.7.0-canary.18/package.json | 8 +- .../affine-legacy/0.8.0-canary.7/package.json | 8 +- tests/affine-legacy/0.8.4/package.json | 8 +- tests/affine-migration/package.json | 8 +- tests/kit/utils/page-logic.ts | 2 +- tests/storybook/package.json | 14 +- yarn.lock | 204 +++++++++--------- 17 files changed, 168 insertions(+), 168 deletions(-) diff --git a/packages/common/env/package.json b/packages/common/env/package.json index f202db8226..5654d327da 100644 --- a/packages/common/env/package.json +++ b/packages/common/env/package.json @@ -3,8 +3,8 @@ "private": true, "type": "module", "devDependencies": { - "@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", + "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd", "react": "18.2.0", "react-dom": "18.2.0", "vitest": "1.1.3" diff --git a/packages/common/infra/package.json b/packages/common/infra/package.json index 5222c21045..f305bc84a8 100644 --- a/packages/common/infra/package.json +++ b/packages/common/infra/package.json @@ -13,9 +13,9 @@ "@affine/debug": "workspace:*", "@affine/env": "workspace:*", "@affine/templates": "workspace:*", - "@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", + "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd", "jotai": "^2.5.1", "jotai-effect": "^0.2.3", "nanoid": "^5.0.3", @@ -26,8 +26,8 @@ "devDependencies": { "@affine-test/fixtures": "workspace:*", "@affine/templates": "workspace:*", - "@blocksuite/lit": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/presets": "0.12.0-nightly-202401120404-4219e86", + "@blocksuite/lit": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/presets": "0.12.0-nightly-202401180838-f0c45fd", "async-call-rpc": "^6.3.1", "react": "^18.2.0", "rxjs": "^7.8.1", diff --git a/packages/common/y-indexeddb/package.json b/packages/common/y-indexeddb/package.json index 57ddc13099..b4049c61c7 100644 --- a/packages/common/y-indexeddb/package.json +++ b/packages/common/y-indexeddb/package.json @@ -32,14 +32,14 @@ } }, "dependencies": { - "@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", + "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd", "idb": "^8.0.0", "nanoid": "^5.0.3", "y-provider": "workspace:*" }, "devDependencies": { - "@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", + "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd", "fake-indexeddb": "^5.0.0", "vite": "^5.0.6", "vite-plugin-dts": "3.7.0", diff --git a/packages/common/y-provider/package.json b/packages/common/y-provider/package.json index fc7af90e84..7a3dfcd1ad 100644 --- a/packages/common/y-provider/package.json +++ b/packages/common/y-provider/package.json @@ -24,7 +24,7 @@ "build": "vite build" }, "devDependencies": { - "@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", + "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd", "vite": "^5.0.6", "vite-plugin-dts": "3.7.0", "vitest": "1.1.3", diff --git a/packages/frontend/component/package.json b/packages/frontend/component/package.json index 40fec03312..20519e933a 100644 --- a/packages/frontend/component/package.json +++ b/packages/frontend/component/package.json @@ -72,12 +72,12 @@ "uuid": "^9.0.1" }, "devDependencies": { - "@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", + "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd", "@blocksuite/icons": "2.1.41", - "@blocksuite/lit": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/presets": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", + "@blocksuite/lit": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/presets": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd", "@storybook/addon-actions": "^7.5.3", "@storybook/addon-essentials": "^7.5.3", "@storybook/addon-interactions": "^7.5.3", diff --git a/packages/frontend/core/package.json b/packages/frontend/core/package.json index 8c14cb2dc3..befea318d8 100644 --- a/packages/frontend/core/package.json +++ b/packages/frontend/core/package.json @@ -26,14 +26,14 @@ "@affine/templates": "workspace:*", "@affine/workspace": "workspace:*", "@affine/workspace-impl": "workspace:*", - "@blocksuite/block-std": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", + "@blocksuite/block-std": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd", "@blocksuite/icons": "2.1.41", - "@blocksuite/inline": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/lit": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/presets": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", + "@blocksuite/inline": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/lit": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/presets": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd", "@dnd-kit/core": "^6.0.8", "@dnd-kit/sortable": "^8.0.0", "@emotion/cache": "^11.11.0", diff --git a/packages/frontend/core/src/bootstrap/register-blocksuite-components.ts b/packages/frontend/core/src/bootstrap/register-blocksuite-components.ts index dbe4739f60..4911fbce8c 100644 --- a/packages/frontend/core/src/bootstrap/register-blocksuite-components.ts +++ b/packages/frontend/core/src/bootstrap/register-blocksuite-components.ts @@ -1,9 +1,9 @@ import { registerFramePanelComponents, - registerTOCPanelComponents, + registerOutlinePanelComponents, } from '@blocksuite/presets'; -registerTOCPanelComponents(components => { +registerOutlinePanelComponents(components => { for (const compName in components) { if (window.customElements.get(compName)) continue; diff --git a/packages/frontend/core/src/pages/workspace/detail-page/editor-sidebar/extensions/outline.tsx b/packages/frontend/core/src/pages/workspace/detail-page/editor-sidebar/extensions/outline.tsx index 6d24a27010..511a4c4e86 100644 --- a/packages/frontend/core/src/pages/workspace/detail-page/editor-sidebar/extensions/outline.tsx +++ b/packages/frontend/core/src/pages/workspace/detail-page/editor-sidebar/extensions/outline.tsx @@ -1,7 +1,7 @@ import { useActiveBlocksuiteEditor } from '@affine/core/hooks/use-block-suite-editor'; import { assertExists } from '@blocksuite/global/utils'; import { TocIcon } from '@blocksuite/icons'; -import { TOCPanel } from '@blocksuite/presets'; +import { OutlinePanel } from '@blocksuite/presets'; import { useCallback, useRef } from 'react'; import type { EditorExtension } from '../types'; @@ -9,13 +9,13 @@ import * as styles from './outline.css'; // A wrapper for TOCNotesPanel const EditorOutline = () => { - const tocPanelRef = useRef(null); + const outlinePanelRef = useRef(null); const [editor] = useActiveBlocksuiteEditor(); const onRefChange = useCallback((container: HTMLDivElement | null) => { if (container) { - assertExists(tocPanelRef.current, 'toc panel should be initialized'); - container.append(tocPanelRef.current); + assertExists(outlinePanelRef.current, 'toc panel should be initialized'); + container.append(outlinePanelRef.current); } }, []); @@ -23,13 +23,13 @@ const EditorOutline = () => { return; } - if (!tocPanelRef.current) { - tocPanelRef.current = new TOCPanel(); + if (!outlinePanelRef.current) { + outlinePanelRef.current = new OutlinePanel(); } - if (editor !== tocPanelRef.current?.editor) { - (tocPanelRef.current as TOCPanel).editor = editor; - (tocPanelRef.current as TOCPanel).fitPadding = [20, 20, 20, 20]; + if (editor !== outlinePanelRef.current?.editor) { + (outlinePanelRef.current as OutlinePanel).editor = editor; + (outlinePanelRef.current as OutlinePanel).fitPadding = [20, 20, 20, 20]; } return
; diff --git a/packages/frontend/electron/package.json b/packages/frontend/electron/package.json index 76bc9a61d4..83856d3f65 100644 --- a/packages/frontend/electron/package.json +++ b/packages/frontend/electron/package.json @@ -25,10 +25,10 @@ "@affine-test/kit": "workspace:*", "@affine/env": "workspace:*", "@affine/native": "workspace:*", - "@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/lit": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/presets": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", + "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/lit": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/presets": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd", "@electron-forge/cli": "^7.2.0", "@electron-forge/core": "^7.2.0", "@electron-forge/core-utils": "^7.2.0", diff --git a/tests/affine-legacy/0.6.1-beta.1/package.json b/tests/affine-legacy/0.6.1-beta.1/package.json index 2a3f80f43f..d8f8c55da5 100644 --- a/tests/affine-legacy/0.6.1-beta.1/package.json +++ b/tests/affine-legacy/0.6.1-beta.1/package.json @@ -9,10 +9,10 @@ "devDependencies": { "@affine-test/fixtures": "workspace:*", "@affine-test/kit": "workspace:*", - "@blocksuite/block-std": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", + "@blocksuite/block-std": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd", "@playwright/test": "^1.39.0", "express": "^4.18.2", "http-proxy-middleware": "^3.0.0-beta.1", diff --git a/tests/affine-legacy/0.7.0-canary.18/package.json b/tests/affine-legacy/0.7.0-canary.18/package.json index 7a6e0d72de..4f405ac040 100644 --- a/tests/affine-legacy/0.7.0-canary.18/package.json +++ b/tests/affine-legacy/0.7.0-canary.18/package.json @@ -9,10 +9,10 @@ "devDependencies": { "@affine-test/fixtures": "workspace:*", "@affine-test/kit": "workspace:*", - "@blocksuite/block-std": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", + "@blocksuite/block-std": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd", "@playwright/test": "^1.39.0", "express": "^4.18.2", "http-proxy-middleware": "^3.0.0-beta.1", diff --git a/tests/affine-legacy/0.8.0-canary.7/package.json b/tests/affine-legacy/0.8.0-canary.7/package.json index ceab4e5a31..5e0e25d6ad 100644 --- a/tests/affine-legacy/0.8.0-canary.7/package.json +++ b/tests/affine-legacy/0.8.0-canary.7/package.json @@ -9,10 +9,10 @@ "devDependencies": { "@affine-test/fixtures": "workspace:*", "@affine-test/kit": "workspace:*", - "@blocksuite/block-std": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", + "@blocksuite/block-std": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd", "@playwright/test": "^1.39.0", "express": "^4.18.2", "http-proxy-middleware": "^3.0.0-beta.1", diff --git a/tests/affine-legacy/0.8.4/package.json b/tests/affine-legacy/0.8.4/package.json index e36c6ce7b1..b9caa58951 100644 --- a/tests/affine-legacy/0.8.4/package.json +++ b/tests/affine-legacy/0.8.4/package.json @@ -9,10 +9,10 @@ "devDependencies": { "@affine-test/fixtures": "workspace:*", "@affine-test/kit": "workspace:*", - "@blocksuite/block-std": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", + "@blocksuite/block-std": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd", "@playwright/test": "^1.39.0", "express": "^4.18.2", "http-proxy-middleware": "^3.0.0-beta.1", diff --git a/tests/affine-migration/package.json b/tests/affine-migration/package.json index e30d0b312f..f93d8cd2f3 100644 --- a/tests/affine-migration/package.json +++ b/tests/affine-migration/package.json @@ -7,10 +7,10 @@ "devDependencies": { "@affine-test/fixtures": "workspace:*", "@affine-test/kit": "workspace:*", - "@blocksuite/block-std": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", + "@blocksuite/block-std": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd", "@playwright/test": "^1.39.0" }, "version": "0.11.0" diff --git a/tests/kit/utils/page-logic.ts b/tests/kit/utils/page-logic.ts index 6a927a82b3..d6410c9a6b 100644 --- a/tests/kit/utils/page-logic.ts +++ b/tests/kit/utils/page-logic.ts @@ -32,7 +32,7 @@ export async function type(page: Page, content: string, delay = 50) { export const createLinkedPage = async (page: Page, pageName?: string) => { await page.keyboard.type('@', { delay: 50 }); - const linkedPagePopover = page.locator('.linked-page-popover'); + const linkedPagePopover = page.locator('.linked-doc-popover'); await expect(linkedPagePopover).toBeVisible(); if (pageName) { await type(page, pageName); diff --git a/tests/storybook/package.json b/tests/storybook/package.json index 1bbe674d98..823d8c62b2 100644 --- a/tests/storybook/package.json +++ b/tests/storybook/package.json @@ -21,14 +21,14 @@ "storybook-addon-react-router-v6": "^2.0.10" }, "devDependencies": { - "@blocksuite/block-std": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/blocks": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/global": "0.12.0-nightly-202401120404-4219e86", + "@blocksuite/block-std": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/blocks": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/global": "0.12.0-nightly-202401180838-f0c45fd", "@blocksuite/icons": "2.1.41", - "@blocksuite/inline": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/lit": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/presets": "0.12.0-nightly-202401120404-4219e86", - "@blocksuite/store": "0.12.0-nightly-202401120404-4219e86", + "@blocksuite/inline": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/lit": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/presets": "0.12.0-nightly-202401180838-f0c45fd", + "@blocksuite/store": "0.12.0-nightly-202401180838-f0c45fd", "@storybook/addon-actions": "^7.5.3", "@storybook/addon-essentials": "^7.5.3", "@storybook/addon-interactions": "^7.5.3", diff --git a/yarn.lock b/yarn.lock index e57f9801d2..da3702b320 100644 --- a/yarn.lock +++ b/yarn.lock @@ -25,10 +25,10 @@ __metadata: dependencies: "@affine-test/fixtures": "workspace:*" "@affine-test/kit": "workspace:*" - "@blocksuite/block-std": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/block-std": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd" "@playwright/test": "npm:^1.39.0" express: "npm:^4.18.2" http-proxy-middleware: "npm:^3.0.0-beta.1" @@ -42,10 +42,10 @@ __metadata: dependencies: "@affine-test/fixtures": "workspace:*" "@affine-test/kit": "workspace:*" - "@blocksuite/block-std": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/block-std": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd" "@playwright/test": "npm:^1.39.0" express: "npm:^4.18.2" http-proxy-middleware: "npm:^3.0.0-beta.1" @@ -59,10 +59,10 @@ __metadata: dependencies: "@affine-test/fixtures": "workspace:*" "@affine-test/kit": "workspace:*" - "@blocksuite/block-std": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/block-std": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd" "@playwright/test": "npm:^1.39.0" express: "npm:^4.18.2" http-proxy-middleware: "npm:^3.0.0-beta.1" @@ -76,10 +76,10 @@ __metadata: dependencies: "@affine-test/fixtures": "workspace:*" "@affine-test/kit": "workspace:*" - "@blocksuite/block-std": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/block-std": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd" "@playwright/test": "npm:^1.39.0" express: "npm:^4.18.2" http-proxy-middleware: "npm:^3.0.0-beta.1" @@ -139,10 +139,10 @@ __metadata: dependencies: "@affine-test/fixtures": "workspace:*" "@affine-test/kit": "workspace:*" - "@blocksuite/block-std": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/block-std": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd" "@playwright/test": "npm:^1.39.0" languageName: unknown linkType: soft @@ -206,12 +206,12 @@ __metadata: "@affine/graphql": "workspace:*" "@affine/i18n": "workspace:*" "@affine/workspace": "workspace:*" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd" "@blocksuite/icons": "npm:2.1.41" - "@blocksuite/lit": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/presets": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/lit": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/presets": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd" "@dnd-kit/core": "npm:^6.0.8" "@dnd-kit/modifiers": "npm:^7.0.0" "@dnd-kit/sortable": "npm:^8.0.0" @@ -309,14 +309,14 @@ __metadata: "@affine/workspace": "workspace:*" "@affine/workspace-impl": "workspace:*" "@aws-sdk/client-s3": "npm:3.485.0" - "@blocksuite/block-std": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/block-std": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd" "@blocksuite/icons": "npm:2.1.41" - "@blocksuite/inline": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/lit": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/presets": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/inline": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/lit": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/presets": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd" "@dnd-kit/core": "npm:^6.0.8" "@dnd-kit/sortable": "npm:^8.0.0" "@emotion/cache": "npm:^11.11.0" @@ -443,10 +443,10 @@ __metadata: "@affine-test/kit": "workspace:*" "@affine/env": "workspace:*" "@affine/native": "workspace:*" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/lit": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/presets": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/lit": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/presets": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd" "@electron-forge/cli": "npm:^7.2.0" "@electron-forge/core": "npm:^7.2.0" "@electron-forge/core-utils": "npm:^7.2.0" @@ -495,8 +495,8 @@ __metadata: version: 0.0.0-use.local resolution: "@affine/env@workspace:packages/common/env" dependencies: - "@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd" lit: "npm:^3.0.2" react: "npm:18.2.0" react-dom: "npm:18.2.0" @@ -741,14 +741,14 @@ __metadata: dependencies: "@affine/component": "workspace:*" "@affine/i18n": "workspace:*" - "@blocksuite/block-std": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/block-std": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd" "@blocksuite/icons": "npm:2.1.41" - "@blocksuite/inline": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/lit": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/presets": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/inline": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/lit": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/presets": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd" "@dnd-kit/sortable": "npm:^8.0.0" "@storybook/addon-actions": "npm:^7.5.3" "@storybook/addon-essentials": "npm:^7.5.3" @@ -3393,29 +3393,29 @@ __metadata: languageName: node linkType: hard -"@blocksuite/block-std@npm:0.12.0-nightly-202401120404-4219e86": - version: 0.12.0-nightly-202401120404-4219e86 - resolution: "@blocksuite/block-std@npm:0.12.0-nightly-202401120404-4219e86" +"@blocksuite/block-std@npm:0.12.0-nightly-202401180838-f0c45fd": + version: 0.12.0-nightly-202401180838-f0c45fd + resolution: "@blocksuite/block-std@npm:0.12.0-nightly-202401180838-f0c45fd" dependencies: - "@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd" lz-string: "npm:^1.5.0" w3c-keyname: "npm:^2.2.8" zod: "npm:^3.22.4" peerDependencies: - "@blocksuite/store": 0.12.0-nightly-202401120404-4219e86 - checksum: 370f1f940399fa4ce7c0700b8ccd2fc27d14a6778bac119311af826ac927e3c177c26de1e16568032dc4e0ce856b4c95a991813fbdae17531bf4b8f38038e17b + "@blocksuite/store": 0.12.0-nightly-202401180838-f0c45fd + checksum: 85c1f12cf25f160a2bad40dbbcc4c7559120d6d3943a9686109fe4aa8e91a62cf1e07a5bd9bcc7a790c422afaf1aad0889aff743cac55fbe755e3b03d282ff43 languageName: node linkType: hard -"@blocksuite/blocks@npm:0.12.0-nightly-202401120404-4219e86": - version: 0.12.0-nightly-202401120404-4219e86 - resolution: "@blocksuite/blocks@npm:0.12.0-nightly-202401120404-4219e86" +"@blocksuite/blocks@npm:0.12.0-nightly-202401180838-f0c45fd": + version: 0.12.0-nightly-202401180838-f0c45fd + resolution: "@blocksuite/blocks@npm:0.12.0-nightly-202401180838-f0c45fd" dependencies: - "@blocksuite/block-std": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/inline": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/lit": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/block-std": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/inline": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/lit": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd" "@floating-ui/dom": "npm:^1.5.4" "@toeverything/theme": "npm:^0.7.27" "@types/hast": "npm:^3.0.3" @@ -3449,16 +3449,16 @@ __metadata: unified: "npm:^11.0.4" webfontloader: "npm:^1.6.28" zod: "npm:^3.22.4" - checksum: d26daebf5cdf9f863d5a03e72bf764d0c97975abe9f37acf38d55eb5070a722568ee4d044df5cfebe5ffe9785df1b1392194ee6c816ff74a5408ec54403e59b8 + checksum: a27d5ff4bcc359f11da4378a50fa797ac158a86703fa9c5cedd5188e22a54bbcce9be8551ae0b22caba26daa71790f54be6d3e7d6b0a1ba63ddca6f3e0fcc620 languageName: node linkType: hard -"@blocksuite/global@npm:0.12.0-nightly-202401120404-4219e86": - version: 0.12.0-nightly-202401120404-4219e86 - resolution: "@blocksuite/global@npm:0.12.0-nightly-202401120404-4219e86" +"@blocksuite/global@npm:0.12.0-nightly-202401180838-f0c45fd": + version: 0.12.0-nightly-202401180838-f0c45fd + resolution: "@blocksuite/global@npm:0.12.0-nightly-202401180838-f0c45fd" dependencies: zod: "npm:^3.22.4" - checksum: 247d7d6475936289720d8f7a4fa8b0dcb375c3a74115da4b8c9456d2df45a3e71ee073a2c0b5488cdf25dfe6b0eb9dfba21958e0a2066776c93850c292b904bd + checksum: a628e888350a483a7d858a3df3de0280e7d5b726de9da999f447cd25cf6e3f786981988a07dbb8a9abb4d4b92e25e4ce4e8a0da517aa1836c2aa7b7454752872 languageName: node linkType: hard @@ -3472,58 +3472,58 @@ __metadata: languageName: node linkType: hard -"@blocksuite/inline@npm:0.12.0-nightly-202401120404-4219e86": - version: 0.12.0-nightly-202401120404-4219e86 - resolution: "@blocksuite/inline@npm:0.12.0-nightly-202401120404-4219e86" +"@blocksuite/inline@npm:0.12.0-nightly-202401180838-f0c45fd": + version: 0.12.0-nightly-202401180838-f0c45fd + resolution: "@blocksuite/inline@npm:0.12.0-nightly-202401180838-f0c45fd" dependencies: - "@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd" zod: "npm:^3.22.4" peerDependencies: lit: ^3.0.2 yjs: ^13 - checksum: 1c38558f5a7e9fac84a6130207618e2a75c29591c6dc264cd5e2eddee4a7dfc02964c66c8945ea4a8a6b3c468242e4c5b7d8ea639d77bd82cd5e59c87c5b1171 + checksum: 083e733b76c9eeb7bc83597d44864a4538c49521f5222ec70d91b465b7783e0b877eab2b6ba0a23be6dbc5353932dceb5d5e70a93ac3d3d7a943a487641ac5b5 languageName: node linkType: hard -"@blocksuite/lit@npm:0.12.0-nightly-202401120404-4219e86": - version: 0.12.0-nightly-202401120404-4219e86 - resolution: "@blocksuite/lit@npm:0.12.0-nightly-202401120404-4219e86" +"@blocksuite/lit@npm:0.12.0-nightly-202401180838-f0c45fd": + version: 0.12.0-nightly-202401180838-f0c45fd + resolution: "@blocksuite/lit@npm:0.12.0-nightly-202401180838-f0c45fd" dependencies: - "@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/inline": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/inline": "npm:0.12.0-nightly-202401180838-f0c45fd" lit: "npm:^3.1.0" peerDependencies: - "@blocksuite/block-std": 0.12.0-nightly-202401120404-4219e86 - "@blocksuite/store": 0.12.0-nightly-202401120404-4219e86 - checksum: 2b1df051a77f58376df1b88301041721588dd4b2f06c6bcde807316bdf8f1c311d53a9cb81254ef52a5e67bebc378cb4ea512ddefd16b1ad868c1d87fc47c958 + "@blocksuite/block-std": 0.12.0-nightly-202401180838-f0c45fd + "@blocksuite/store": 0.12.0-nightly-202401180838-f0c45fd + checksum: 4d6f9e7df682fdbac0f02d52ce71966f8978c017d857b4d9f28e722c6b9f825780b789fa9aa3d6d7a80124b6c3bf1902868c45e88cf442dbea09c95e0d7a5bc2 languageName: node linkType: hard -"@blocksuite/presets@npm:0.12.0-nightly-202401120404-4219e86": - version: 0.12.0-nightly-202401120404-4219e86 - resolution: "@blocksuite/presets@npm:0.12.0-nightly-202401120404-4219e86" +"@blocksuite/presets@npm:0.12.0-nightly-202401180838-f0c45fd": + version: 0.12.0-nightly-202401180838-f0c45fd + resolution: "@blocksuite/presets@npm:0.12.0-nightly-202401180838-f0c45fd" dependencies: - "@blocksuite/block-std": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/inline": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/lit": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/block-std": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/inline": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/lit": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd" "@fal-ai/serverless-client": "npm:^0.7.4" "@floating-ui/dom": "npm:^1.5.4" "@toeverything/theme": "npm:^0.7.27" lit: "npm:^3.1.0" openai: "npm:^4.24.1" - checksum: b4d04692f34bd02cf312ca23aa03d294cc04d69e72d9b0a190d6c433aefc460aa37256ba8c8bead6fd900a0273831ae3e252d4ada9af48f4abcc96fa193b409a + checksum: 5a717c7bf4af53077de0c3a3e30bf0edf2daffcb067997e8cbd779d78dc7ac96e708166f0f951628a3e202b1e7e39b1aeaf9e827303983e2193db99ace6a8c47 languageName: node linkType: hard -"@blocksuite/store@npm:0.12.0-nightly-202401120404-4219e86": - version: 0.12.0-nightly-202401120404-4219e86 - resolution: "@blocksuite/store@npm:0.12.0-nightly-202401120404-4219e86" +"@blocksuite/store@npm:0.12.0-nightly-202401180838-f0c45fd": + version: 0.12.0-nightly-202401180838-f0c45fd + resolution: "@blocksuite/store@npm:0.12.0-nightly-202401180838-f0c45fd" dependencies: - "@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/inline": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/inline": "npm:0.12.0-nightly-202401180838-f0c45fd" "@types/flexsearch": "npm:^0.7.6" flexsearch: "npm:0.7.43" idb-keyval: "npm:^6.2.1" @@ -3536,7 +3536,7 @@ __metadata: peerDependencies: async-call-rpc: ^6 yjs: ^13 - checksum: 8cd32c49fcaf9cefa4e4211cba392a9f1c8f1d14c1d601aa4758d4d4b88ca5cf2543032e28d486ef4f7de9a109d3c6b1eaca2bb5d5e81d772b1d702600674475 + checksum: 0e125e13a27b70b895bdca4512276eca6191050e00e95d235f4e67b9b5b69618da2dc003af25d7ab9e6351300f7e51263011d77e69c68f3657b7c251be0c3d11 languageName: node linkType: hard @@ -12850,11 +12850,11 @@ __metadata: "@affine/debug": "workspace:*" "@affine/env": "workspace:*" "@affine/templates": "workspace:*" - "@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/lit": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/presets": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/lit": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/presets": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd" async-call-rpc: "npm:^6.3.1" jotai: "npm:^2.5.1" jotai-effect: "npm:^0.2.3" @@ -12901,9 +12901,9 @@ __metadata: version: 0.0.0-use.local resolution: "@toeverything/y-indexeddb@workspace:packages/common/y-indexeddb" dependencies: - "@blocksuite/blocks": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/global": "npm:0.12.0-nightly-202401120404-4219e86" - "@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/blocks": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/global": "npm:0.12.0-nightly-202401180838-f0c45fd" + "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd" fake-indexeddb: "npm:^5.0.0" idb: "npm:^8.0.0" nanoid: "npm:^5.0.3" @@ -35307,7 +35307,7 @@ __metadata: version: 0.0.0-use.local resolution: "y-provider@workspace:packages/common/y-provider" dependencies: - "@blocksuite/store": "npm:0.12.0-nightly-202401120404-4219e86" + "@blocksuite/store": "npm:0.12.0-nightly-202401180838-f0c45fd" vite: "npm:^5.0.6" vite-plugin-dts: "npm:3.7.0" vitest: "npm:1.1.3"