From 31bc120f50ba33ecad7200b1e3cb88ba75e1e513 Mon Sep 17 00:00:00 2001 From: Dominic Gannaway Date: Fri, 23 Dec 2022 13:18:17 +0000 Subject: [PATCH] v0.7.5 (#3630) --- CHANGELOG.md | 18 ++ package-lock.json | 326 +++++++++++------------ package.json | 2 +- packages/lexical-clipboard/package.json | 12 +- packages/lexical-code/package.json | 6 +- packages/lexical-dragon/package.json | 4 +- packages/lexical-file/package.json | 4 +- packages/lexical-hashtag/package.json | 6 +- packages/lexical-headless/package.json | 4 +- packages/lexical-history/package.json | 6 +- packages/lexical-html/package.json | 6 +- packages/lexical-link/package.json | 6 +- packages/lexical-list/package.json | 6 +- packages/lexical-mark/package.json | 6 +- packages/lexical-markdown/package.json | 16 +- packages/lexical-offset/package.json | 4 +- packages/lexical-overflow/package.json | 4 +- packages/lexical-plain-text/package.json | 10 +- packages/lexical-playground/package.json | 32 +-- packages/lexical-react/package.json | 38 +-- packages/lexical-rich-text/package.json | 10 +- packages/lexical-selection/package.json | 4 +- packages/lexical-table/package.json | 6 +- packages/lexical-text/package.json | 4 +- packages/lexical-utils/package.json | 8 +- packages/lexical-yjs/package.json | 6 +- packages/lexical/package.json | 2 +- packages/shared/package.json | 4 +- scripts/error-codes/codes.json | 6 +- 29 files changed, 294 insertions(+), 272 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cfc9129373d..dd80117f060 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +## v0.7.5 (2022-12-23) + +- selectionChange fix (#3623) Dominic Gannaway +- Add docs for root listener (#3625) Acy Watson +- Add docs re: working with DOM Events (#3624) Acy Watson +- background-repeat: no-repeat; (#3621) Aloento +- Add logic in isSelectionCapturedInDecoratorInput for contentEditables (#3622) Dominic Gannaway +- Fix bug in convertTextFormatElement (#3618) Dominic Gannaway +- Add size limit report (#3600) Maksim Horbachevsky +- Allow focus/blur propagation in useYjsFocusTracking (#3617) Dominic Gannaway +- Add missing changelog for 0.7.4 (#3598) John Flockton +- Fix getSelectedNode logic for forward selection (#3609) moy2010 +- Fix typo in documentation (#3614) Jeremy Bernier +- Fix bad rebase (#3607) Dominic Gannaway +- Escape plus signs of the tag in MarkdownImport, fixes #3596 (#3599) Teemu Pöntelin +- Add HTML paste support for checklists (#3579) Acy Watson +- Preserve empty parent during replacement (#3595) Maksim Horbachevsky + ## v0.7.4 (2022-12-20) - Add missing usages of `$applyNodeReplacement` (#3592) John Flockton diff --git a/package-lock.json b/package-lock.json index 0366e0e4034..d299e98a202 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lexical/monorepo", - "version": "0.7.4", + "version": "0.7.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lexical/monorepo", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "workspaces": [ "packages/*" @@ -22454,36 +22454,36 @@ } }, "packages/lexical": { - "version": "0.7.4", + "version": "0.7.5", "license": "MIT" }, "packages/lexical-clipboard": { "name": "@lexical/clipboard", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "dependencies": { - "@lexical/html": "0.7.4", - "@lexical/list": "0.7.4", - "@lexical/selection": "0.7.4", - "@lexical/utils": "0.7.4" + "@lexical/html": "0.7.5", + "@lexical/list": "0.7.5", + "@lexical/selection": "0.7.5", + "@lexical/utils": "0.7.5" }, "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" } }, "packages/lexical-code": { "name": "@lexical/code", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "dependencies": { - "@lexical/utils": "0.7.4", + "@lexical/utils": "0.7.5", "prismjs": "^1.27.0" }, "devDependencies": { "@types/prismjs": "^1.26.0" }, "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" } }, "packages/lexical-devtools": { @@ -22521,157 +22521,157 @@ }, "packages/lexical-dragon": { "name": "@lexical/dragon", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" } }, "packages/lexical-file": { "name": "@lexical/file", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" } }, "packages/lexical-hashtag": { "name": "@lexical/hashtag", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "dependencies": { - "@lexical/utils": "0.7.4" + "@lexical/utils": "0.7.5" }, "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" } }, "packages/lexical-headless": { "name": "@lexical/headless", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" } }, "packages/lexical-history": { "name": "@lexical/history", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "dependencies": { - "@lexical/utils": "0.7.4" + "@lexical/utils": "0.7.5" }, "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" } }, "packages/lexical-html": { "name": "@lexical/html", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "dependencies": { - "@lexical/selection": "0.7.4" + "@lexical/selection": "0.7.5" }, "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" } }, "packages/lexical-link": { "name": "@lexical/link", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "dependencies": { - "@lexical/utils": "0.7.4" + "@lexical/utils": "0.7.5" }, "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" } }, "packages/lexical-list": { "name": "@lexical/list", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "dependencies": { - "@lexical/utils": "0.7.4" + "@lexical/utils": "0.7.5" }, "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" } }, "packages/lexical-mark": { "name": "@lexical/mark", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "dependencies": { - "@lexical/utils": "0.7.4" + "@lexical/utils": "0.7.5" }, "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" } }, "packages/lexical-markdown": { "name": "@lexical/markdown", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "dependencies": { - "@lexical/code": "0.7.4", - "@lexical/link": "0.7.4", - "@lexical/list": "0.7.4", - "@lexical/rich-text": "0.7.4", - "@lexical/text": "0.7.4", - "@lexical/utils": "0.7.4" + "@lexical/code": "0.7.5", + "@lexical/link": "0.7.5", + "@lexical/list": "0.7.5", + "@lexical/rich-text": "0.7.5", + "@lexical/text": "0.7.5", + "@lexical/utils": "0.7.5" }, "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" } }, "packages/lexical-offset": { "name": "@lexical/offset", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" } }, "packages/lexical-overflow": { "name": "@lexical/overflow", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" } }, "packages/lexical-plain-text": { "name": "@lexical/plain-text", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "peerDependencies": { - "@lexical/clipboard": "0.7.4", - "@lexical/selection": "0.7.4", - "@lexical/utils": "0.7.4", - "lexical": "0.7.4" + "@lexical/clipboard": "0.7.5", + "@lexical/selection": "0.7.5", + "@lexical/utils": "0.7.5", + "lexical": "0.7.5" } }, "packages/lexical-playground": { - "version": "0.7.4", + "version": "0.7.5", "dependencies": { "@excalidraw/excalidraw": "0.11.0", - "@lexical/clipboard": "0.7.4", - "@lexical/code": "0.7.4", - "@lexical/file": "0.7.4", - "@lexical/hashtag": "0.7.4", - "@lexical/link": "0.7.4", - "@lexical/list": "0.7.4", - "@lexical/mark": "0.7.4", - "@lexical/overflow": "0.7.4", - "@lexical/plain-text": "0.7.4", - "@lexical/react": "0.7.4", - "@lexical/rich-text": "0.7.4", - "@lexical/selection": "0.7.4", - "@lexical/table": "0.7.4", - "@lexical/utils": "0.7.4", + "@lexical/clipboard": "0.7.5", + "@lexical/code": "0.7.5", + "@lexical/file": "0.7.5", + "@lexical/hashtag": "0.7.5", + "@lexical/link": "0.7.5", + "@lexical/list": "0.7.5", + "@lexical/mark": "0.7.5", + "@lexical/overflow": "0.7.5", + "@lexical/plain-text": "0.7.5", + "@lexical/react": "0.7.5", + "@lexical/rich-text": "0.7.5", + "@lexical/selection": "0.7.5", + "@lexical/table": "0.7.5", + "@lexical/utils": "0.7.5", "katex": "^0.15.2", - "lexical": "0.7.4", + "lexical": "0.7.5", "lodash-es": "^4.17.21", "prettier": "^2.3.2", "react": "^18.2.0", @@ -22689,82 +22689,82 @@ }, "packages/lexical-react": { "name": "@lexical/react", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "dependencies": { - "@lexical/clipboard": "0.7.4", - "@lexical/code": "0.7.4", - "@lexical/dragon": "0.7.4", - "@lexical/hashtag": "0.7.4", - "@lexical/history": "0.7.4", - "@lexical/link": "0.7.4", - "@lexical/list": "0.7.4", - "@lexical/mark": "0.7.4", - "@lexical/markdown": "0.7.4", - "@lexical/overflow": "0.7.4", - "@lexical/plain-text": "0.7.4", - "@lexical/rich-text": "0.7.4", - "@lexical/selection": "0.7.4", - "@lexical/table": "0.7.4", - "@lexical/text": "0.7.4", - "@lexical/utils": "0.7.4", - "@lexical/yjs": "0.7.4", + "@lexical/clipboard": "0.7.5", + "@lexical/code": "0.7.5", + "@lexical/dragon": "0.7.5", + "@lexical/hashtag": "0.7.5", + "@lexical/history": "0.7.5", + "@lexical/link": "0.7.5", + "@lexical/list": "0.7.5", + "@lexical/mark": "0.7.5", + "@lexical/markdown": "0.7.5", + "@lexical/overflow": "0.7.5", + "@lexical/plain-text": "0.7.5", + "@lexical/rich-text": "0.7.5", + "@lexical/selection": "0.7.5", + "@lexical/table": "0.7.5", + "@lexical/text": "0.7.5", + "@lexical/utils": "0.7.5", + "@lexical/yjs": "0.7.5", "react-error-boundary": "^3.1.4" }, "peerDependencies": { - "lexical": "0.7.4", + "lexical": "0.7.5", "react": ">=17.x", "react-dom": ">=17.x" } }, "packages/lexical-rich-text": { "name": "@lexical/rich-text", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "peerDependencies": { - "@lexical/clipboard": "0.7.4", - "@lexical/selection": "0.7.4", - "@lexical/utils": "0.7.4", - "lexical": "0.7.4" + "@lexical/clipboard": "0.7.5", + "@lexical/selection": "0.7.5", + "@lexical/utils": "0.7.5", + "lexical": "0.7.5" } }, "packages/lexical-selection": { "name": "@lexical/selection", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" } }, "packages/lexical-table": { "name": "@lexical/table", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "dependencies": { - "@lexical/utils": "0.7.4" + "@lexical/utils": "0.7.5" }, "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" } }, "packages/lexical-text": { "name": "@lexical/text", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" } }, "packages/lexical-utils": { "name": "@lexical/utils", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "dependencies": { - "@lexical/list": "0.7.4", - "@lexical/table": "0.7.4" + "@lexical/list": "0.7.5", + "@lexical/table": "0.7.5" }, "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" } }, "packages/lexical-website": { @@ -23745,13 +23745,13 @@ }, "packages/lexical-yjs": { "name": "@lexical/yjs", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "dependencies": { - "@lexical/offset": "0.7.4" + "@lexical/offset": "0.7.5" }, "peerDependencies": { - "lexical": "0.7.4", + "lexical": "0.7.5", "yjs": ">=13.5.22" } }, @@ -23780,10 +23780,10 @@ } }, "packages/shared": { - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "dependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" } } }, @@ -26055,16 +26055,16 @@ "@lexical/clipboard": { "version": "file:packages/lexical-clipboard", "requires": { - "@lexical/html": "0.7.4", - "@lexical/list": "0.7.4", - "@lexical/selection": "0.7.4", - "@lexical/utils": "0.7.4" + "@lexical/html": "0.7.5", + "@lexical/list": "0.7.5", + "@lexical/selection": "0.7.5", + "@lexical/utils": "0.7.5" } }, "@lexical/code": { "version": "file:packages/lexical-code", "requires": { - "@lexical/utils": "0.7.4", + "@lexical/utils": "0.7.5", "@types/prismjs": "^1.26.0", "prismjs": "^1.27.0" } @@ -26078,7 +26078,7 @@ "@lexical/hashtag": { "version": "file:packages/lexical-hashtag", "requires": { - "@lexical/utils": "0.7.4" + "@lexical/utils": "0.7.5" } }, "@lexical/headless": { @@ -26087,42 +26087,42 @@ "@lexical/history": { "version": "file:packages/lexical-history", "requires": { - "@lexical/utils": "0.7.4" + "@lexical/utils": "0.7.5" } }, "@lexical/html": { "version": "file:packages/lexical-html", "requires": { - "@lexical/selection": "0.7.4" + "@lexical/selection": "0.7.5" } }, "@lexical/link": { "version": "file:packages/lexical-link", "requires": { - "@lexical/utils": "0.7.4" + "@lexical/utils": "0.7.5" } }, "@lexical/list": { "version": "file:packages/lexical-list", "requires": { - "@lexical/utils": "0.7.4" + "@lexical/utils": "0.7.5" } }, "@lexical/mark": { "version": "file:packages/lexical-mark", "requires": { - "@lexical/utils": "0.7.4" + "@lexical/utils": "0.7.5" } }, "@lexical/markdown": { "version": "file:packages/lexical-markdown", "requires": { - "@lexical/code": "0.7.4", - "@lexical/link": "0.7.4", - "@lexical/list": "0.7.4", - "@lexical/rich-text": "0.7.4", - "@lexical/text": "0.7.4", - "@lexical/utils": "0.7.4" + "@lexical/code": "0.7.5", + "@lexical/link": "0.7.5", + "@lexical/list": "0.7.5", + "@lexical/rich-text": "0.7.5", + "@lexical/text": "0.7.5", + "@lexical/utils": "0.7.5" } }, "@lexical/offset": { @@ -26137,23 +26137,23 @@ "@lexical/react": { "version": "file:packages/lexical-react", "requires": { - "@lexical/clipboard": "0.7.4", - "@lexical/code": "0.7.4", - "@lexical/dragon": "0.7.4", - "@lexical/hashtag": "0.7.4", - "@lexical/history": "0.7.4", - "@lexical/link": "0.7.4", - "@lexical/list": "0.7.4", - "@lexical/mark": "0.7.4", - "@lexical/markdown": "0.7.4", - "@lexical/overflow": "0.7.4", - "@lexical/plain-text": "0.7.4", - "@lexical/rich-text": "0.7.4", - "@lexical/selection": "0.7.4", - "@lexical/table": "0.7.4", - "@lexical/text": "0.7.4", - "@lexical/utils": "0.7.4", - "@lexical/yjs": "0.7.4", + "@lexical/clipboard": "0.7.5", + "@lexical/code": "0.7.5", + "@lexical/dragon": "0.7.5", + "@lexical/hashtag": "0.7.5", + "@lexical/history": "0.7.5", + "@lexical/link": "0.7.5", + "@lexical/list": "0.7.5", + "@lexical/mark": "0.7.5", + "@lexical/markdown": "0.7.5", + "@lexical/overflow": "0.7.5", + "@lexical/plain-text": "0.7.5", + "@lexical/rich-text": "0.7.5", + "@lexical/selection": "0.7.5", + "@lexical/table": "0.7.5", + "@lexical/text": "0.7.5", + "@lexical/utils": "0.7.5", + "@lexical/yjs": "0.7.5", "react-error-boundary": "^3.1.4" } }, @@ -26166,7 +26166,7 @@ "@lexical/table": { "version": "file:packages/lexical-table", "requires": { - "@lexical/utils": "0.7.4" + "@lexical/utils": "0.7.5" } }, "@lexical/text": { @@ -26175,8 +26175,8 @@ "@lexical/utils": { "version": "file:packages/lexical-utils", "requires": { - "@lexical/list": "0.7.4", - "@lexical/table": "0.7.4" + "@lexical/list": "0.7.5", + "@lexical/table": "0.7.5" } }, "@lexical/website": { @@ -26884,7 +26884,7 @@ "@lexical/yjs": { "version": "file:packages/lexical-yjs", "requires": { - "@lexical/offset": "0.7.4" + "@lexical/offset": "0.7.5" } }, "@mdx-js/mdx": { @@ -35267,24 +35267,24 @@ "version": "file:packages/lexical-playground", "requires": { "@excalidraw/excalidraw": "0.11.0", - "@lexical/clipboard": "0.7.4", - "@lexical/code": "0.7.4", - "@lexical/file": "0.7.4", - "@lexical/hashtag": "0.7.4", - "@lexical/link": "0.7.4", - "@lexical/list": "0.7.4", - "@lexical/mark": "0.7.4", - "@lexical/overflow": "0.7.4", - "@lexical/plain-text": "0.7.4", - "@lexical/react": "0.7.4", - "@lexical/rich-text": "0.7.4", - "@lexical/selection": "0.7.4", - "@lexical/table": "0.7.4", - "@lexical/utils": "0.7.4", + "@lexical/clipboard": "0.7.5", + "@lexical/code": "0.7.5", + "@lexical/file": "0.7.5", + "@lexical/hashtag": "0.7.5", + "@lexical/link": "0.7.5", + "@lexical/list": "0.7.5", + "@lexical/mark": "0.7.5", + "@lexical/overflow": "0.7.5", + "@lexical/plain-text": "0.7.5", + "@lexical/react": "0.7.5", + "@lexical/rich-text": "0.7.5", + "@lexical/selection": "0.7.5", + "@lexical/table": "0.7.5", + "@lexical/utils": "0.7.5", "@types/lodash-es": "^4.14.182", "@vitejs/plugin-react": "^1.0.7", "katex": "^0.15.2", - "lexical": "0.7.4", + "lexical": "0.7.5", "lodash-es": "^4.17.21", "prettier": "^2.3.2", "react": "^18.2.0", @@ -38453,7 +38453,7 @@ "shared": { "version": "file:packages/shared", "requires": { - "lexical": "0.7.4" + "lexical": "0.7.5" } }, "shebang-command": { diff --git a/package.json b/package.json index 9ddd41d3a82..bab9f52bfa4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/monorepo", "description": "Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.", - "version": "0.7.4", + "version": "0.7.5", "license": "MIT", "private": true, "workspaces": [ diff --git a/packages/lexical-clipboard/package.json b/packages/lexical-clipboard/package.json index a399821c89e..6ef2433599a 100644 --- a/packages/lexical-clipboard/package.json +++ b/packages/lexical-clipboard/package.json @@ -9,16 +9,16 @@ "paste" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalClipboard.js", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" }, "dependencies": { - "@lexical/utils": "0.7.4", - "@lexical/list": "0.7.4", - "@lexical/selection": "0.7.4", - "@lexical/html": "0.7.4" + "@lexical/utils": "0.7.5", + "@lexical/list": "0.7.5", + "@lexical/selection": "0.7.5", + "@lexical/html": "0.7.5" }, "repository": { "type": "git", diff --git a/packages/lexical-code/package.json b/packages/lexical-code/package.json index 7d1cbd02e56..6edca14c6e5 100644 --- a/packages/lexical-code/package.json +++ b/packages/lexical-code/package.json @@ -8,13 +8,13 @@ "code" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalCode.js", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" }, "dependencies": { - "@lexical/utils": "0.7.4", + "@lexical/utils": "0.7.5", "prismjs": "^1.27.0" }, "repository": { diff --git a/packages/lexical-dragon/package.json b/packages/lexical-dragon/package.json index ef23a306937..a238d3eace9 100644 --- a/packages/lexical-dragon/package.json +++ b/packages/lexical-dragon/package.json @@ -9,10 +9,10 @@ "accessibility" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalDragon.js", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" }, "repository": { "type": "git", diff --git a/packages/lexical-file/package.json b/packages/lexical-file/package.json index 0cb4c6dc2b3..a540c435585 100644 --- a/packages/lexical-file/package.json +++ b/packages/lexical-file/package.json @@ -10,10 +10,10 @@ "export" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalFile.js", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" }, "repository": { "type": "git", diff --git a/packages/lexical-hashtag/package.json b/packages/lexical-hashtag/package.json index 683fb2a2bd9..1bb98d27eef 100644 --- a/packages/lexical-hashtag/package.json +++ b/packages/lexical-hashtag/package.json @@ -8,13 +8,13 @@ "hashtag" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalHashtag.js", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" }, "dependencies": { - "@lexical/utils": "0.7.4" + "@lexical/utils": "0.7.5" }, "repository": { "type": "git", diff --git a/packages/lexical-headless/package.json b/packages/lexical-headless/package.json index 8f732a9341b..850dc984f27 100644 --- a/packages/lexical-headless/package.json +++ b/packages/lexical-headless/package.json @@ -8,10 +8,10 @@ "headless" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalHeadless.js", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" }, "repository": { "type": "git", diff --git a/packages/lexical-history/package.json b/packages/lexical-history/package.json index 48674acafb9..eb1ea307ee7 100644 --- a/packages/lexical-history/package.json +++ b/packages/lexical-history/package.json @@ -8,13 +8,13 @@ "history" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalHistory.js", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" }, "dependencies": { - "@lexical/utils": "0.7.4" + "@lexical/utils": "0.7.5" }, "repository": { "type": "git", diff --git a/packages/lexical-html/package.json b/packages/lexical-html/package.json index bee89c946ec..ec372a6ffd9 100644 --- a/packages/lexical-html/package.json +++ b/packages/lexical-html/package.json @@ -8,10 +8,10 @@ "html" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalHtml.js", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" }, "repository": { "type": "git", @@ -19,6 +19,6 @@ "directory": "packages/lexical-html" }, "dependencies": { - "@lexical/selection": "0.7.4" + "@lexical/selection": "0.7.5" } } diff --git a/packages/lexical-link/package.json b/packages/lexical-link/package.json index 5c2206d8249..d808564692f 100644 --- a/packages/lexical-link/package.json +++ b/packages/lexical-link/package.json @@ -8,13 +8,13 @@ "link" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalLink.js", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" }, "dependencies": { - "@lexical/utils": "0.7.4" + "@lexical/utils": "0.7.5" }, "repository": { "type": "git", diff --git a/packages/lexical-list/package.json b/packages/lexical-list/package.json index d0b843c1c08..6938bb9bac9 100644 --- a/packages/lexical-list/package.json +++ b/packages/lexical-list/package.json @@ -8,13 +8,13 @@ "list" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalList.js", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" }, "dependencies": { - "@lexical/utils": "0.7.4" + "@lexical/utils": "0.7.5" }, "repository": { "type": "git", diff --git a/packages/lexical-mark/package.json b/packages/lexical-mark/package.json index 57168091976..9f11fbc0dfc 100644 --- a/packages/lexical-mark/package.json +++ b/packages/lexical-mark/package.json @@ -8,13 +8,13 @@ "mark" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalMark.js", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" }, "dependencies": { - "@lexical/utils": "0.7.4" + "@lexical/utils": "0.7.5" }, "repository": { "type": "git", diff --git a/packages/lexical-markdown/package.json b/packages/lexical-markdown/package.json index 5713c20b3cf..969969ef25d 100644 --- a/packages/lexical-markdown/package.json +++ b/packages/lexical-markdown/package.json @@ -8,18 +8,18 @@ "markdown" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalMarkdown.js", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" }, "dependencies": { - "@lexical/utils": "0.7.4", - "@lexical/code": "0.7.4", - "@lexical/text": "0.7.4", - "@lexical/rich-text": "0.7.4", - "@lexical/list": "0.7.4", - "@lexical/link": "0.7.4" + "@lexical/utils": "0.7.5", + "@lexical/code": "0.7.5", + "@lexical/text": "0.7.5", + "@lexical/rich-text": "0.7.5", + "@lexical/list": "0.7.5", + "@lexical/link": "0.7.5" }, "repository": { "type": "git", diff --git a/packages/lexical-offset/package.json b/packages/lexical-offset/package.json index 64d51c74cba..8dde56f7858 100644 --- a/packages/lexical-offset/package.json +++ b/packages/lexical-offset/package.json @@ -8,10 +8,10 @@ "offset" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalOffset.js", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" }, "repository": { "type": "git", diff --git a/packages/lexical-overflow/package.json b/packages/lexical-overflow/package.json index a53ee21d99a..ded5c56b3bd 100644 --- a/packages/lexical-overflow/package.json +++ b/packages/lexical-overflow/package.json @@ -8,10 +8,10 @@ "overflow" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalOverflow.js", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" }, "repository": { "type": "git", diff --git a/packages/lexical-plain-text/package.json b/packages/lexical-plain-text/package.json index 4e851f83f6f..ead2291cf1e 100644 --- a/packages/lexical-plain-text/package.json +++ b/packages/lexical-plain-text/package.json @@ -7,13 +7,13 @@ "plain-text" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalPlainText.js", "peerDependencies": { - "lexical": "0.7.4", - "@lexical/utils": "0.7.4", - "@lexical/selection": "0.7.4", - "@lexical/clipboard": "0.7.4" + "lexical": "0.7.5", + "@lexical/utils": "0.7.5", + "@lexical/selection": "0.7.5", + "@lexical/clipboard": "0.7.5" }, "repository": { "type": "git", diff --git a/packages/lexical-playground/package.json b/packages/lexical-playground/package.json index 29e0224f5d6..0302082af6f 100644 --- a/packages/lexical-playground/package.json +++ b/packages/lexical-playground/package.json @@ -1,6 +1,6 @@ { "name": "lexical-playground", - "version": "0.7.4", + "version": "0.7.5", "private": true, "scripts": { "dev": "vite --host", @@ -11,22 +11,22 @@ }, "dependencies": { "@excalidraw/excalidraw": "0.11.0", - "@lexical/clipboard": "0.7.4", - "@lexical/code": "0.7.4", - "@lexical/file": "0.7.4", - "@lexical/hashtag": "0.7.4", - "@lexical/link": "0.7.4", - "@lexical/list": "0.7.4", - "@lexical/mark": "0.7.4", - "@lexical/overflow": "0.7.4", - "@lexical/plain-text": "0.7.4", - "@lexical/react": "0.7.4", - "@lexical/rich-text": "0.7.4", - "@lexical/selection": "0.7.4", - "@lexical/table": "0.7.4", - "@lexical/utils": "0.7.4", + "@lexical/clipboard": "0.7.5", + "@lexical/code": "0.7.5", + "@lexical/file": "0.7.5", + "@lexical/hashtag": "0.7.5", + "@lexical/link": "0.7.5", + "@lexical/list": "0.7.5", + "@lexical/mark": "0.7.5", + "@lexical/overflow": "0.7.5", + "@lexical/plain-text": "0.7.5", + "@lexical/react": "0.7.5", + "@lexical/rich-text": "0.7.5", + "@lexical/selection": "0.7.5", + "@lexical/table": "0.7.5", + "@lexical/utils": "0.7.5", "katex": "^0.15.2", - "lexical": "0.7.4", + "lexical": "0.7.5", "lodash-es": "^4.17.21", "prettier": "^2.3.2", "react": "^18.2.0", diff --git a/packages/lexical-react/package.json b/packages/lexical-react/package.json index 8a4fc7fa746..fd9c6946719 100644 --- a/packages/lexical-react/package.json +++ b/packages/lexical-react/package.json @@ -8,29 +8,29 @@ "rich-text" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "dependencies": { - "@lexical/clipboard": "0.7.4", - "@lexical/code": "0.7.4", - "@lexical/dragon": "0.7.4", - "@lexical/hashtag": "0.7.4", - "@lexical/history": "0.7.4", - "@lexical/link": "0.7.4", - "@lexical/list": "0.7.4", - "@lexical/mark": "0.7.4", - "@lexical/markdown": "0.7.4", - "@lexical/overflow": "0.7.4", - "@lexical/plain-text": "0.7.4", - "@lexical/rich-text": "0.7.4", - "@lexical/selection": "0.7.4", - "@lexical/table": "0.7.4", - "@lexical/text": "0.7.4", - "@lexical/utils": "0.7.4", - "@lexical/yjs": "0.7.4", + "@lexical/clipboard": "0.7.5", + "@lexical/code": "0.7.5", + "@lexical/dragon": "0.7.5", + "@lexical/hashtag": "0.7.5", + "@lexical/history": "0.7.5", + "@lexical/link": "0.7.5", + "@lexical/list": "0.7.5", + "@lexical/mark": "0.7.5", + "@lexical/markdown": "0.7.5", + "@lexical/overflow": "0.7.5", + "@lexical/plain-text": "0.7.5", + "@lexical/rich-text": "0.7.5", + "@lexical/selection": "0.7.5", + "@lexical/table": "0.7.5", + "@lexical/text": "0.7.5", + "@lexical/utils": "0.7.5", + "@lexical/yjs": "0.7.5", "react-error-boundary": "^3.1.4" }, "peerDependencies": { - "lexical": "0.7.4", + "lexical": "0.7.5", "react": ">=17.x", "react-dom": ">=17.x" }, diff --git a/packages/lexical-rich-text/package.json b/packages/lexical-rich-text/package.json index ef590d68227..929be2447e6 100644 --- a/packages/lexical-rich-text/package.json +++ b/packages/lexical-rich-text/package.json @@ -7,13 +7,13 @@ "rich-text" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalRichText.js", "peerDependencies": { - "lexical": "0.7.4", - "@lexical/selection": "0.7.4", - "@lexical/clipboard": "0.7.4", - "@lexical/utils": "0.7.4" + "lexical": "0.7.5", + "@lexical/selection": "0.7.5", + "@lexical/clipboard": "0.7.5", + "@lexical/utils": "0.7.5" }, "repository": { "type": "git", diff --git a/packages/lexical-selection/package.json b/packages/lexical-selection/package.json index 1a2842782f8..ea5b4b4b814 100644 --- a/packages/lexical-selection/package.json +++ b/packages/lexical-selection/package.json @@ -9,10 +9,10 @@ "selection" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalSelection.js", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" }, "repository": { "type": "git", diff --git a/packages/lexical-table/package.json b/packages/lexical-table/package.json index 541ffb7487c..7df0fd61a52 100644 --- a/packages/lexical-table/package.json +++ b/packages/lexical-table/package.json @@ -8,13 +8,13 @@ "table" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalTable.js", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" }, "dependencies": { - "@lexical/utils": "0.7.4" + "@lexical/utils": "0.7.5" }, "repository": { "type": "git", diff --git a/packages/lexical-text/package.json b/packages/lexical-text/package.json index 72137635d7e..94ef11582b9 100644 --- a/packages/lexical-text/package.json +++ b/packages/lexical-text/package.json @@ -9,10 +9,10 @@ "text" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalText.js", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" }, "repository": { "type": "git", diff --git a/packages/lexical-utils/package.json b/packages/lexical-utils/package.json index f5c9151660f..c272cb18866 100644 --- a/packages/lexical-utils/package.json +++ b/packages/lexical-utils/package.json @@ -8,14 +8,14 @@ "utils" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalUtils.js", "peerDependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" }, "dependencies": { - "@lexical/list": "0.7.4", - "@lexical/table": "0.7.4" + "@lexical/list": "0.7.5", + "@lexical/table": "0.7.5" }, "repository": { "type": "git", diff --git a/packages/lexical-yjs/package.json b/packages/lexical-yjs/package.json index 98ffdf5cde0..f420ea44cc2 100644 --- a/packages/lexical-yjs/package.json +++ b/packages/lexical-yjs/package.json @@ -11,13 +11,13 @@ "crdt" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "LexicalYjs.js", "dependencies": { - "@lexical/offset": "0.7.4" + "@lexical/offset": "0.7.5" }, "peerDependencies": { - "lexical": "0.7.4", + "lexical": "0.7.5", "yjs": ">=13.5.22" }, "repository": { diff --git a/packages/lexical/package.json b/packages/lexical/package.json index cccfc73a93a..0346dc6b6a1 100644 --- a/packages/lexical/package.json +++ b/packages/lexical/package.json @@ -9,7 +9,7 @@ "rich-text" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "main": "Lexical.js", "repository": { "type": "git", diff --git a/packages/shared/package.json b/packages/shared/package.json index 5b7f8d67c5d..1b17032cb72 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -8,9 +8,9 @@ "rich-text" ], "license": "MIT", - "version": "0.7.4", + "version": "0.7.5", "dependencies": { - "lexical": "0.7.4" + "lexical": "0.7.5" }, "repository": { "type": "git", diff --git a/scripts/error-codes/codes.json b/scripts/error-codes/codes.json index 141ea4bc9c0..d88fc3f89af 100644 --- a/scripts/error-codes/codes.json +++ b/scripts/error-codes/codes.json @@ -97,5 +97,9 @@ "95": "splice: expected offset to be greater than zero", "96": "Expected node %s to have a last child.", "97": "$initializeNode failed. Ensure node has been registered to the editor. You can do this by passing the node class via the \"nodes\" array in the editor config.", - "98": "$initializeNode failed. Ensure replacement node is a subclass of the original node." + "98": "$initializeNode failed. Ensure replacement node is a subclass of the original node.", + "99": "Only element or decorator nodes can be inserted in to the root node", + "100": "splice: sibling not found", + "101": "createChildrenArray: node does not exist in nodeMap", + "102": "Can not call $splitNode() on root element" }