mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-11 23:26:30 +08:00
feat(editor): viewport overlay widget extension (#12035)
Closes: BS-3360 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a new viewport overlay widget, making it available as part of the workspace and enabling its integration into supported pages. - **Refactor** - Updated internal imports and exports to utilize the new viewport overlay widget package. - Streamlined widget registration and extension mechanisms for improved modularity. - **Chores** - Added configuration and project references to support the new viewport overlay widget package in the build system. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -59,6 +59,7 @@ export const PackageList = [
|
||||
'blocksuite/affine/widgets/scroll-anchoring',
|
||||
'blocksuite/affine/widgets/slash-menu',
|
||||
'blocksuite/affine/widgets/toolbar',
|
||||
'blocksuite/affine/widgets/viewport-overlay',
|
||||
'blocksuite/affine/data-view',
|
||||
'blocksuite/framework/global',
|
||||
'blocksuite/framework/std',
|
||||
@@ -936,6 +937,18 @@ export const PackageList = [
|
||||
'blocksuite/framework/std',
|
||||
],
|
||||
},
|
||||
{
|
||||
location: 'blocksuite/affine/widgets/viewport-overlay',
|
||||
name: '@blocksuite/affine-widget-viewport-overlay',
|
||||
workspaceDependencies: [
|
||||
'blocksuite/affine/components',
|
||||
'blocksuite/affine/ext-loader',
|
||||
'blocksuite/affine/model',
|
||||
'blocksuite/affine/shared',
|
||||
'blocksuite/framework/global',
|
||||
'blocksuite/framework/std',
|
||||
],
|
||||
},
|
||||
{
|
||||
location: 'blocksuite/docs',
|
||||
name: '@blocksuite/bs-docs',
|
||||
@@ -1362,6 +1375,7 @@ export type PackageName =
|
||||
| '@blocksuite/affine-widget-scroll-anchoring'
|
||||
| '@blocksuite/affine-widget-slash-menu'
|
||||
| '@blocksuite/affine-widget-toolbar'
|
||||
| '@blocksuite/affine-widget-viewport-overlay'
|
||||
| '@blocksuite/bs-docs'
|
||||
| '@blocksuite/global'
|
||||
| '@blocksuite/std'
|
||||
|
||||
Reference in New Issue
Block a user