There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
chore: bump blocksuite version (#3654)
Mirone629a3d11c6bd
diff --git a/apps/core/package.json b/apps/core/package.jsonindex cbc8cca0a0..9dd4d7508b 100644--- a/apps/core/package.json+++ b/apps/core/package.json@@ -18,13 +18,13 @@"@affine/jotai": "workspace:*","@affine/templates": "workspace:*","@affine/workspace": "workspace:*",- "@blocksuite/block-std": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/blocks": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/editor": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/global": "0.0.0-20230809030546-32e6e21d-nightly",+ "@blocksuite/block-std": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/blocks": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/editor": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/global": "0.0.0-20230810005427-25adb757-nightly","@blocksuite/icons": "^2.1.31",- "@blocksuite/lit": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/store": "0.0.0-20230809030546-32e6e21d-nightly",+ "@blocksuite/lit": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/store": "0.0.0-20230810005427-25adb757-nightly","@dnd-kit/core": "^6.0.8","@dnd-kit/sortable": "^7.0.2","@emotion/cache": "^11.11.0",diff --git a/apps/docs/package.json b/apps/docs/package.jsonindex b84fc5c212..aa640691de 100644--- a/apps/docs/package.json+++ b/apps/docs/package.json@@ -10,12 +10,12 @@},"dependencies": {"@affine/component": "workspace:*",- "@blocksuite/block-std": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/blocks": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/editor": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/global": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/lit": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/store": "0.0.0-20230809030546-32e6e21d-nightly",+ "@blocksuite/block-std": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/blocks": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/editor": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/global": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/lit": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/store": "0.0.0-20230810005427-25adb757-nightly","express": "^4.18.2","jotai": "^2.2.2","react": "18.3.0-canary-1fdacbefd-20230630",diff --git a/apps/electron/package.json b/apps/electron/package.jsonindex 8f2f633984..745fd08f0a 100644--- a/apps/electron/package.json+++ b/apps/electron/package.json@@ -28,10 +28,10 @@"@affine/env": "workspace:*","@affine/native": "workspace:*","@affine/sdk": "workspace:*",- "@blocksuite/blocks": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/editor": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/lit": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/store": "0.0.0-20230809030546-32e6e21d-nightly",+ "@blocksuite/blocks": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/editor": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/lit": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/store": "0.0.0-20230810005427-25adb757-nightly","@electron-forge/cli": "^6.3.0","@electron-forge/core": "^6.3.0","@electron-forge/core-utils": "^6.3.0",diff --git a/apps/storybook/package.json b/apps/storybook/package.jsonindex 356c197fe1..cadf7674cb 100644--- a/apps/storybook/package.json+++ b/apps/storybook/package.json@@ -30,13 +30,13 @@"wait-on": "^7.0.1"},"devDependencies": {- "@blocksuite/block-std": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/blocks": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/editor": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/global": "0.0.0-20230809030546-32e6e21d-nightly",+ "@blocksuite/block-std": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/blocks": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/editor": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/global": "0.0.0-20230810005427-25adb757-nightly","@blocksuite/icons": "^2.1.31",- "@blocksuite/lit": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/store": "0.0.0-20230809030546-32e6e21d-nightly",+ "@blocksuite/lit": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/store": "0.0.0-20230810005427-25adb757-nightly","react": "18.2.0","react-dom": "18.2.0"},diff --git a/packages/component/package.json b/packages/component/package.jsonindex 2475514a15..d4dfc50114 100644--- a/packages/component/package.json+++ b/packages/component/package.json@@ -51,12 +51,12 @@"rxjs": "^7.8.1"},"devDependencies": {- "@blocksuite/blocks": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/editor": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/global": "0.0.0-20230809030546-32e6e21d-nightly",+ "@blocksuite/blocks": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/editor": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/global": "0.0.0-20230810005427-25adb757-nightly","@blocksuite/icons": "^2.1.31",- "@blocksuite/lit": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/store": "0.0.0-20230809030546-32e6e21d-nightly",+ "@blocksuite/lit": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/store": "0.0.0-20230810005427-25adb757-nightly","@types/react": "^18.2.17","@types/react-datepicker": "^4.15.0","@types/react-dnd": "^3.0.2",diff --git a/packages/env/package.json b/packages/env/package.jsonindex 8eec1f2327..fce8b2033c 100644--- a/packages/env/package.json+++ b/packages/env/package.json@@ -5,7 +5,7 @@"main": "./src/index.ts","module": "./src/index.ts","devDependencies": {- "@blocksuite/global": "0.0.0-20230809030546-32e6e21d-nightly",+ "@blocksuite/global": "0.0.0-20230810005427-25adb757-nightly","react": "18.2.0","react-dom": "18.2.0","zod": "^3.21.4"diff --git a/packages/hooks/package.json b/packages/hooks/package.jsonindex 64566ff89c..0d8936abb3 100644--- a/packages/hooks/package.json+++ b/packages/hooks/package.json@@ -10,12 +10,12 @@"@toeverything/y-indexeddb": "workspace:*"},"devDependencies": {- "@blocksuite/block-std": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/blocks": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/editor": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/global": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/lit": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/store": "0.0.0-20230809030546-32e6e21d-nightly"+ "@blocksuite/block-std": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/blocks": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/editor": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/global": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/lit": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/store": "0.0.0-20230810005427-25adb757-nightly"},"peerDependencies": {"@blocksuite/block-std": "*",diff --git a/packages/infra/package.json b/packages/infra/package.jsonindex 2b969ff8a6..7d959c6fa6 100644--- a/packages/infra/package.json+++ b/packages/infra/package.json@@ -45,15 +45,15 @@},"dependencies": {"@affine/sdk": "workspace:*",- "@blocksuite/blocks": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/global": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/store": "0.0.0-20230809030546-32e6e21d-nightly",+ "@blocksuite/blocks": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/global": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/store": "0.0.0-20230810005427-25adb757-nightly","jotai": "^2.2.2","zod": "^3.21.4"},"devDependencies": {- "@blocksuite/editor": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/lit": "0.0.0-20230809030546-32e6e21d-nightly",+ "@blocksuite/editor": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/lit": "0.0.0-20230810005427-25adb757-nightly","async-call-rpc": "^6.3.1","electron": "link:../../apps/electron/node_modules/electron","react": "^18.2.0",diff --git a/packages/jotai/package.json b/packages/jotai/package.jsonindex a2b801a489..79b17c1d73 100644--- a/packages/jotai/package.json+++ b/packages/jotai/package.json@@ -6,12 +6,12 @@"jotai": "^2.2.2"},"devDependencies": {- "@blocksuite/block-std": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/blocks": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/editor": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/global": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/lit": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/store": "0.0.0-20230809030546-32e6e21d-nightly",+ "@blocksuite/block-std": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/blocks": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/editor": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/global": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/lit": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/store": "0.0.0-20230810005427-25adb757-nightly","lottie-web": "^5.12.2"},"peerDependencies": {diff --git a/packages/sdk/package.json b/packages/sdk/package.jsonindex 12761694d4..69090d9cf5 100644--- a/packages/sdk/package.json+++ b/packages/sdk/package.json@@ -22,9 +22,9 @@"dist"],"dependencies": {- "@blocksuite/blocks": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/global": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/store": "0.0.0-20230809030546-32e6e21d-nightly",+ "@blocksuite/blocks": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/global": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/store": "0.0.0-20230810005427-25adb757-nightly","jotai": "^2.2.2","zod": "^3.21.4"},diff --git a/packages/sdk/src/entry.ts b/packages/sdk/src/entry.tsindex 7388157318..4081420ac2 100644--- a/packages/sdk/src/entry.ts+++ b/packages/sdk/src/entry.ts@@ -1,4 +1,4 @@-import type { getCurrentBlockRange } from '@blocksuite/blocks';+import type { BaseSelection } from '@blocksuite/block-std';import type { EditorContainer } from '@blocksuite/editor';import type { Page } from '@blocksuite/store';import type { Workspace } from '@blocksuite/store';@@ -15,7 +15,7 @@ export type CallbackMap = {formatBar: (root: HTMLElement,page: Page,- getBlockRange: () => ReturnType<typeof getCurrentBlockRange>+ getBlockRange: () => BaseSelection[]) => () => void;};diff --git a/packages/y-indexeddb/package.json b/packages/y-indexeddb/package.jsonindex 3d7c9d06d4..7347bcff3d 100644--- a/packages/y-indexeddb/package.json+++ b/packages/y-indexeddb/package.json@@ -37,8 +37,8 @@},"devDependencies": {"@affine/y-provider": "workspace:*",- "@blocksuite/blocks": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/store": "0.0.0-20230809030546-32e6e21d-nightly",+ "@blocksuite/blocks": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/store": "0.0.0-20230810005427-25adb757-nightly","vite": "^4.4.9","vite-plugin-dts": "3.5.1","y-indexeddb": "^9.0.11"diff --git a/packages/y-provider/package.json b/packages/y-provider/package.jsonindex 4ef04e3029..cb88503099 100644--- a/packages/y-provider/package.json+++ b/packages/y-provider/package.json@@ -5,7 +5,7 @@"description": "Yjs provider utilities for AFFiNE","main": "./src/index.ts","devDependencies": {- "@blocksuite/store": "0.0.0-20230809030546-32e6e21d-nightly"+ "@blocksuite/store": "0.0.0-20230810005427-25adb757-nightly"},"peerDependencies": {"yjs": "^13.5.51"diff --git a/plugins/bookmark/src/app.tsx b/plugins/bookmark/src/app.tsxindex 6e0421bcb6..3d7e897301 100644--- a/plugins/bookmark/src/app.tsx+++ b/plugins/bookmark/src/app.tsx@@ -1,13 +1,9 @@import { MenuItem, PureMenu } from '@affine/component';import { MuiClickAwayListener } from '@affine/component';import type { SerializedBlock } from '@blocksuite/blocks';-import {- getCurrentBlockRange,- getCurrentNativeRange,- getVirgoByModel,-} from '@blocksuite/blocks/std';-import { assertExists } from '@blocksuite/global/utils';+import type { BaseBlockModel } from '@blocksuite/store';import type { Page } from '@blocksuite/store';+import type { VEditor } from '@blocksuite/virgo';import type { FC, ReactElement } from 'react';import { StrictMode } from 'react';import { useCallback, useEffect, useMemo, useState } from 'react';@@ -31,6 +27,19 @@ const menuOptions = [},];+function getCurrentNativeRange(selection = window.getSelection()) {+ if (!selection) {+ return null;+ }+ if (selection.rangeCount === 0) {+ return null;+ }+ if (selection.rangeCount > 1) {+ console.warn('getCurrentRange may be wrong, rangeCount > 1');+ }+ return selection.getRangeAt(0);+}+const handleEnter = ({page,selectedOption,@@ -43,14 +52,22 @@ const handleEnter = ({if (selectedOption === 'dismiss') {return callback();}- const blockRange = getCurrentBlockRange(page) as Exclude<- ReturnType<typeof getCurrentBlockRange>,- null- >;- const vEditor = getVirgoByModel(blockRange.models[0]);- const linkInfo = vEditor+ const native = getCurrentNativeRange();+ if (!native) {+ return callback();+ }+ const container = native.startContainer;+ const element =+ container instanceof Element ? container : container?.parentElement;+ const virgo = element?.closest<Element & { virgoEditor: VEditor }>(+ '[data-virgo-root]'+ )?.virgoEditor;+ if (!virgo) {+ return callback();+ }+ const linkInfo = virgo?.getDeltasByVRange({- index: blockRange.startOffset,+ index: native.startOffset,length: 0,}).find(delta => delta[0]?.attributes?.link);@@ -60,9 +77,16 @@ const handleEnter = ({const [, { index, length }] = linkInfo;const link = linkInfo[0]?.attributes?.link as string;- const model = blockRange.models[0];+ const model = element?.closest<Element & { model: BaseBlockModel }>(+ '[data-block-id]'+ )?.model;+ if (!model) {+ return callback();+ }const parent = page.getParent(model);- assertExists(parent);+ if (!parent) {+ return callback();+ }const currentBlockIndex = parent.children.indexOf(model);page.addBlock('affine:bookmark',@@ -71,7 +95,7 @@ const handleEnter = ({currentBlockIndex + 1);- vEditor?.deleteText({+ virgo?.deleteText({index,length,});diff --git a/tests/affine-legacy/0.7.0-canary.18/package.json b/tests/affine-legacy/0.7.0-canary.18/package.jsonindex 6f1bbbf2c7..f741a790d4 100644--- a/tests/affine-legacy/0.7.0-canary.18/package.json+++ b/tests/affine-legacy/0.7.0-canary.18/package.json@@ -10,10 +10,10 @@"devDependencies": {"@affine-test/fixtures": "workspace:*","@affine-test/kit": "workspace:*",- "@blocksuite/block-std": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/blocks": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/global": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/store": "0.0.0-20230809030546-32e6e21d-nightly",+ "@blocksuite/block-std": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/blocks": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/global": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/store": "0.0.0-20230810005427-25adb757-nightly","@playwright/test": "^1.36.2","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.jsonindex 01a7fe8a02..3136133c14 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.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/blocks": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/global": "0.0.0-20230809030546-32e6e21d-nightly",- "@blocksuite/store": "0.0.0-20230809030546-32e6e21d-nightly",+ "@blocksuite/block-std": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/blocks": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/global": "0.0.0-20230810005427-25adb757-nightly",+ "@blocksuite/store": "0.0.0-20230810005427-25adb757-nightly","@playwright/test": "^1.36.2","express": "^4.18.2","http-proxy-middleware": "^3.0.0-beta.1",diff --git a/tests/affine-local/e2e/image-preview.spec.ts b/tests/affine-local/e2e/image-preview.spec.tsindex b277b2c158..cc74b124b3 100644--- a/tests/affine-local/e2e/image-preview.spec.ts+++ b/tests/affine-local/e2e/image-preview.spec.ts@@ -702,7 +702,7 @@ test('caption should be visible and different styles were applied if image zoomeawait page.locator('.embed-editing-state').locator('icon-button')- .first()+ .nth(1).click();await page.getByPlaceholder('Write a caption').fill(sampleCaption);await page.locator('img').first().dblclick();diff --git a/yarn.lock b/yarn.lockindex f38c3dfa0d..aaaf1fa8d1 100644--- a/yarn.lock+++ b/yarn.lock@@ -25,10 +25,10 @@ __metadata:dependencies:"@affine-test/fixtures": "workspace:*""@affine-test/kit": "workspace:*"- "@blocksuite/block-std": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/blocks": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/block-std": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/blocks": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/global": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/store": 0.0.0-20230810005427-25adb757-nightly"@playwright/test": ^1.36.2express: ^4.18.2http-proxy-middleware: ^3.0.0-beta.1@@ -42,10 +42,10 @@ __metadata:dependencies:"@affine-test/fixtures": "workspace:*""@affine-test/kit": "workspace:*"- "@blocksuite/block-std": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/blocks": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/block-std": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/blocks": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/global": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/store": 0.0.0-20230810005427-25adb757-nightly"@playwright/test": ^1.36.2express: ^4.18.2http-proxy-middleware: ^3.0.0-beta.1@@ -126,12 +126,12 @@ __metadata:"@affine/i18n": "workspace:*""@affine/jotai": "workspace:*""@affine/workspace": "workspace:*"- "@blocksuite/blocks": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/editor": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/blocks": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/editor": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/global": 0.0.0-20230810005427-25adb757-nightly"@blocksuite/icons": ^2.1.31- "@blocksuite/lit": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/lit": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/store": 0.0.0-20230810005427-25adb757-nightly"@dnd-kit/core": ^6.0.8"@dnd-kit/sortable": ^7.0.2"@emotion/cache": ^11.11.0@@ -216,13 +216,13 @@ __metadata:"@affine/jotai": "workspace:*""@affine/templates": "workspace:*""@affine/workspace": "workspace:*"- "@blocksuite/block-std": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/blocks": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/editor": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/block-std": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/blocks": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/editor": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/global": 0.0.0-20230810005427-25adb757-nightly"@blocksuite/icons": ^2.1.31- "@blocksuite/lit": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/lit": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/store": 0.0.0-20230810005427-25adb757-nightly"@dnd-kit/core": ^6.0.8"@dnd-kit/sortable": ^7.0.2"@emotion/cache": ^11.11.0@@ -293,12 +293,12 @@ __metadata:resolution: "@affine/docs@workspace:apps/docs"dependencies:"@affine/component": "workspace:*"- "@blocksuite/block-std": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/blocks": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/editor": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/lit": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/block-std": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/blocks": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/editor": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/global": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/lit": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/store": 0.0.0-20230810005427-25adb757-nightly"@types/react": ^18.2.17"@types/react-dom": ^18.2.7"@vanilla-extract/css": ^1.12.0@@ -323,10 +323,10 @@ __metadata:"@affine/env": "workspace:*""@affine/native": "workspace:*""@affine/sdk": "workspace:*"- "@blocksuite/blocks": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/editor": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/lit": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/blocks": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/editor": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/lit": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/store": 0.0.0-20230810005427-25adb757-nightly"@electron-forge/cli": ^6.3.0"@electron-forge/core": ^6.3.0"@electron-forge/core-utils": ^6.3.0@@ -369,7 +369,7 @@ __metadata:version: 0.0.0-use.localresolution: "@affine/env@workspace:packages/env"dependencies:- "@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/global": 0.0.0-20230810005427-25adb757-nightlylit: ^2.7.6react: 18.2.0react-dom: 18.2.0@@ -443,12 +443,12 @@ __metadata:version: 0.0.0-use.localresolution: "@affine/jotai@workspace:packages/jotai"dependencies:- "@blocksuite/block-std": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/blocks": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/editor": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/lit": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/block-std": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/blocks": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/editor": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/global": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/lit": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/store": 0.0.0-20230810005427-25adb757-nightlyjotai: ^2.2.2lottie-web: ^5.12.2peerDependencies:@@ -562,9 +562,9 @@ __metadata:version: 0.0.0-use.localresolution: "@affine/sdk@workspace:packages/sdk"dependencies:- "@blocksuite/blocks": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/blocks": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/global": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/store": 0.0.0-20230810005427-25adb757-nightlyjotai: ^2.2.2vite: ^4.4.9vite-plugin-dts: 3.5.1@@ -637,13 +637,13 @@ __metadata:dependencies:"@affine/component": "workspace:*""@affine/i18n": "workspace:*"- "@blocksuite/block-std": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/blocks": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/editor": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/block-std": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/blocks": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/editor": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/global": 0.0.0-20230810005427-25adb757-nightly"@blocksuite/icons": ^2.1.31- "@blocksuite/lit": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/lit": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/store": 0.0.0-20230810005427-25adb757-nightly"@storybook/addon-actions": ^7.1.1"@storybook/addon-essentials": ^7.1.1"@storybook/addon-interactions": ^7.1.1@@ -732,7 +732,7 @@ __metadata:version: 0.0.0-use.localresolution: "@affine/y-provider@workspace:packages/y-provider"dependencies:- "@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/store": 0.0.0-20230810005427-25adb757-nightlypeerDependencies:yjs: ^13.5.51languageName: unknown@@ -3349,25 +3349,25 @@ __metadata:languageName: nodelinkType: hard-"@blocksuite/block-std@npm:0.0.0-20230809030546-32e6e21d-nightly":- version: 0.0.0-20230809030546-32e6e21d-nightly- resolution: "@blocksuite/block-std@npm:0.0.0-20230809030546-32e6e21d-nightly"+"@blocksuite/block-std@npm:0.0.0-20230810005427-25adb757-nightly":+ version: 0.0.0-20230810005427-25adb757-nightly+ resolution: "@blocksuite/block-std@npm:0.0.0-20230810005427-25adb757-nightly"dependencies:- "@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/global": 0.0.0-20230810005427-25adb757-nightlyw3c-keyname: ^2.2.8peerDependencies:- "@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly- checksum: 728387fe20e4b3534d6723172479b9116621a1398c9f28b4ef4e008d028717ba960e3a6d59508a45f07cfff43c71175466c10f71d48a0062938a16de2d3462c6+ "@blocksuite/store": 0.0.0-20230810005427-25adb757-nightly+ checksum: 1bcb6b7a91f221a0cff83104fe37c999af5024b92c0c92606790d2960a0adf67736c8ebabd2675a4a27942f38e72cffa8ef3595124a20a14ade922eca4017e59languageName: nodelinkType: hard-"@blocksuite/blocks@npm:0.0.0-20230809030546-32e6e21d-nightly":- version: 0.0.0-20230809030546-32e6e21d-nightly- resolution: "@blocksuite/blocks@npm:0.0.0-20230809030546-32e6e21d-nightly"+"@blocksuite/blocks@npm:0.0.0-20230810005427-25adb757-nightly":+ version: 0.0.0-20230810005427-25adb757-nightly+ resolution: "@blocksuite/blocks@npm:0.0.0-20230810005427-25adb757-nightly"dependencies:- "@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/phasor": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/virgo": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/global": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/phasor": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/virgo": 0.0.0-20230810005427-25adb757-nightly"@floating-ui/dom": ^1.5.1buffer: ^6.0.3date-fns: ^2.30.0@@ -3381,34 +3381,33 @@ __metadata:turndown: ^7.1.2zod: ^3.21.4peerDependencies:- "@blocksuite/block-std": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/lit": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/block-std": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/lit": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/store": 0.0.0-20230810005427-25adb757-nightly+ "@toeverything/theme": ^0.7.9yjs: ^13- checksum: 8f4f4942541b6c0efd5b6527e906dfba36fb7a1b9ef32042bcfa3cbadcf0da3f55bd8f22edade27b630c62290483a1d464b300edf7406ade909aaf41e3c88b5b+ checksum: ced168ecad0207caa8f6a470f309fe79ea71a0496e62644e5779df0d81c6266ccc8d43d3ac84d02697d886cc43d412546a7c120fd66eb0426c3a6d03935d0820languageName: nodelinkType: hard-"@blocksuite/editor@npm:0.0.0-20230809030546-32e6e21d-nightly":- version: 0.0.0-20230809030546-32e6e21d-nightly- resolution: "@blocksuite/editor@npm:0.0.0-20230809030546-32e6e21d-nightly"+"@blocksuite/editor@npm:0.0.0-20230810005427-25adb757-nightly":+ version: 0.0.0-20230810005427-25adb757-nightly+ resolution: "@blocksuite/editor@npm:0.0.0-20230810005427-25adb757-nightly"dependencies:- "@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/global": 0.0.0-20230810005427-25adb757-nightlylit: ^2.7.6- marked: ^4.3.0- turndown: ^7.1.2peerDependencies:- "@blocksuite/blocks": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/lit": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/blocks": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/lit": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/store": 0.0.0-20230810005427-25adb757-nightly"@toeverything/theme": ^0.7.9- checksum: e01ae29d424f1273a5c0ab9f969baad4b58ad8510255df4ea03addab06e12203d51edef87a36fcc20a05233d3863418540b6846229b8dd4fed1d295ce5abef78+ checksum: 13e037795b8f875506f17c5e68488adf5fae7c6797fe3342e9c0a33ea1cb2311fc6dbbf22ed5588fd2d2e96b409b66bba425e5792055e2c5de79410b97c8871dlanguageName: nodelinkType: hard-"@blocksuite/global@npm:0.0.0-20230809030546-32e6e21d-nightly":- version: 0.0.0-20230809030546-32e6e21d-nightly- resolution: "@blocksuite/global@npm:0.0.0-20230809030546-32e6e21d-nightly"+"@blocksuite/global@npm:0.0.0-20230810005427-25adb757-nightly":+ version: 0.0.0-20230810005427-25adb757-nightly+ resolution: "@blocksuite/global@npm:0.0.0-20230810005427-25adb757-nightly"dependencies:ansi-colors: ^4.1.3zod: ^3.21.4@@ -3417,7 +3416,7 @@ __metadata:peerDependenciesMeta:lit:optional: true- checksum: 03eb2fe544f4122f0b4369c637de0238cf8e6731ac7d47e9890a401da5ee20a21bb93c1fdd306f4379bdd5c7956b861fcad8b279145cdf370f009314a6feed72+ checksum: bea3ad130b6e426e47ab9140cc84de9446084a879fb7ba90c8858b4b4c66d69bb7b6fa590fe6e085e92ab6441f0a7fe8203c4154ca543acfc3c00900239048d3languageName: nodelinkType: hard@@ -3441,38 +3440,38 @@ __metadata:languageName: nodelinkType: hard-"@blocksuite/lit@npm:0.0.0-20230809030546-32e6e21d-nightly":- version: 0.0.0-20230809030546-32e6e21d-nightly- resolution: "@blocksuite/lit@npm:0.0.0-20230809030546-32e6e21d-nightly"+"@blocksuite/lit@npm:0.0.0-20230810005427-25adb757-nightly":+ version: 0.0.0-20230810005427-25adb757-nightly+ resolution: "@blocksuite/lit@npm:0.0.0-20230810005427-25adb757-nightly"dependencies:- "@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/global": 0.0.0-20230810005427-25adb757-nightlylit: ^2.7.6peerDependencies:- "@blocksuite/block-std": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly- checksum: c8ba7e600839fe463368d804f26fd6c369f22693681cd9c7f94500988c2a83054ef156e56e71621f1b6a67e2667703ff657d4f10e98de52f3b616ec285ee8a0c+ "@blocksuite/block-std": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/store": 0.0.0-20230810005427-25adb757-nightly+ checksum: 78d4272d657930acbe9f2f5bcd1a4204733b74e45996329fbb7cb6d56f741205a20818b436fdf2e58ea3ad950910fc35e9451dc43d574429d34d852863f3aad1languageName: nodelinkType: hard-"@blocksuite/phasor@npm:0.0.0-20230809030546-32e6e21d-nightly":- version: 0.0.0-20230809030546-32e6e21d-nightly- resolution: "@blocksuite/phasor@npm:0.0.0-20230809030546-32e6e21d-nightly"+"@blocksuite/phasor@npm:0.0.0-20230810005427-25adb757-nightly":+ version: 0.0.0-20230810005427-25adb757-nightly+ resolution: "@blocksuite/phasor@npm:0.0.0-20230810005427-25adb757-nightly"dependencies:- "@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/global": 0.0.0-20230810005427-25adb757-nightlyfractional-indexing: ^3.2.0peerDependencies:nanoid: ^4yjs: ^13- checksum: 46ee3d98ed054df635db30eccb716495c313ab341e4d471ae23912c855fa7c946c4b830294e93d6a7435b2c65fb1e7bdba53cf61c24cc85b13d14f50cabb9f1d+ checksum: 9c60a80eff813211b8b8a374bcbab6642300d1077c662dc060d1d570e65c42dc2c8b73fcd8b10c6219975ec499bd9ddff243f903169e14fd842421e65c8a97f3languageName: nodelinkType: hard-"@blocksuite/store@npm:0.0.0-20230809030546-32e6e21d-nightly":- version: 0.0.0-20230809030546-32e6e21d-nightly- resolution: "@blocksuite/store@npm:0.0.0-20230809030546-32e6e21d-nightly"+"@blocksuite/store@npm:0.0.0-20230810005427-25adb757-nightly":+ version: 0.0.0-20230810005427-25adb757-nightly+ resolution: "@blocksuite/store@npm:0.0.0-20230810005427-25adb757-nightly"dependencies:- "@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/virgo": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/global": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/virgo": 0.0.0-20230810005427-25adb757-nightly"@types/flexsearch": ^0.7.3buffer: ^6.0.3flexsearch: 0.7.21@@ -3487,20 +3486,20 @@ __metadata:peerDependencies:async-call-rpc: ^6yjs: ^13- checksum: 262b0858917f05eafba6c440bf7b5310e2509c1df44c67c6cc32b417af906970b1073a2864fa3c494dd993e7b6da7b16a975dbb31a240767b8e0963dd6334b3d+ checksum: c2c3cba3585f23a5a371837218a93305524dd955efcc96aacd463ff65ea5009978ecffc83f6d78d6dc056f71bcaf4d7097e41b57e762b5303dc6b8a35c788ca4languageName: nodelinkType: hard-"@blocksuite/virgo@npm:0.0.0-20230809030546-32e6e21d-nightly":- version: 0.0.0-20230809030546-32e6e21d-nightly- resolution: "@blocksuite/virgo@npm:0.0.0-20230809030546-32e6e21d-nightly"+"@blocksuite/virgo@npm:0.0.0-20230810005427-25adb757-nightly":+ version: 0.0.0-20230810005427-25adb757-nightly+ resolution: "@blocksuite/virgo@npm:0.0.0-20230810005427-25adb757-nightly"dependencies:- "@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/global": 0.0.0-20230810005427-25adb757-nightlyzod: ^3.21.4peerDependencies:lit: ^2.7yjs: ^13- checksum: b870ef551a856e44eca743962c8b25d97e80aece9a0172c983b34ab7bb8cc4a2d3f8fa93d1550b0d2e500cf409a72aa8e72a415ccbb791598c4c8354cec1389e+ checksum: f0a5e54568ee515612f0cde8f279422eb7d2c86688380faa3aeea5dcb7a509ba2d969009a492304c1dca1bac8dfcdfa189887a67eddff7acab43c3044bd60248languageName: nodelinkType: hard@@ -11308,12 +11307,12 @@ __metadata:resolution: "@toeverything/hooks@workspace:packages/hooks"dependencies:"@affine/env": "workspace:*"- "@blocksuite/block-std": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/blocks": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/editor": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/lit": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/block-std": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/blocks": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/editor": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/global": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/lit": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/store": 0.0.0-20230810005427-25adb757-nightly"@toeverything/y-indexeddb": "workspace:*"peerDependencies:"@blocksuite/block-std": "*"@@ -11330,11 +11329,11 @@ __metadata:resolution: "@toeverything/infra@workspace:packages/infra"dependencies:"@affine/sdk": "workspace:*"- "@blocksuite/blocks": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/editor": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/global": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/lit": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/blocks": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/editor": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/global": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/lit": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/store": 0.0.0-20230810005427-25adb757-nightlyasync-call-rpc: ^6.3.1electron: "link:../../apps/electron/node_modules/electron"jotai: ^2.2.2@@ -11372,8 +11371,8 @@ __metadata:resolution: "@toeverything/y-indexeddb@workspace:packages/y-indexeddb"dependencies:"@affine/y-provider": "workspace:*"- "@blocksuite/blocks": 0.0.0-20230809030546-32e6e21d-nightly- "@blocksuite/store": 0.0.0-20230809030546-32e6e21d-nightly+ "@blocksuite/blocks": 0.0.0-20230810005427-25adb757-nightly+ "@blocksuite/store": 0.0.0-20230810005427-25adb757-nightlyidb: ^7.1.1vite: ^4.4.9vite-plugin-dts: 3.5.1