mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
Close [BS-2392](https://linear.app/affine-design/issue/BS-2392/page-block-需要显示文章title) ### What Changes - Add `<doc-title>` to edgeless page block (a.k.a the first page visible note block) - Refactors: - Move `<doc-title>` to `@blocksuite/affine-component`, but you can aslo import it from `@blocksuite/preset` - Extract `<edgeless-note-mask>` and `<edgeless-note-background>` from `<affine-edgeless-note>` to a seperate file - Rewrite styles of `<affine-edgeless-note>` with `@vanilla-extract/css` https://github.com/user-attachments/assets/a0c03239-803e-4bfa-b30e-33b919213b12
53 lines
1.4 KiB
JSON
53 lines
1.4 KiB
JSON
{
|
|
"name": "@blocksuite/presets",
|
|
"description": "Prebuilt BlockSuite editors and opt-in additional UI components.",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test:unit": "vitest --browser.headless --run",
|
|
"test:debug": "PWDEBUG=1 npx vitest"
|
|
},
|
|
"sideEffects": false,
|
|
"keywords": [],
|
|
"author": "toeverything",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@blocksuite/affine-block-note": "workspace:*",
|
|
"@blocksuite/affine-block-surface": "workspace:*",
|
|
"@blocksuite/affine-components": "workspace:*",
|
|
"@blocksuite/affine-model": "workspace:*",
|
|
"@blocksuite/affine-shared": "workspace:*",
|
|
"@blocksuite/block-std": "workspace:*",
|
|
"@blocksuite/blocks": "workspace:*",
|
|
"@blocksuite/global": "workspace:*",
|
|
"@blocksuite/icons": "^2.2.2",
|
|
"@blocksuite/inline": "workspace:*",
|
|
"@blocksuite/store": "workspace:*",
|
|
"@floating-ui/dom": "^1.6.10",
|
|
"@lit/context": "^1.1.3",
|
|
"@lottiefiles/dotlottie-wc": "^0.4.0",
|
|
"@preact/signals-core": "^1.8.0",
|
|
"@toeverything/theme": "^1.1.7",
|
|
"@vanilla-extract/css": "^1.17.0",
|
|
"lit": "^3.2.0",
|
|
"yjs": "^13.6.21",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./effects": "./src/effects.ts"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"dist",
|
|
"themes",
|
|
"!src/__tests__",
|
|
"!dist/__tests__"
|
|
],
|
|
"devDependencies": {
|
|
"@vanilla-extract/vite-plugin": "^5.0.0",
|
|
"vitest": "^3.0.0"
|
|
},
|
|
"version": "0.19.0"
|
|
}
|