mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 01:26:37 +08:00
75f4c0eede
This PR implements [feature request] #14845 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Add-block control that appears when hovering blocks in page mode to insert and auto-focus a new paragraph; control hides after insertion. * **Improvements** * Improved hover and interaction handling to avoid accidental triggers when interacting with the drag handle or add-block control. * Consistent sizing, positioning, and visibility behavior for the add-block control. * **Style** * Moved heading icon slightly for improved visual alignment. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"name": "@blocksuite/affine-widget-drag-handle",
|
|
"description": "Drag handle for BlockSuite.",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsc"
|
|
},
|
|
"sideEffects": false,
|
|
"keywords": [],
|
|
"author": "toeverything",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@blocksuite/affine-block-callout": "workspace:*",
|
|
"@blocksuite/affine-block-embed": "workspace:*",
|
|
"@blocksuite/affine-block-list": "workspace:*",
|
|
"@blocksuite/affine-block-note": "workspace:*",
|
|
"@blocksuite/affine-block-paragraph": "workspace:*",
|
|
"@blocksuite/affine-block-surface": "workspace:*",
|
|
"@blocksuite/affine-components": "workspace:*",
|
|
"@blocksuite/affine-ext-loader": "workspace:*",
|
|
"@blocksuite/affine-model": "workspace:*",
|
|
"@blocksuite/affine-rich-text": "workspace:*",
|
|
"@blocksuite/affine-shared": "workspace:*",
|
|
"@blocksuite/global": "workspace:*",
|
|
"@blocksuite/icons": "^2.2.17",
|
|
"@blocksuite/std": "workspace:*",
|
|
"@blocksuite/store": "workspace:*",
|
|
"@preact/signals-core": "^1.8.0",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"lit": "^3.2.0",
|
|
"lodash-es": "^4.17.23"
|
|
},
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./view": "./src/view.ts"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"dist",
|
|
"!src/__tests__",
|
|
"!dist/__tests__"
|
|
],
|
|
"version": "0.26.3"
|
|
}
|