mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a new slider component for line width selection, providing a more interactive and streamlined UI. - Added support for using the slider component across relevant panels. - **Improvements** - Simplified the line width selection panel for easier use and improved maintainability. - Enhanced event handling to prevent dropdowns from closing when interacting with the panel. - **Bug Fixes** - Improved event propagation control within the line styles panel. - **Chores** - Updated package exports to include the new slider component. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
86 lines
3.2 KiB
JSON
86 lines
3.2 KiB
JSON
{
|
|
"name": "@blocksuite/affine-components",
|
|
"description": "Default BlockSuite editable blocks.",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsc"
|
|
},
|
|
"sideEffects": false,
|
|
"keywords": [],
|
|
"author": "toeverything",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@blocksuite/affine-model": "workspace:*",
|
|
"@blocksuite/affine-shared": "workspace:*",
|
|
"@blocksuite/global": "workspace:*",
|
|
"@blocksuite/icons": "^2.2.12",
|
|
"@blocksuite/std": "workspace:*",
|
|
"@blocksuite/store": "workspace:*",
|
|
"@blocksuite/sync": "workspace:*",
|
|
"@floating-ui/dom": "^1.6.13",
|
|
"@lit/context": "^1.1.2",
|
|
"@lottiefiles/dotlottie-wc": "^0.5.0",
|
|
"@preact/signals-core": "^1.8.0",
|
|
"@toeverything/theme": "^1.1.14",
|
|
"@types/hast": "^3.0.4",
|
|
"@types/katex": "^0.16.7",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/mdast": "^4.0.4",
|
|
"collapse-white-space": "^2.1.0",
|
|
"date-fns": "^4.0.0",
|
|
"katex": "^0.16.11",
|
|
"lit": "^3.2.0",
|
|
"lit-html": "^3.2.1",
|
|
"lodash-es": "^4.17.21",
|
|
"remark-math": "^6.0.0",
|
|
"rxjs": "^7.8.1",
|
|
"shiki": "^3.0.0",
|
|
"yjs": "^13.6.21",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./color-picker": "./src/color-picker/index.ts",
|
|
"./icons": "./src/icons/index.ts",
|
|
"./peek": "./src/peek/index.ts",
|
|
"./resource": "./src/resource/index.ts",
|
|
"./portal": "./src/portal/index.ts",
|
|
"./hover": "./src/hover/index.ts",
|
|
"./icon-button": "./src/icon-button/index.ts",
|
|
"./toolbar": "./src/toolbar/index.ts",
|
|
"./toast": "./src/toast/index.ts",
|
|
"./smooth-corner": "./src/smooth-corner/index.ts",
|
|
"./caption": "./src/caption/index.ts",
|
|
"./context-menu": "./src/context-menu/index.ts",
|
|
"./date-picker": "./src/date-picker/index.ts",
|
|
"./drop-indicator": "./src/drop-indicator/index.ts",
|
|
"./filterable-list": "./src/filterable-list/index.ts",
|
|
"./toggle-button": "./src/toggle-button/index.ts",
|
|
"./toggle-switch": "./src/toggle-switch/index.ts",
|
|
"./notification": "./src/notification/index.ts",
|
|
"./block-zero-width": "./src/block-zero-width/index.ts",
|
|
"./block-selection": "./src/block-selection/index.ts",
|
|
"./embed-card-modal": "./src/embed-card-modal/index.ts",
|
|
"./link-preview": "./src/link-preview/index.ts",
|
|
"./linked-doc-title": "./src/linked-doc-title/index.ts",
|
|
"./view-dropdown-menu": "./src/view-dropdown-menu/index.ts",
|
|
"./card-style-dropdown-menu": "./src/card-style-dropdown-menu/index.ts",
|
|
"./citation": "./src/citation/index.ts",
|
|
"./highlight-dropdown-menu": "./src/highlight-dropdown-menu/index.ts",
|
|
"./tooltip-content-with-shortcut": "./src/tooltip-content-with-shortcut/index.ts",
|
|
"./size-dropdown-menu": "./src/size-dropdown-menu/index.ts",
|
|
"./edgeless-line-width-panel": "./src/edgeless-line-width-panel/index.ts",
|
|
"./edgeless-line-styles-panel": "./src/edgeless-line-styles-panel/index.ts",
|
|
"./edgeless-shape-color-picker": "./src/edgeless-shape-color-picker/index.ts",
|
|
"./open-doc-dropdown-menu": "./src/open-doc-dropdown-menu/index.ts",
|
|
"./slider": "./src/slider/index.ts"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"dist",
|
|
"!src/__tests__",
|
|
"!dist/__tests__"
|
|
],
|
|
"version": "0.21.0"
|
|
}
|