mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
chore: bump bs to 0.17.10 (#8251)
- e0d0016: - Fix database performance issue
- Fix frame panel display issue
- Fix editor settings for color with transparency
- Fix portal in modals
- Fix group selection rendering delay
- Remove unused and duplicated code
- Improve frame model
- Improve ParseDocUrl service
- Support custom max zoom
This commit is contained in:
4
packages/common/env/package.json
vendored
4
packages/common/env/package.json
vendored
@@ -3,8 +3,8 @@
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
"@blocksuite/global": "0.17.9",
|
||||
"@blocksuite/store": "0.17.9",
|
||||
"@blocksuite/global": "0.17.10",
|
||||
"@blocksuite/store": "0.17.10",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"vitest": "2.1.0"
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
"@affine/debug": "workspace:*",
|
||||
"@affine/env": "workspace:*",
|
||||
"@affine/templates": "workspace:*",
|
||||
"@blocksuite/blocks": "0.17.9",
|
||||
"@blocksuite/global": "0.17.9",
|
||||
"@blocksuite/presets": "0.17.9",
|
||||
"@blocksuite/store": "0.17.9",
|
||||
"@blocksuite/blocks": "0.17.10",
|
||||
"@blocksuite/global": "0.17.10",
|
||||
"@blocksuite/presets": "0.17.10",
|
||||
"@blocksuite/store": "0.17.10",
|
||||
"@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.9",
|
||||
"@blocksuite/presets": "0.17.9",
|
||||
"@blocksuite/block-std": "0.17.10",
|
||||
"@blocksuite/presets": "0.17.10",
|
||||
"@testing-library/react": "^16.0.0",
|
||||
"async-call-rpc": "^6.4.0",
|
||||
"fake-indexeddb": "^6.0.0",
|
||||
|
||||
@@ -29,10 +29,10 @@
|
||||
"@affine/env": "workspace:*",
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@affine/native": "workspace:*",
|
||||
"@blocksuite/block-std": "0.17.9",
|
||||
"@blocksuite/blocks": "0.17.9",
|
||||
"@blocksuite/presets": "0.17.9",
|
||||
"@blocksuite/store": "0.17.9",
|
||||
"@blocksuite/block-std": "0.17.10",
|
||||
"@blocksuite/blocks": "0.17.10",
|
||||
"@blocksuite/presets": "0.17.10",
|
||||
"@blocksuite/store": "0.17.10",
|
||||
"@electron-forge/cli": "^7.3.0",
|
||||
"@electron-forge/core": "^7.3.0",
|
||||
"@electron-forge/core-utils": "^7.3.0",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"@affine/graphql": "workspace:*",
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@affine/track": "workspace:*",
|
||||
"@blocksuite/blocks": "0.17.9",
|
||||
"@blocksuite/blocks": "0.17.10",
|
||||
"@blocksuite/icons": "^2.1.66",
|
||||
"@radix-ui/react-collapsible": "^1.0.3",
|
||||
"@sentry/react": "^8.0.0",
|
||||
|
||||
@@ -81,12 +81,12 @@
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blocksuite/block-std": "0.17.9",
|
||||
"@blocksuite/blocks": "0.17.9",
|
||||
"@blocksuite/global": "0.17.9",
|
||||
"@blocksuite/block-std": "0.17.10",
|
||||
"@blocksuite/blocks": "0.17.10",
|
||||
"@blocksuite/global": "0.17.10",
|
||||
"@blocksuite/icons": "2.1.67",
|
||||
"@blocksuite/presets": "0.17.9",
|
||||
"@blocksuite/store": "0.17.9",
|
||||
"@blocksuite/presets": "0.17.10",
|
||||
"@blocksuite/store": "0.17.10",
|
||||
"@chromatic-com/storybook": "^2.0.0",
|
||||
"@storybook/addon-actions": "^8.2.9",
|
||||
"@storybook/addon-essentials": "^8.2.9",
|
||||
|
||||
@@ -17,14 +17,13 @@
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@affine/templates": "workspace:*",
|
||||
"@affine/track": "workspace:*",
|
||||
"@blocksuite/affine-block-surface": "0.17.9",
|
||||
"@blocksuite/block-std": "0.17.9",
|
||||
"@blocksuite/blocks": "0.17.9",
|
||||
"@blocksuite/global": "0.17.9",
|
||||
"@blocksuite/block-std": "0.17.10",
|
||||
"@blocksuite/blocks": "0.17.10",
|
||||
"@blocksuite/global": "0.17.10",
|
||||
"@blocksuite/icons": "2.1.67",
|
||||
"@blocksuite/inline": "0.17.9",
|
||||
"@blocksuite/presets": "0.17.9",
|
||||
"@blocksuite/store": "0.17.9",
|
||||
"@blocksuite/inline": "0.17.10",
|
||||
"@blocksuite/presets": "0.17.10",
|
||||
"@blocksuite/store": "0.17.10",
|
||||
"@dnd-kit/core": "^6.1.0",
|
||||
"@dnd-kit/modifiers": "^7.0.0",
|
||||
"@dnd-kit/sortable": "^8.0.0",
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import type { MindmapElementModel } from '@blocksuite/affine-block-surface';
|
||||
import { fitContent } from '@blocksuite/affine-block-surface';
|
||||
import type { EditorHost } from '@blocksuite/block-std';
|
||||
import type {
|
||||
AffineAIPanelWidget,
|
||||
@@ -16,6 +15,7 @@ import {
|
||||
EDGELESS_TEXT_BLOCK_MIN_HEIGHT,
|
||||
EDGELESS_TEXT_BLOCK_MIN_WIDTH,
|
||||
EdgelessTextBlockModel,
|
||||
fitContent,
|
||||
ImageBlockModel,
|
||||
InsertBelowIcon,
|
||||
LightLoadingIcon,
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { MindmapElementModel } from '@blocksuite/affine-block-surface';
|
||||
import {
|
||||
type AIItemGroupConfig,
|
||||
AIStarIconWithAnimation,
|
||||
BlocksUtils,
|
||||
MindmapElementModel,
|
||||
ShapeElementModel,
|
||||
TextElementModel,
|
||||
} from '@blocksuite/blocks';
|
||||
|
||||
@@ -3,10 +3,10 @@ import './date-time';
|
||||
import '../_common/components/chat-action-list';
|
||||
import '../_common/components/copy-more';
|
||||
|
||||
import { CanvasElementType } from '@blocksuite/affine-block-surface';
|
||||
import { type EditorHost } from '@blocksuite/block-std';
|
||||
import {
|
||||
type AIError,
|
||||
CanvasElementType,
|
||||
ConnectorMode,
|
||||
DocModeProvider,
|
||||
type EdgelessRootService,
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { MindmapElementModel } from '@blocksuite/affine-block-surface';
|
||||
import type { BlockComponent, EditorHost } from '@blocksuite/block-std';
|
||||
import {
|
||||
AFFINE_EDGELESS_COPILOT_WIDGET,
|
||||
type EdgelessCopilotWidget,
|
||||
type EdgelessRootService,
|
||||
matchFlavours,
|
||||
MindmapElementModel,
|
||||
type ShapeElementModel,
|
||||
} from '@blocksuite/blocks';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { EdgelessSurfaceBlockSpec } from '@blocksuite/affine-block-surface';
|
||||
import type { ExtensionType } from '@blocksuite/block-std';
|
||||
import {
|
||||
EdgelessNoteBlockSpec,
|
||||
EdgelessSurfaceBlockSpec,
|
||||
EdgelessSurfaceRefBlockSpec,
|
||||
EdgelessTextBlockSpec,
|
||||
FrameBlockSpec,
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import { PageSurfaceBlockSpec } from '@blocksuite/affine-block-surface';
|
||||
import type { ExtensionType } from '@blocksuite/block-std';
|
||||
import { NoteBlockSpec, PageSurfaceRefBlockSpec } from '@blocksuite/blocks';
|
||||
import {
|
||||
NoteBlockSpec,
|
||||
PageSurfaceBlockSpec,
|
||||
PageSurfaceRefBlockSpec,
|
||||
} from '@blocksuite/blocks';
|
||||
import { type FrameworkProvider } from '@toeverything/infra';
|
||||
|
||||
import { AIBlockSpecs, DefaultBlockSpecs } from './common';
|
||||
|
||||
@@ -28,8 +28,8 @@ export const EditorFramePanel = ({
|
||||
framePanelRef.current = new FramePanel();
|
||||
}
|
||||
|
||||
if (editor !== framePanelRef.current?.editor) {
|
||||
(framePanelRef.current as FramePanel).editor = editor;
|
||||
if (editor.host !== framePanelRef.current?.host && editor.host) {
|
||||
(framePanelRef.current as FramePanel).host = editor.host;
|
||||
(framePanelRef.current as FramePanel).fitPadding = [20, 20, 20, 20];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user