feat(editor): add frame title and mobile toolbar widget extension (#11996)

Closes: BS-3223
Closes: BS-3224

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

- **New Features**
  - Introduced new view extensions for frame title and keyboard toolbar widgets with conditional registration based on context and environment.
  - Enhanced widget integration by adding explicit exports for view components.

- **Chores**
  - Updated export paths and package dependencies to improve modularity and compatibility.
  - Removed deprecated widget dependencies and related imports from core packages.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Saul-Mirone
2025-04-26 02:45:18 +00:00
parent 25a2b94a43
commit 6e76a3e593
22 changed files with 75 additions and 30 deletions
@@ -1,9 +1,7 @@
import type { FrameBlockComponent } from '@blocksuite/affine/blocks/frame';
import type {
AffineFrameTitleWidget,
EdgelessRootBlockComponent,
} from '@blocksuite/affine/blocks/root';
import type { EdgelessRootBlockComponent } from '@blocksuite/affine/blocks/root';
import type { FrameBlockModel } from '@blocksuite/affine/model';
import type { AffineFrameTitleWidget } from '@blocksuite/affine/widgets/frame-title';
import { assertType } from '@blocksuite/global/utils';
import { Text } from '@blocksuite/store';
import { beforeEach, describe, expect, test } from 'vitest';