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 bs (#8189)
Saul-Mironedaa9d9ff5c51
diff --git a/packages/common/env/package.json b/packages/common/env/package.jsonindex 10c8ca85e0..d421d7c57c 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.17.4",- "@blocksuite/store": "0.17.4",+ "@blocksuite/global": "0.17.6",+ "@blocksuite/store": "0.17.6","react": "18.3.1","react-dom": "18.3.1","vitest": "2.0.5"diff --git a/packages/common/infra/package.json b/packages/common/infra/package.jsonindex 9c4b4b2af8..61030e391c 100644--- a/packages/common/infra/package.json+++ b/packages/common/infra/package.json@@ -14,10 +14,10 @@"@affine/debug": "workspace:*","@affine/env": "workspace:*","@affine/templates": "workspace:*",- "@blocksuite/blocks": "0.17.4",- "@blocksuite/global": "0.17.4",- "@blocksuite/presets": "0.17.4",- "@blocksuite/store": "0.17.4",+ "@blocksuite/blocks": "0.17.6",+ "@blocksuite/global": "0.17.6",+ "@blocksuite/presets": "0.17.6",+ "@blocksuite/store": "0.17.6","@datastructures-js/binary-search-tree": "^5.3.2","foxact": "^0.2.33","fuse.js": "^7.0.0",@@ -34,8 +34,8 @@"devDependencies": {"@affine-test/fixtures": "workspace:*","@affine/templates": "workspace:*",- "@blocksuite/block-std": "0.17.4",- "@blocksuite/presets": "0.17.4",+ "@blocksuite/block-std": "0.17.6",+ "@blocksuite/presets": "0.17.6","@testing-library/react": "^16.0.0","async-call-rpc": "^6.4.0","fake-indexeddb": "^6.0.0",diff --git a/packages/frontend/component/package.json b/packages/frontend/component/package.jsonindex 2e32dbf919..0a8809e887 100644--- a/packages/frontend/component/package.json+++ b/packages/frontend/component/package.json@@ -81,12 +81,12 @@"zod": "^3.22.4"},"devDependencies": {- "@blocksuite/block-std": "0.17.4",- "@blocksuite/blocks": "0.17.4",- "@blocksuite/global": "0.17.4",+ "@blocksuite/block-std": "0.17.6",+ "@blocksuite/blocks": "0.17.6",+ "@blocksuite/global": "0.17.6","@blocksuite/icons": "2.1.67",- "@blocksuite/presets": "0.17.4",- "@blocksuite/store": "0.17.4",+ "@blocksuite/presets": "0.17.6",+ "@blocksuite/store": "0.17.6","@chromatic-com/storybook": "^1","@storybook/addon-actions": "^8.2.9","@storybook/addon-essentials": "^8.2.9",diff --git a/packages/frontend/core/package.json b/packages/frontend/core/package.jsonindex 093525ad61..57312b1821 100644--- a/packages/frontend/core/package.json+++ b/packages/frontend/core/package.json@@ -15,14 +15,14 @@"@affine/graphql": "workspace:*","@affine/i18n": "workspace:*","@affine/templates": "workspace:*",- "@blocksuite/affine-block-surface": "0.17.4",- "@blocksuite/block-std": "0.17.4",- "@blocksuite/blocks": "0.17.4",- "@blocksuite/global": "0.17.4",+ "@blocksuite/affine-block-surface": "0.17.6",+ "@blocksuite/block-std": "0.17.6",+ "@blocksuite/blocks": "0.17.6",+ "@blocksuite/global": "0.17.6","@blocksuite/icons": "2.1.67",- "@blocksuite/inline": "0.17.4",- "@blocksuite/presets": "0.17.4",- "@blocksuite/store": "0.17.4",+ "@blocksuite/inline": "0.17.6",+ "@blocksuite/presets": "0.17.6",+ "@blocksuite/store": "0.17.6","@dnd-kit/core": "^6.1.0","@dnd-kit/modifiers": "^7.0.0","@dnd-kit/sortable": "^8.0.0",diff --git a/packages/frontend/core/src/blocksuite/presets/ai/_common/chat-actions-handle.ts b/packages/frontend/core/src/blocksuite/presets/ai/_common/chat-actions-handle.tsindex 35ee8e8903..189bacff8f 100644--- a/packages/frontend/core/src/blocksuite/presets/ai/_common/chat-actions-handle.ts+++ b/packages/frontend/core/src/blocksuite/presets/ai/_common/chat-actions-handle.ts@@ -178,7 +178,7 @@ function addAIChatBlock(}export function promptDocTitle(host: EditorHost, autofill?: string) {- const notification = host.std.getService('affine:page').notificationService;+ const notification = host.std.getService('affine:page')?.notificationService;if (!notification) return Promise.resolve(undefined);return notification.prompt({@@ -386,6 +386,8 @@ const ADD_TO_EDGELESS_AS_NOTE = {reportResponse('result:add-note');const { doc } = host;const service = host.std.getService<EdgelessRootService>('affine:page');+ if (!service) return;+const elements = service.selection.selectedElements;const props: { displayMode: NoteDisplayMode; xywh?: SerializedXYWH } = {@@ -426,7 +428,7 @@ const CREATE_AS_DOC = {newDoc.addBlock('affine:surface', {}, rootId);const noteId = newDoc.addBlock('affine:note', {}, rootId);- host.std.getService('affine:page').slots.docLinkClicked.emit({+ host.std.getService('affine:page')?.slots.docLinkClicked.emit({pageId: newDoc.id,});let complete = false;@@ -464,6 +466,9 @@ const CREATE_AS_LINKED_DOC = {}const service = host.std.getService<EdgelessRootService>('affine:page');+ if (!service) {+ return false;+ }const docModeService = host.std.get(DocModeProvider);const mode = docModeService.getEditorMode();if (mode !== 'edgeless') {diff --git a/packages/frontend/core/src/blocksuite/presets/ai/_common/components/chat-action-list.ts b/packages/frontend/core/src/blocksuite/presets/ai/_common/components/chat-action-list.tsindex a6766754f0..5deefa9d61 100644--- a/packages/frontend/core/src/blocksuite/presets/ai/_common/components/chat-action-list.ts+++ b/packages/frontend/core/src/blocksuite/presets/ai/_common/components/chat-action-list.ts@@ -148,7 +148,7 @@ export class ChatActionList extends LitElement {messageId);if (success) {- this._rootService.notificationService?.notify({+ this._rootService?.notificationService?.notify({title: action.toast,accent: 'success',onClose: function (): void {},diff --git a/packages/frontend/core/src/blocksuite/presets/ai/_common/components/copy-more.ts b/packages/frontend/core/src/blocksuite/presets/ai/_common/components/copy-more.tsindex f670bf2b50..cd8a61f213 100644--- a/packages/frontend/core/src/blocksuite/presets/ai/_common/components/copy-more.ts+++ b/packages/frontend/core/src/blocksuite/presets/ai/_common/components/copy-more.ts@@ -128,6 +128,7 @@ export class ChatCopyMore extends WithDisposable(LitElement) {}private readonly _notifySuccess = (title: string) => {+ if (!this._rootService) return;const { notificationService } = this._rootService;notificationService?.notify({title: title,diff --git a/packages/frontend/core/src/blocksuite/presets/ai/_common/selection-utils.ts b/packages/frontend/core/src/blocksuite/presets/ai/_common/selection-utils.tsindex 8341b52b9c..60643df957 100644--- a/packages/frontend/core/src/blocksuite/presets/ai/_common/selection-utils.ts+++ b/packages/frontend/core/src/blocksuite/presets/ai/_common/selection-utils.ts@@ -78,7 +78,7 @@ export async function selectedToPng(editor: EditorHost) {export async function getSelectedTextContent(editorHost: EditorHost) {const slice = Slice.fromModels(editorHost.std.doc,- getRootService(editorHost).selectedModels+ getRootService(editorHost)?.selectedModels ?? []);return getMarkdownFromSlice(editorHost, slice);}diff --git a/packages/frontend/core/src/blocksuite/presets/ai/actions/edgeless-response.ts b/packages/frontend/core/src/blocksuite/presets/ai/actions/edgeless-response.tsindex 6312423220..700dabd3de 100644--- a/packages/frontend/core/src/blocksuite/presets/ai/actions/edgeless-response.ts+++ b/packages/frontend/core/src/blocksuite/presets/ai/actions/edgeless-response.ts@@ -510,6 +510,7 @@ export const responses: {if (!contents) return;const images = data.images as { url: string; id: string }[][];const service = host.std.getService<EdgelessRootService>('affine:page');+ if (!service) return;(async function () {for (let i = 0; i < contents.length - 1; i++) {diff --git a/packages/frontend/core/src/blocksuite/presets/ai/chat-panel/index.ts b/packages/frontend/core/src/blocksuite/presets/ai/chat-panel/index.tsindex 2245c2bb6c..d676409010 100644--- a/packages/frontend/core/src/blocksuite/presets/ai/chat-panel/index.ts+++ b/packages/frontend/core/src/blocksuite/presets/ai/chat-panel/index.ts@@ -160,7 +160,7 @@ export class ChatPanel extends WithDisposable(ShadowlessElement) {private readonly _cleanupHistories = async () => {const notification =- this.host.std.getService('affine:page').notificationService;+ this.host.std.getService('affine:page')?.notificationService;if (!notification) return;if (diff --git a/packages/frontend/core/src/blocksuite/presets/ai/messages/mindmap.ts b/packages/frontend/core/src/blocksuite/presets/ai/messages/mindmap.tsindex d43ff5af81..be3c15d5c3 100644--- a/packages/frontend/core/src/blocksuite/presets/ai/messages/mindmap.ts+++ b/packages/frontend/core/src/blocksuite/presets/ai/messages/mindmap.ts@@ -1,6 +1,8 @@-import type { MindmapStyle } from '@blocksuite/affine-block-surface';import type { EditorHost } from '@blocksuite/block-std';-import type { AffineAIPanelWidgetConfig } from '@blocksuite/blocks';+import type {+ AffineAIPanelWidgetConfig,+ MindmapStyle,+} from '@blocksuite/blocks';import { markdownToMindmap, MiniMindmapPreview } from '@blocksuite/blocks';import { noop } from '@blocksuite/global/utils';import { html, nothing } from 'lit';diff --git a/packages/frontend/core/src/blocksuite/presets/ai/messages/slides-renderer.ts b/packages/frontend/core/src/blocksuite/presets/ai/messages/slides-renderer.tsindex c412aabe4c..cac9d6f5c5 100644--- a/packages/frontend/core/src/blocksuite/presets/ai/messages/slides-renderer.ts+++ b/packages/frontend/core/src/blocksuite/presets/ai/messages/slides-renderer.ts@@ -80,7 +80,7 @@ export class AISlidesRenderer extends WithDisposable(LitElement) {PPTBuilder(this._editorHost).process(this.text).then(res => {- if (this.ctx) {+ if (res && this.ctx) {this.ctx.set({contents: res.contents,images: res.images,diff --git a/packages/frontend/core/src/blocksuite/presets/ai/peek-view/chat-block-peek-view.ts b/packages/frontend/core/src/blocksuite/presets/ai/peek-view/chat-block-peek-view.tsindex 63867a1448..99c0a7a806 100644--- a/packages/frontend/core/src/blocksuite/presets/ai/peek-view/chat-block-peek-view.ts+++ b/packages/frontend/core/src/blocksuite/presets/ai/peek-view/chat-block-peek-view.ts@@ -254,10 +254,9 @@ export class AIChatBlockPeekView extends LitElement {* Clean current chat messages and delete the newly created AI chat block*/cleanCurrentChatHistories = async () => {+ if (!this._rootService) return;const { notificationService } = this._rootService;- if (!notificationService) {- return;- }+ if (!notificationService) return;const { currentChatBlockId, currentSessionId } = this.chatContext;if (!currentChatBlockId && !currentSessionId) {diff --git a/packages/frontend/core/src/blocksuite/presets/ai/slides/index.ts b/packages/frontend/core/src/blocksuite/presets/ai/slides/index.tsindex 26fc0dfe25..e032cf2a81 100644--- a/packages/frontend/core/src/blocksuite/presets/ai/slides/index.ts+++ b/packages/frontend/core/src/blocksuite/presets/ai/slides/index.ts@@ -35,7 +35,7 @@ export const PPTBuilder = (host: EditorHost) => {};docs.push(doc);- if (doc.isCover) return;+ if (doc.isCover || !service) return;const job = service.createTemplateJob('template');const { images, content } = await basicTheme(doc);contents.push(content);@@ -56,6 +56,7 @@ export const PPTBuilder = (host: EditorHost) => {return {process: async (text: string) => {try {+ if (!service) return;const snapshot = await markdownToSnapshot(text, host);const block = snapshot.snapshot.content[0];diff --git a/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs/common.ts b/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs/common.tsindex 420755201a..c44c4716bf 100644--- a/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs/common.ts+++ b/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs/common.ts@@ -18,14 +18,18 @@ import {EmbedSyncedDocBlockSpec,EmbedYoutubeBlockSpec,ImageBlockSpec,+ LatexBlockSpec,ListBlockSpec,ParagraphBlockSpec,+ RichTextExtensions,} from '@blocksuite/blocks';import { AIChatBlockSpec } from '@blocksuite/presets';import { CustomAttachmentBlockSpec } from './custom/attachment-block';const CommonBlockSpecs: ExtensionType[] = [+ RichTextExtensions,+ LatexBlockSpec,ListBlockSpec,DatabaseBlockSpec,DataViewBlockSpec,diff --git a/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs/custom/spec-patchers.tsx b/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs/custom/spec-patchers.tsxindex 7ab9a80128..515c63a3ee 100644--- a/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs/custom/spec-patchers.tsx+++ b/packages/frontend/core/src/components/blocksuite/block-suite-editor/specs/custom/spec-patchers.tsx@@ -30,11 +30,8 @@ import {import { BlockServiceWatcher } from '@blocksuite/block-std';import {type AffineReference,- type DatabaseBlockService,type DocMode,EmbedOptionProvider,- type ListBlockService,- type ParagraphBlockService,type RootService,} from '@blocksuite/blocks';import {@@ -43,6 +40,7 @@ import {EdgelessRootBlockComponent,EmbedLinkedDocBlockComponent,QuickSearchProvider,+ ReferenceNodeConfigExtension,} from '@blocksuite/blocks';import { LinkIcon } from '@blocksuite/icons/rc';import { AIChatBlockSchema } from '@blocksuite/presets';@@ -95,21 +93,14 @@ function patchSpecService<Service extends BlockService = BlockService>(export function patchReferenceRenderer(reactToLit: (element: ElementOrFactory) => TemplateResult,reactRenderer: ReferenceReactRenderer-): ExtensionType[] {+): ExtensionType {const litRenderer = (reference: AffineReference) => {const node = reactRenderer(reference);return reactToLit(node);};- return ['affine:paragraph', 'affine:list', 'affine:database'].map(flavour => {- return patchSpecService<- ParagraphBlockService | ListBlockService | DatabaseBlockService- >(flavour, service => {- service.referenceNodeConfig.setCustomContent(litRenderer);- return () => {- service.referenceNodeConfig.setCustomContent(null);- };- });+ return ReferenceNodeConfigExtension({+ customContent: litRenderer,});}diff --git a/packages/frontend/core/src/modules/peek-view/view/doc-preview/doc-peek-view.tsx b/packages/frontend/core/src/modules/peek-view/view/doc-preview/doc-peek-view.tsxindex afffd5428a..e042a59ad4 100644--- a/packages/frontend/core/src/modules/peek-view/view/doc-preview/doc-peek-view.tsx+++ b/packages/frontend/core/src/modules/peek-view/view/doc-preview/doc-peek-view.tsx@@ -37,6 +37,9 @@ function fitViewport(const rootService =editor.host.std.getService<EdgelessRootService>('affine:page');+ if (!rootService) {+ return;+ }rootService.viewport.onResize();if (xywh) {@@ -85,6 +88,9 @@ function DocPeekPreviewEditor({}const disposableGroup = new DisposableGroup();const rootService = editorContainer.host.std.getService('affine:page');+ if (!rootService) {+ return;+ }// doc change event inside peek view should be handled by peek viewdisposableGroup.add(rootService.slots.docLinkClicked.on(options => {diff --git a/packages/frontend/electron/package.json b/packages/frontend/electron/package.jsonindex 3708b854b3..2ea6f5b4b6 100644--- a/packages/frontend/electron/package.json+++ b/packages/frontend/electron/package.json@@ -29,10 +29,10 @@"@affine/env": "workspace:*","@affine/i18n": "workspace:*","@affine/native": "workspace:*",- "@blocksuite/block-std": "0.17.4",- "@blocksuite/blocks": "0.17.4",- "@blocksuite/presets": "0.17.4",- "@blocksuite/store": "0.17.4",+ "@blocksuite/block-std": "0.17.6",+ "@blocksuite/blocks": "0.17.6",+ "@blocksuite/presets": "0.17.6",+ "@blocksuite/store": "0.17.6","@electron-forge/cli": "^7.3.0","@electron-forge/core": "^7.3.0","@electron-forge/core-utils": "^7.3.0",diff --git a/tools/cli/package.json b/tools/cli/package.jsonindex 6246f088e6..548b29cf51 100644--- a/tools/cli/package.json+++ b/tools/cli/package.json@@ -6,7 +6,7 @@"@affine/env": "workspace:*","@affine/templates": "workspace:*","@aws-sdk/client-s3": "^3.620.0",- "@blocksuite/presets": "0.17.4",+ "@blocksuite/presets": "0.17.6","@clack/core": "^0.3.4","@clack/prompts": "^0.7.0","@magic-works/i18n-codegen": "^0.6.0",diff --git a/yarn.lock b/yarn.lockindex 9fe23d1462..55297380f0 100644--- a/yarn.lock+++ b/yarn.lock@@ -253,7 +253,7 @@ __metadata:"@affine/env": "workspace:*""@affine/templates": "workspace:*""@aws-sdk/client-s3": "npm:^3.620.0"- "@blocksuite/presets": "npm:0.17.4"+ "@blocksuite/presets": "npm:0.17.6""@clack/core": "npm:^0.3.4""@clack/prompts": "npm:^0.7.0""@magic-works/i18n-codegen": "npm:^0.6.0"@@ -312,12 +312,12 @@ __metadata:"@affine/i18n": "workspace:*""@atlaskit/pragmatic-drag-and-drop": "npm:^1.2.1""@atlaskit/pragmatic-drag-and-drop-hitbox": "npm:^1.0.3"- "@blocksuite/block-std": "npm:0.17.4"- "@blocksuite/blocks": "npm:0.17.4"- "@blocksuite/global": "npm:0.17.4"+ "@blocksuite/block-std": "npm:0.17.6"+ "@blocksuite/blocks": "npm:0.17.6"+ "@blocksuite/global": "npm:0.17.6""@blocksuite/icons": "npm:2.1.67"- "@blocksuite/presets": "npm:0.17.4"- "@blocksuite/store": "npm:0.17.4"+ "@blocksuite/presets": "npm:0.17.6"+ "@blocksuite/store": "npm:0.17.6""@chromatic-com/storybook": "npm:^1""@dnd-kit/core": "npm:^6.1.0""@dnd-kit/modifiers": "npm:^7.0.0"@@ -413,14 +413,14 @@ __metadata:"@affine/graphql": "workspace:*""@affine/i18n": "workspace:*""@affine/templates": "workspace:*"- "@blocksuite/affine-block-surface": "npm:0.17.4"- "@blocksuite/block-std": "npm:0.17.4"- "@blocksuite/blocks": "npm:0.17.4"- "@blocksuite/global": "npm:0.17.4"+ "@blocksuite/affine-block-surface": "npm:0.17.6"+ "@blocksuite/block-std": "npm:0.17.6"+ "@blocksuite/blocks": "npm:0.17.6"+ "@blocksuite/global": "npm:0.17.6""@blocksuite/icons": "npm:2.1.67"- "@blocksuite/inline": "npm:0.17.4"- "@blocksuite/presets": "npm:0.17.4"- "@blocksuite/store": "npm:0.17.4"+ "@blocksuite/inline": "npm:0.17.6"+ "@blocksuite/presets": "npm:0.17.6"+ "@blocksuite/store": "npm:0.17.6""@dnd-kit/core": "npm:^6.1.0""@dnd-kit/modifiers": "npm:^7.0.0""@dnd-kit/sortable": "npm:^8.0.0"@@ -553,10 +553,10 @@ __metadata:"@affine/env": "workspace:*""@affine/i18n": "workspace:*""@affine/native": "workspace:*"- "@blocksuite/block-std": "npm:0.17.4"- "@blocksuite/blocks": "npm:0.17.4"- "@blocksuite/presets": "npm:0.17.4"- "@blocksuite/store": "npm:0.17.4"+ "@blocksuite/block-std": "npm:0.17.6"+ "@blocksuite/blocks": "npm:0.17.6"+ "@blocksuite/presets": "npm:0.17.6"+ "@blocksuite/store": "npm:0.17.6""@electron-forge/cli": "npm:^7.3.0""@electron-forge/core": "npm:^7.3.0""@electron-forge/core-utils": "npm:^7.3.0"@@ -613,8 +613,8 @@ __metadata:version: 0.0.0-use.localresolution: "@affine/env@workspace:packages/common/env"dependencies:- "@blocksuite/global": "npm:0.17.4"- "@blocksuite/store": "npm:0.17.4"+ "@blocksuite/global": "npm:0.17.6"+ "@blocksuite/store": "npm:0.17.6"lit: "npm:^3.1.2"react: "npm:18.3.1"react-dom: "npm:18.3.1"@@ -3453,17 +3453,17 @@ __metadata:languageName: nodelinkType: hard-"@blocksuite/affine-block-list@npm:0.17.4":- version: 0.17.4- resolution: "@blocksuite/affine-block-list@npm:0.17.4"- dependencies:- "@blocksuite/affine-components": "npm:0.17.4"- "@blocksuite/affine-model": "npm:0.17.4"- "@blocksuite/affine-shared": "npm:0.17.4"- "@blocksuite/block-std": "npm:0.17.4"- "@blocksuite/global": "npm:0.17.4"- "@blocksuite/inline": "npm:0.17.4"- "@blocksuite/store": "npm:0.17.4"+"@blocksuite/affine-block-list@npm:0.17.6":+ version: 0.17.6+ resolution: "@blocksuite/affine-block-list@npm:0.17.6"+ dependencies:+ "@blocksuite/affine-components": "npm:0.17.6"+ "@blocksuite/affine-model": "npm:0.17.6"+ "@blocksuite/affine-shared": "npm:0.17.6"+ "@blocksuite/block-std": "npm:0.17.6"+ "@blocksuite/global": "npm:0.17.6"+ "@blocksuite/inline": "npm:0.17.6"+ "@blocksuite/store": "npm:0.17.6""@floating-ui/dom": "npm:^1.6.10""@lit-labs/preact-signals": "npm:^1.0.2""@lit/context": "npm:^1.1.2"@@ -3471,21 +3471,21 @@ __metadata:lit: "npm:^3.2.0"minimatch: "npm:^10.0.1"zod: "npm:^3.23.8"- checksum: 10/8d62618372e5c1c6cbace376da369558b77539c92899c44559eb42b14725f4ba7da91cb0cd4bc3ca85b8487f73701cf82a3aca64715be8375ecaf7bf419ca105+ checksum: 10/46ac9f892088ce940fa0462f28ed0fa81665e8a855b0d8ae268c910afd7db6cfe3ee5ec46d1b63f636b83380f7d17411b17a13af8aa16efede59b96621d3037dlanguageName: nodelinkType: hard-"@blocksuite/affine-block-paragraph@npm:0.17.4":- version: 0.17.4- resolution: "@blocksuite/affine-block-paragraph@npm:0.17.4"- dependencies:- "@blocksuite/affine-components": "npm:0.17.4"- "@blocksuite/affine-model": "npm:0.17.4"- "@blocksuite/affine-shared": "npm:0.17.4"- "@blocksuite/block-std": "npm:0.17.4"- "@blocksuite/global": "npm:0.17.4"- "@blocksuite/inline": "npm:0.17.4"- "@blocksuite/store": "npm:0.17.4"+"@blocksuite/affine-block-paragraph@npm:0.17.6":+ version: 0.17.6+ resolution: "@blocksuite/affine-block-paragraph@npm:0.17.6"+ dependencies:+ "@blocksuite/affine-components": "npm:0.17.6"+ "@blocksuite/affine-model": "npm:0.17.6"+ "@blocksuite/affine-shared": "npm:0.17.6"+ "@blocksuite/block-std": "npm:0.17.6"+ "@blocksuite/global": "npm:0.17.6"+ "@blocksuite/inline": "npm:0.17.6"+ "@blocksuite/store": "npm:0.17.6""@floating-ui/dom": "npm:^1.6.10""@lit-labs/preact-signals": "npm:^1.0.2""@lit/context": "npm:^1.1.2"@@ -3493,20 +3493,20 @@ __metadata:lit: "npm:^3.2.0"minimatch: "npm:^10.0.1"zod: "npm:^3.23.8"- checksum: 10/2f9810a48e2c0a2a803a6ababad44123c37de3abac5574b23c568170a382ccccd8757a75bcbd214a93fa57a37af30e50b7bc073449a676352271ba63759910e9+ checksum: 10/0f2ecae164be64e9e9583ee1cdeb9514e9120dc9f1ada5bea7bfaca29d780c4890b19fb20ad61afa9c93ef288bef0a40e1db54f99ef3169497aba1e4838d523blanguageName: nodelinkType: hard-"@blocksuite/affine-block-surface@npm:0.17.4":- version: 0.17.4- resolution: "@blocksuite/affine-block-surface@npm:0.17.4"- dependencies:- "@blocksuite/affine-components": "npm:0.17.4"- "@blocksuite/affine-model": "npm:0.17.4"- "@blocksuite/affine-shared": "npm:0.17.4"- "@blocksuite/block-std": "npm:0.17.4"- "@blocksuite/global": "npm:0.17.4"- "@blocksuite/store": "npm:0.17.4"+"@blocksuite/affine-block-surface@npm:0.17.6":+ version: 0.17.6+ resolution: "@blocksuite/affine-block-surface@npm:0.17.6"+ dependencies:+ "@blocksuite/affine-components": "npm:0.17.6"+ "@blocksuite/affine-model": "npm:0.17.6"+ "@blocksuite/affine-shared": "npm:0.17.6"+ "@blocksuite/block-std": "npm:0.17.6"+ "@blocksuite/global": "npm:0.17.6"+ "@blocksuite/store": "npm:0.17.6""@lit-labs/preact-signals": "npm:^1.0.2""@lit/context": "npm:^1.1.2""@toeverything/theme": "npm:^1.0.8"@@ -3516,21 +3516,21 @@ __metadata:lodash.merge: "npm:^4.6.2"nanoid: "npm:^5.0.7"zod: "npm:^3.23.8"- checksum: 10/02d9a3cf2988416a1b21086898ca10fc351192f20e2a4e15152d36c81bbe4f371ef275a01b13e74d17edd19ab9f3d65781a293a9bf182576d8b07df735fe465e+ checksum: 10/5f12007ce61e84a030c9c9e1db6f86c97eebb822b37f5a7165aa3c9246463ae0617c8811e1fa2be47c3af5e51c2823700585897fac19e9eb98416fc26fd7399flanguageName: nodelinkType: hard-"@blocksuite/affine-components@npm:0.17.4":- version: 0.17.4- resolution: "@blocksuite/affine-components@npm:0.17.4"+"@blocksuite/affine-components@npm:0.17.6":+ version: 0.17.6+ resolution: "@blocksuite/affine-components@npm:0.17.6"dependencies:- "@blocksuite/affine-model": "npm:0.17.4"- "@blocksuite/affine-shared": "npm:0.17.4"- "@blocksuite/block-std": "npm:0.17.4"- "@blocksuite/global": "npm:0.17.4"+ "@blocksuite/affine-model": "npm:0.17.6"+ "@blocksuite/affine-shared": "npm:0.17.6"+ "@blocksuite/block-std": "npm:0.17.6"+ "@blocksuite/global": "npm:0.17.6""@blocksuite/icons": "npm:^2.1.67"- "@blocksuite/inline": "npm:0.17.4"- "@blocksuite/store": "npm:0.17.4"+ "@blocksuite/inline": "npm:0.17.6"+ "@blocksuite/store": "npm:0.17.6""@floating-ui/dom": "npm:^1.6.10""@lit-labs/preact-signals": "npm:^1.0.2""@lit/context": "npm:^1.1.2"@@ -3541,32 +3541,32 @@ __metadata:lit: "npm:^3.2.0"shiki: "npm:^1.12.0"zod: "npm:^3.23.8"- checksum: 10/5a36880517953c59efed70c31235ffd1f90aaec745743c221811bb7141b472b1712c6d70844b63aab348fdd1784be28a741b21db66ff48069089b04e5cbd79fc+ checksum: 10/9a70283edb71393c391db62f22614158ac13d61e9affb30ce5eb779a409bc5aaa2c82786400effe4521f8591bfb9b73d1825970010eb6f59e60a10b279295742languageName: nodelinkType: hard-"@blocksuite/affine-model@npm:0.17.4":- version: 0.17.4- resolution: "@blocksuite/affine-model@npm:0.17.4"+"@blocksuite/affine-model@npm:0.17.6":+ version: 0.17.6+ resolution: "@blocksuite/affine-model@npm:0.17.6"dependencies:- "@blocksuite/block-std": "npm:0.17.4"- "@blocksuite/global": "npm:0.17.4"- "@blocksuite/inline": "npm:0.17.4"- "@blocksuite/store": "npm:0.17.4"+ "@blocksuite/block-std": "npm:0.17.6"+ "@blocksuite/global": "npm:0.17.6"+ "@blocksuite/inline": "npm:0.17.6"+ "@blocksuite/store": "npm:0.17.6"zod: "npm:^3.23.8"- checksum: 10/864a52054d9784293cafd85773fa659fcd9b79973ed110cb47808d21b5a45f977207b8df9e4beaca05cd308e4b94d9110f9981294989341291d7c6d68cb2980b+ checksum: 10/55465aec31ac91021f54c1dfc9b710d456abbf6127afaa6f52927f011d7ee1185e75d7402e4e06a6b97a83d2017b46f9164fbb16c804d63950a4b4f9d196bdb0languageName: nodelinkType: hard-"@blocksuite/affine-shared@npm:0.17.4":- version: 0.17.4- resolution: "@blocksuite/affine-shared@npm:0.17.4"+"@blocksuite/affine-shared@npm:0.17.6":+ version: 0.17.6+ resolution: "@blocksuite/affine-shared@npm:0.17.6"dependencies:- "@blocksuite/affine-model": "npm:0.17.4"- "@blocksuite/block-std": "npm:0.17.4"- "@blocksuite/global": "npm:0.17.4"- "@blocksuite/inline": "npm:0.17.4"- "@blocksuite/store": "npm:0.17.4"+ "@blocksuite/affine-model": "npm:0.17.6"+ "@blocksuite/block-std": "npm:0.17.6"+ "@blocksuite/global": "npm:0.17.6"+ "@blocksuite/inline": "npm:0.17.6"+ "@blocksuite/store": "npm:0.17.6""@floating-ui/dom": "npm:^1.6.10""@lit-labs/preact-signals": "npm:^1.0.2""@lit/context": "npm:^1.1.2"@@ -3574,17 +3574,17 @@ __metadata:lit: "npm:^3.2.0"minimatch: "npm:^10.0.1"zod: "npm:^3.23.8"- checksum: 10/d477ed8306bfdd72c8f70587db21c1bea5214c990d6cdcda84bfe7a5d5a075c24346e31b1ce4ff7da282735c8a2ff88712455ca0d78f522af25622983a9a629a+ checksum: 10/b66b871a8dc13d6800e0078844cfb32d6e1e09173a1130e07d59652150cb342aa467d0e1fcb03bc5063038594601871dbbdf824bfd005e0ffa8056834001805flanguageName: nodelinkType: hard-"@blocksuite/block-std@npm:0.17.4":- version: 0.17.4- resolution: "@blocksuite/block-std@npm:0.17.4"+"@blocksuite/block-std@npm:0.17.6":+ version: 0.17.6+ resolution: "@blocksuite/block-std@npm:0.17.6"dependencies:- "@blocksuite/global": "npm:0.17.4"- "@blocksuite/inline": "npm:0.17.4"- "@blocksuite/store": "npm:0.17.4"+ "@blocksuite/global": "npm:0.17.6"+ "@blocksuite/inline": "npm:0.17.6"+ "@blocksuite/store": "npm:0.17.6""@lit-labs/preact-signals": "npm:^1.0.2""@lit/context": "npm:^1.1.2""@types/hast": "npm:^3.0.4"@@ -3596,26 +3596,26 @@ __metadata:unified: "npm:^11.0.5"w3c-keyname: "npm:^2.2.8"zod: "npm:^3.23.8"- checksum: 10/1d05d3a88f422e4d46d353a177e46fcaa9a6049f2b3cbb3aaba627d363b9aba8733be895f4f9ed8a4775d5a1c9620c12619a17a674570736769dbd676d07b205+ checksum: 10/6db59b3e5d017e1b11b2bf882991012ddcd72a126f5a7c4ab18c1524b182ddef8cfa0fbda5dce7d98835e253f3301eb32283b1c8df75243e7d1632e3234e657dlanguageName: nodelinkType: hard-"@blocksuite/blocks@npm:0.17.4":- version: 0.17.4- resolution: "@blocksuite/blocks@npm:0.17.4"- dependencies:- "@blocksuite/affine-block-list": "npm:0.17.4"- "@blocksuite/affine-block-paragraph": "npm:0.17.4"- "@blocksuite/affine-block-surface": "npm:0.17.4"- "@blocksuite/affine-components": "npm:0.17.4"- "@blocksuite/affine-model": "npm:0.17.4"- "@blocksuite/affine-shared": "npm:0.17.4"- "@blocksuite/block-std": "npm:0.17.4"- "@blocksuite/data-view": "npm:0.17.4"- "@blocksuite/global": "npm:0.17.4"+"@blocksuite/blocks@npm:0.17.6":+ version: 0.17.6+ resolution: "@blocksuite/blocks@npm:0.17.6"+ dependencies:+ "@blocksuite/affine-block-list": "npm:0.17.6"+ "@blocksuite/affine-block-paragraph": "npm:0.17.6"+ "@blocksuite/affine-block-surface": "npm:0.17.6"+ "@blocksuite/affine-components": "npm:0.17.6"+ "@blocksuite/affine-model": "npm:0.17.6"+ "@blocksuite/affine-shared": "npm:0.17.6"+ "@blocksuite/block-std": "npm:0.17.6"+ "@blocksuite/data-view": "npm:0.17.6"+ "@blocksuite/global": "npm:0.17.6""@blocksuite/icons": "npm:^2.1.67"- "@blocksuite/inline": "npm:0.17.4"- "@blocksuite/store": "npm:0.17.4"+ "@blocksuite/inline": "npm:0.17.6"+ "@blocksuite/store": "npm:0.17.6""@floating-ui/dom": "npm:^1.6.10""@lit-labs/preact-signals": "npm:^1.0.2""@lit/context": "npm:^1.1.2"@@ -3652,23 +3652,24 @@ __metadata:remark-parse: "npm:^11.0.0"remark-stringify: "npm:^11.0.0"shiki: "npm:^1.14.1"+ simple-xml-to-json: "npm:^1.2.2"sortablejs: "npm:^1.15.2"unified: "npm:^11.0.5"zod: "npm:^3.23.8"- checksum: 10/3d92a965b2adeb6c916409c045b8fd3c67438786f487c4464b194a42115ae86ec060c4d3106e38e74d85106bb58fd67892cc123eaee4cdb49e0aa531e601e95c+ checksum: 10/78932a20346c3b94f90d4859c8562998f8f6cbc05f4f5b9a4eb0b71d318ec4f725adba5dd8459e3adf2d726de8db8f7a188736bd692f8bb200016288ef338720languageName: nodelinkType: hard-"@blocksuite/data-view@npm:0.17.4":- version: 0.17.4- resolution: "@blocksuite/data-view@npm:0.17.4"+"@blocksuite/data-view@npm:0.17.6":+ version: 0.17.6+ resolution: "@blocksuite/data-view@npm:0.17.6"dependencies:- "@blocksuite/affine-components": "npm:0.17.4"- "@blocksuite/affine-shared": "npm:0.17.4"- "@blocksuite/block-std": "npm:0.17.4"- "@blocksuite/global": "npm:0.17.4"+ "@blocksuite/affine-components": "npm:0.17.6"+ "@blocksuite/affine-shared": "npm:0.17.6"+ "@blocksuite/block-std": "npm:0.17.6"+ "@blocksuite/global": "npm:0.17.6""@blocksuite/icons": "npm:^2.1.67"- "@blocksuite/store": "npm:0.17.4"+ "@blocksuite/store": "npm:0.17.6""@floating-ui/dom": "npm:^1.6.10""@lit-labs/preact-signals": "npm:^1.0.2""@lit/context": "npm:^1.1.2"@@ -3677,17 +3678,17 @@ __metadata:lit: "npm:^3.2.0"sortablejs: "npm:^1.15.2"zod: "npm:^3.23.8"- checksum: 10/2a4c9dec5d18e0a6e3f727e8a3dbd80e93d9d09f46acd33a48ee920c2568f2043f48be0b846098c7a4064930cd58f3edf4e59d3db108e86be88dde480e1b6c67+ checksum: 10/6d3af10d018da06558a9ae90f64a4e64daba9300a871e3354275edbbce6781a631a08d3e8fa90b8fc402253ae495ae72d80615c66d9260f8d988723f8723bd5blanguageName: nodelinkType: hard-"@blocksuite/global@npm:0.17.4":- version: 0.17.4- resolution: "@blocksuite/global@npm:0.17.4"+"@blocksuite/global@npm:0.17.6":+ version: 0.17.6+ resolution: "@blocksuite/global@npm:0.17.6"dependencies:lib0: "npm:^0.2.97"zod: "npm:^3.23.8"- checksum: 10/e9a7f8075958db7050a65b7099292a750dc994b396a510c025b1f25265dcad0261761151f9ffc30a52e76fabab8f16ce9b9c41c69e687cf34dd856894ccfd945+ checksum: 10/fdce62286da681f86bed648f77ddc6370c1ba4771cced633342b63eafc7158c25e29dcb72d35e537e7b07a772e70e6f84b926096b24ca68180514211a3bc103blanguageName: nodelinkType: hard@@ -3707,47 +3708,47 @@ __metadata:languageName: nodelinkType: hard-"@blocksuite/inline@npm:0.17.4":- version: 0.17.4- resolution: "@blocksuite/inline@npm:0.17.4"+"@blocksuite/inline@npm:0.17.6":+ version: 0.17.6+ resolution: "@blocksuite/inline@npm:0.17.6"dependencies:- "@blocksuite/global": "npm:0.17.4"+ "@blocksuite/global": "npm:0.17.6"zod: "npm:^3.23.8"peerDependencies:- lit: ^3.1.1- yjs: ^13.6.15- checksum: 10/785c61b77bf796e7f9d39549046dc504463def0b4f4ff65371e7b845c14c42b3618ca8b1bb9f547549aa4821430fe0313ffda5b4438fc21a453a785f2dc06898+ lit: ^3.2.0+ yjs: ^13.6.18+ checksum: 10/1f66636a846f087c3d8b9db34f3ff2bf404445ca9781108da6901ae2cfb191e6c95418183f52db71b6dc3cbe7bee87ebc39685a5347877b5496f6c46ea4aab37languageName: nodelinkType: hard-"@blocksuite/presets@npm:0.17.4":- version: 0.17.4- resolution: "@blocksuite/presets@npm:0.17.4"- dependencies:- "@blocksuite/affine-block-surface": "npm:0.17.4"- "@blocksuite/affine-shared": "npm:0.17.4"- "@blocksuite/block-std": "npm:0.17.4"- "@blocksuite/blocks": "npm:0.17.4"- "@blocksuite/global": "npm:0.17.4"- "@blocksuite/inline": "npm:0.17.4"- "@blocksuite/store": "npm:0.17.4"+"@blocksuite/presets@npm:0.17.6":+ version: 0.17.6+ resolution: "@blocksuite/presets@npm:0.17.6"+ dependencies:+ "@blocksuite/affine-block-surface": "npm:0.17.6"+ "@blocksuite/affine-shared": "npm:0.17.6"+ "@blocksuite/block-std": "npm:0.17.6"+ "@blocksuite/blocks": "npm:0.17.6"+ "@blocksuite/global": "npm:0.17.6"+ "@blocksuite/inline": "npm:0.17.6"+ "@blocksuite/store": "npm:0.17.6""@floating-ui/dom": "npm:^1.6.10""@lit-labs/preact-signals": "npm:^1.0.2""@lottiefiles/dotlottie-wc": "npm:^0.2.16""@toeverything/theme": "npm:^1.0.8"lit: "npm:^3.2.0"zod: "npm:^3.23.8"- checksum: 10/409dda7dd7d0dc4fb45ca67e793b3fdf365d3e3baf9f6428d44b7fd6bd00cb10139c8e6f3a6cc10d36efa35789350c64ecb6e2a19653b4c53348dffc5750819d+ checksum: 10/d6b0a1f8dbc5ec56ba5cb247bbe755daf2825615c0bf34c073675c28f6546066412d0847c39d6cfe69bab84eb686fa4e0c610651ffb128d50490eec0b9e67148languageName: nodelinkType: hard-"@blocksuite/store@npm:0.17.4":- version: 0.17.4- resolution: "@blocksuite/store@npm:0.17.4"+"@blocksuite/store@npm:0.17.6":+ version: 0.17.6+ resolution: "@blocksuite/store@npm:0.17.6"dependencies:- "@blocksuite/global": "npm:0.17.4"- "@blocksuite/inline": "npm:0.17.4"- "@blocksuite/sync": "npm:0.17.4"+ "@blocksuite/global": "npm:0.17.6"+ "@blocksuite/inline": "npm:0.17.6"+ "@blocksuite/sync": "npm:0.17.6""@preact/signals-core": "npm:^1.8.0""@types/flexsearch": "npm:^0.7.6""@types/lodash.ismatch": "npm:^4.4.9"@@ -3761,22 +3762,22 @@ __metadata:y-protocols: "npm:^1.0.6"zod: "npm:^3.23.8"peerDependencies:- yjs: ^13.6.15- checksum: 10/95678fea3c6bf23ef2901d6b7280b0100efdbab8c2201b06b19ce8e529f69adbf4e128a91a4e63a818b3268008dfa59aaf0952070d9abfb468ba0c008871e386+ yjs: ^13.6.18+ checksum: 10/1eb8fbe2b1f07010f212f06992ec13fa4ad4a550ed250b07e31efe3b8c77a3f6ccbf41ae1051f161c384bcb2d4184d706f840a59e8d0f8f680f7cfb7ea11e157languageName: nodelinkType: hard-"@blocksuite/sync@npm:0.17.4":- version: 0.17.4- resolution: "@blocksuite/sync@npm:0.17.4"+"@blocksuite/sync@npm:0.17.6":+ version: 0.17.6+ resolution: "@blocksuite/sync@npm:0.17.6"dependencies:- "@blocksuite/global": "npm:0.17.4"+ "@blocksuite/global": "npm:0.17.6"idb: "npm:^8.0.0"idb-keyval: "npm:^6.2.1"y-protocols: "npm:^1.0.6"peerDependencies:yjs: ^13.6.15- checksum: 10/bec89f2c8bbc6c01638cfeb3f10bcd1716d58cb37c35936a954d51c5e488a6c52297d3ff824025636e41d8599537c8bfc13d270b82023a2bda09d1a2250bec12+ checksum: 10/e27338519fe0c2f534123543c02fcee25fa48aafb1f57277ae15d6b98008af3f75c5d610a96b463372ff05dad9c529d42687959ee989cdac054b798d92b64644languageName: nodelinkType: hard@@ -14209,11 +14210,11 @@ __metadata:"@affine/debug": "workspace:*""@affine/env": "workspace:*""@affine/templates": "workspace:*"- "@blocksuite/block-std": "npm:0.17.4"- "@blocksuite/blocks": "npm:0.17.4"- "@blocksuite/global": "npm:0.17.4"- "@blocksuite/presets": "npm:0.17.4"- "@blocksuite/store": "npm:0.17.4"+ "@blocksuite/block-std": "npm:0.17.6"+ "@blocksuite/blocks": "npm:0.17.6"+ "@blocksuite/global": "npm:0.17.6"+ "@blocksuite/presets": "npm:0.17.6"+ "@blocksuite/store": "npm:0.17.6""@datastructures-js/binary-search-tree": "npm:^5.3.2""@testing-library/react": "npm:^16.0.0"async-call-rpc: "npm:^6.4.0"@@ -32778,6 +32779,13 @@ __metadata:languageName: nodelinkType: hard+"simple-xml-to-json@npm:^1.2.2":+ version: 1.2.2+ resolution: "simple-xml-to-json@npm:1.2.2"+ checksum: 10/7eae92b5fd47e2c597a6e0e124fff13d745e4e0329371a07ea40302f7c5d326e4c9e25b0004844cb0c5a1c3f6f2a764db0d7a705eba3fc8de455a9048f4d193a+ languageName: node+ linkType: hard+"sinon@npm:^18.0.0":version: 18.0.0resolution: "sinon@npm:18.0.0"