forked from github/plane
d511799f31
* feat: created custom mention component * feat: added mention suggestions and suggestion highlights * feat: created mention suggestion list for displaying mention suggestions * feat: created custom mention text component, for handling click event * feat: exposed mention component * feat: integrated and exposed `mentions` componenet with `editor-core` * feat: integrated mentions extension with the core editor package * feat: exposed suggestion types from mentions * feat: added `mention-suggestion` parameters in `r-t-e` and `l-t-e` * feat: added `IssueMention` model in apiserver models * chore: updated activities background job and added bs4 in requirements * feat: added mention removal logic in issue_activity * chore: exposed mention types from `r-t-e` and `l-t-e` * feat: integrated mentions in side peek view description form * feat: added mentions in issue modal form * feat: created custom react-hook for editor suggestions * feat: integrated mention suggestions block in RichTextEditor * feat: added `mentions` integration in `lite-text-editor` instances * fix: tailwind loading nodemodules from packages * feat: added styles for the mention suggestion list * fix: update module import to resolve build failure * feat: added mentions as an issue filter * feat: added UI Changes to Implement `mention` filters * feat: added `mentions` as a filter option in the header * feat: added mentions in the filter list options * feat: added mentions in default display filter options * feat: added filters in applied and issue params in store * feat: modified types for adding mentions as a filter option * feat: modified `notification-card` to display message when it exists in object * feat: rewrote user mention management upon the changes made in develop * chore: merged debounce PR with the current PR for tracing changes * fix: mentions_filters updated with the new setup * feat: updated requirements for bs4 * feat: modified `mentions-filter` to remove many to many dependency * feat: implemented list manipulation instead of for loop * feat: added readonly functionality in `read-only` editor core * feat: added UI Changes for read-only mode * feat: added mentions store in web Root Store * chore: renamed `use-editor-suggestions` hook * feat: UI Improvements for conditional highlights w.r.t readonly in mentionNode * fix: removed mentions from `filter_set` parameters * fix: minor merge fixes * fix: package lock updates --------- Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
80 lines
2.1 KiB
JSON
80 lines
2.1 KiB
JSON
{
|
|
"name": "@plane/editor-core",
|
|
"version": "0.0.1",
|
|
"description": "Core Editor that powers Plane",
|
|
"main": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.mts",
|
|
"files": [
|
|
"dist/**/*"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"import": "./dist/index.mjs",
|
|
"module": "./dist/index.mjs"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsup --watch",
|
|
"check-types": "tsc --noEmit"
|
|
},
|
|
"peerDependencies": {
|
|
"next": "12.3.2",
|
|
"next-themes": "^0.2.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "18.2.0"
|
|
},
|
|
"dependencies": {
|
|
"@blueprintjs/popover2": "^2.0.10",
|
|
"@tiptap/core": "^2.1.7",
|
|
"@tiptap/extension-color": "^2.1.11",
|
|
"@tiptap/extension-image": "^2.1.7",
|
|
"@tiptap/extension-link": "^2.1.7",
|
|
"@tiptap/extension-mention": "^2.1.12",
|
|
"@tiptap/extension-table": "^2.1.6",
|
|
"@tiptap/extension-table-cell": "^2.1.6",
|
|
"@tiptap/extension-table-header": "^2.1.6",
|
|
"@tiptap/extension-table-row": "^2.1.6",
|
|
"@tiptap/extension-task-item": "^2.1.7",
|
|
"@tiptap/extension-task-list": "^2.1.7",
|
|
"@tiptap/extension-text-style": "^2.1.11",
|
|
"@tiptap/extension-underline": "^2.1.7",
|
|
"@tiptap/pm": "^2.1.7",
|
|
"@tiptap/react": "^2.1.7",
|
|
"@tiptap/starter-kit": "^2.1.10",
|
|
"@tiptap/suggestion": "^2.0.4",
|
|
"@types/node": "18.15.3",
|
|
"@types/react": "^18.2.5",
|
|
"@types/react-dom": "18.0.11",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^1.2.1",
|
|
"eslint": "8.36.0",
|
|
"eslint-config-next": "13.2.4",
|
|
"eventsource-parser": "^0.1.0",
|
|
"lucide-react": "^0.244.0",
|
|
"react-markdown": "^8.0.7",
|
|
"react-moveable": "^0.54.2",
|
|
"tailwind-merge": "^1.14.0",
|
|
"tippy.js": "^6.3.7",
|
|
"tiptap-markdown": "^0.8.2",
|
|
"use-debounce": "^9.0.4"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^7.32.0",
|
|
"postcss": "^8.4.29",
|
|
"tailwind-config-custom": "*",
|
|
"tsconfig": "*",
|
|
"tsup": "^7.2.0",
|
|
"typescript": "4.9.5"
|
|
},
|
|
"keywords": [
|
|
"editor",
|
|
"rich-text",
|
|
"markdown",
|
|
"nextjs",
|
|
"react"
|
|
]
|
|
}
|