feat(editor): root block extension (#12063)

Closes: BS-3202

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

- **New Features**
  - Introduced new root block store and view extensions, enhancing modularity and integration options for root block functionality.
  - Exported the EdgelessLocker class for broader usage.

- **Improvements**
  - Updated export paths for root block modules, enabling clearer and more flexible module access.
  - Enhanced view extension setup to better tailor user interface and interactions based on context.

- **Removals**
  - Removed legacy migrating store and view extension logic, streamlining extension management and reducing unused code.
  - Removed multiple deprecated block specifications and common extension collections to simplify the codebase.
  - Deleted AI page root block specification, retaining only lifecycle watcher functionality.

- **Chores**
  - Updated dependencies and project references to support new extension loader integration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Saul-Mirone
2025-04-29 09:15:51 +00:00
parent b5edd7a6bb
commit d6ab958e15
22 changed files with 138 additions and 246 deletions

View File

@@ -337,7 +337,7 @@ export const PackageList = [
'blocksuite/affine/blocks/paragraph',
'blocksuite/affine/blocks/surface',
'blocksuite/affine/components',
'blocksuite/affine/fragments/doc-title',
'blocksuite/affine/ext-loader',
'blocksuite/affine/gfx/brush',
'blocksuite/affine/gfx/connector',
'blocksuite/affine/gfx/group',
@@ -351,8 +351,6 @@ export const PackageList = [
'blocksuite/affine/rich-text',
'blocksuite/affine/shared',
'blocksuite/affine/widgets/edgeless-toolbar',
'blocksuite/affine/widgets/slash-menu',
'blocksuite/affine/widgets/toolbar',
'blocksuite/affine/data-view',
'blocksuite/framework/global',
'blocksuite/framework/std',