diff --git a/CHANGELOG.md b/CHANGELOG.md index 3eee8677fe9..beb3e5b5709 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,48 @@ +## v0.22.0 (2024-12-23) + +- lexical Fix flow error change this to any (#6992) Sherry +- Refactor exportJSON (#6983) Germn Jabloski +- feature expose forEachSelectedTextNode (#6981) Germn Jabloski +- lexicallexical-table Bug fix TablePlugin - check is current selection in target table node (#6979) Alex +- Documentationlexical-website Documentation for useLexical node selection hook (#6976) Ajaezo Kingsley +- lexical-table Feature Support google docs colgroup import (via deprecated col width attribute) (#6971) Bob Ippolito +- lexical-markdown Bug Fix preserve the order of markdown tags for markdown combinations, and close the tags when the outmost tag is closed (#5758) yhw5 +- lexical-utils Bug Fix Refactor markSelection for getDOMSlot and not using updateDOM (#6961) Bob Ippolito +- lexicallexical-table Bug Fix Allow TableSelection to be preserved during contextmenu events (#6964) Bob Ippolito +- lexical-website Add Discord to the community section of the footer (#6967) Bob Ippolito +- lexicallexical-rich-textlexical-playground Feature Support capitalization format (#6897) Bedru Umer +- lexical-playground Bug Fix Allow scrolling if the table cell content overflows (#6966) Parasaran +- lexical-tablelexical-playground Fix Insertion of multiple rows (#6963) Vinay Kushwaha +- Breaking Changelexical Feature New update tag skip-dom-selection, onUpdate now always called (#6894) Bob Ippolito +- Test234 (#6958) Tranquiliz00 +- Revert Test comment for pr testing (#6953) (#6957) bailey-meta +- Revert lexical-onboarding testing sev mitigation (#6952) (#6956) Niels Y. +- Create a test PR (#6955) Tranquiliz00 +- Test comment for pr testing (#6953) bailey-meta +- lexical-onboarding testing sev mitigation (#6952) Niels Y. +- lexical-list Revert PR 6912 (#6944) Sherry +- scripts-integration-fixtures Address GitHub detected a vulnerability in the sveltejskit dependency (#6943) Luis Silva +- lexical-table Fix Delete table row in merge cells (#6922) Vinay Kushwaha +- lexical-list Bug Fix Ensure new paragraph node retains selection styling when exiting list (#6917) Aleksandr Lapukin +- lexical-reactBug Fix the location of draggable-block-menu cannot be calculated #6818 (#6915) lin-mt +- lexical-playground Refactor editor styles should in PlaygroundEditorTheme.css (#6934) Syed Umar Anis +- lexical-playground Fix tabs do not show strikethroughunderline (#6811) Oluwasanya Olaoluwa +- Breaking Changelexical-list Fix Preserve original format after indenting list item (#6912) C. +- Bug Fix add mergegroup to the tests workflow (#6932) Bob Ippolito +- Update core-tests workflow triggers (#6928) Gerard Rovira +- Doc nits (#6927) Gerard Rovira +- lexical-playground Chore Update Prettier to v3 (#6920) daichan132 +- lexical-playground Fix empty layout item causes 100 CPU usage (#6906) Basile Savouret +- lexicallexicalselection Feature Unify selectAll Implementations (#6902) Hadi Elghoul +- lexical-tablelexical-utilslexical-react Bug Fix Enforce table integrity with transforms and move non-React plugin code to lexicaltable (#6914) Bob Ippolito +- lexical-website Fix docsreact next button links to itself (#6911) Oluwasanya Olaoluwa +- Warn about display flex container for the editor (#6901) Maksim Horbachevsky +- lexical-websitelexical-react Documentation Update documentation for LexicalTreeView plugin (#6898) Ajaezo Kingsley +- lexical-link Bug Fix Preserve the startend of the selection for non-text points when creating a LinkNode (#6883) Bob Ippolito +- v0.21.0 (#6896) Sherry +- Documentation Update Add release protocol to maintainers-guide.md (#6895) Sherry +- v0.21.0 Lexical GitHub Actions Bot + ## v0.21.0 (2024-12-01) - Fix selected table colors (#6892) Gerard Rovira diff --git a/examples/react-plain-text/package.json b/examples/react-plain-text/package.json index a1c8041a371..3302d7928ad 100644 --- a/examples/react-plain-text/package.json +++ b/examples/react-plain-text/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/react-plain-text-example", "private": true, - "version": "0.21.0", + "version": "0.22.0", "type": "module", "scripts": { "dev": "vite", @@ -9,8 +9,8 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/react": "0.21.0", - "lexical": "0.21.0", + "@lexical/react": "0.22.0", + "lexical": "0.22.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/react-rich-collab/package.json b/examples/react-rich-collab/package.json index d8726826edf..95810c9bc1a 100644 --- a/examples/react-rich-collab/package.json +++ b/examples/react-rich-collab/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/react-rich-collab-example", "private": true, - "version": "0.21.0", + "version": "0.22.0", "type": "module", "scripts": { "dev": "vite", @@ -12,9 +12,9 @@ "server:webrtc": "cross-env HOST=localhost PORT=1235 npx y-webrtc" }, "dependencies": { - "@lexical/react": "0.21.0", - "@lexical/yjs": "0.21.0", - "lexical": "0.21.0", + "@lexical/react": "0.22.0", + "@lexical/yjs": "0.22.0", + "lexical": "0.22.0", "react": "^18.2.0", "react-dom": "^18.2.0", "y-webrtc": "^10.3.0", diff --git a/examples/react-rich/package.json b/examples/react-rich/package.json index 0529b88d472..5ab5f01fe9a 100644 --- a/examples/react-rich/package.json +++ b/examples/react-rich/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/react-rich-example", "private": true, - "version": "0.21.0", + "version": "0.22.0", "type": "module", "scripts": { "dev": "vite", @@ -9,8 +9,8 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/react": "0.21.0", - "lexical": "0.21.0", + "@lexical/react": "0.22.0", + "lexical": "0.22.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/react-table/package.json b/examples/react-table/package.json index 94aa0b6a434..17a7349822a 100644 --- a/examples/react-table/package.json +++ b/examples/react-table/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/react-table-example", "private": true, - "version": "0.21.0", + "version": "0.22.0", "type": "module", "scripts": { "dev": "vite", @@ -9,8 +9,8 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/react": "0.21.0", - "lexical": "0.21.0", + "@lexical/react": "0.22.0", + "lexical": "0.22.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/examples/vanilla-js-plugin/package.json b/examples/vanilla-js-plugin/package.json index 0cd7c243361..04430d2efea 100644 --- a/examples/vanilla-js-plugin/package.json +++ b/examples/vanilla-js-plugin/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/vanilla-js-plugin-example", "private": true, - "version": "0.21.0", + "version": "0.22.0", "type": "module", "scripts": { "dev": "vite", @@ -9,12 +9,12 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/dragon": "0.21.0", - "@lexical/history": "0.21.0", - "@lexical/rich-text": "0.21.0", - "@lexical/utils": "0.21.0", + "@lexical/dragon": "0.22.0", + "@lexical/history": "0.22.0", + "@lexical/rich-text": "0.22.0", + "@lexical/utils": "0.22.0", "emoji-datasource-facebook": "15.1.2", - "lexical": "0.21.0" + "lexical": "0.22.0" }, "devDependencies": { "typescript": "^5.2.2", diff --git a/examples/vanilla-js/package.json b/examples/vanilla-js/package.json index 37bc8356971..a0abd2cb0d5 100644 --- a/examples/vanilla-js/package.json +++ b/examples/vanilla-js/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/vanilla-js-example", "private": true, - "version": "0.21.0", + "version": "0.22.0", "type": "module", "scripts": { "dev": "vite", @@ -9,11 +9,11 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/dragon": "0.21.0", - "@lexical/history": "0.21.0", - "@lexical/rich-text": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/dragon": "0.22.0", + "@lexical/history": "0.22.0", + "@lexical/rich-text": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" }, "devDependencies": { "typescript": "^5.2.2", diff --git a/package-lock.json b/package-lock.json index 4488fab50c5..c8fbd986232 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lexical/monorepo", - "version": "0.21.0", + "version": "0.22.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lexical/monorepo", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "workspaces": [ "packages/*" @@ -38927,28 +38927,28 @@ } }, "packages/lexical": { - "version": "0.21.0", + "version": "0.22.0", "license": "MIT" }, "packages/lexical-clipboard": { "name": "@lexical/clipboard", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "@lexical/html": "0.21.0", - "@lexical/list": "0.21.0", - "@lexical/selection": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/html": "0.22.0", + "@lexical/list": "0.22.0", + "@lexical/selection": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "packages/lexical-code": { "name": "@lexical/code", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "@lexical/utils": "0.21.0", - "lexical": "0.21.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0", "prismjs": "^1.27.0" }, "devDependencies": { @@ -38957,7 +38957,7 @@ }, "packages/lexical-devtools": { "name": "@lexical/devtools", - "version": "0.21.0", + "version": "0.22.0", "hasInstallScript": true, "dependencies": { "@chakra-ui/react": "^2.8.2", @@ -38974,12 +38974,12 @@ "devDependencies": { "@babel/plugin-transform-flow-strip-types": "^7.24.7", "@babel/preset-react": "^7.24.7", - "@lexical/devtools-core": "0.21.0", + "@lexical/devtools-core": "0.22.0", "@rollup/plugin-babel": "^6.0.4", "@types/react": "^18.2.46", "@types/react-dom": "^18.2.18", "@vitejs/plugin-react": "^4.2.1", - "lexical": "0.21.0", + "lexical": "0.22.0", "typescript": "^5.4.5", "vite": "^5.2.2", "wxt": "^0.17.0" @@ -38987,15 +38987,15 @@ }, "packages/lexical-devtools-core": { "name": "@lexical/devtools-core", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "@lexical/html": "0.21.0", - "@lexical/link": "0.21.0", - "@lexical/mark": "0.21.0", - "@lexical/table": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/html": "0.22.0", + "@lexical/link": "0.22.0", + "@lexical/mark": "0.22.0", + "@lexical/table": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" }, "peerDependencies": { "react": ">=17.x", @@ -39004,15 +39004,15 @@ }, "packages/lexical-dragon": { "name": "@lexical/dragon", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "lexical": "0.21.0" + "lexical": "0.22.0" } }, "packages/lexical-eslint-plugin": { "name": "@lexical/eslint-plugin", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "devDependencies": { "@types/eslint": "^8.56.9" @@ -39023,136 +39023,136 @@ }, "packages/lexical-file": { "name": "@lexical/file", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "lexical": "0.21.0" + "lexical": "0.22.0" } }, "packages/lexical-hashtag": { "name": "@lexical/hashtag", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "packages/lexical-headless": { "name": "@lexical/headless", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "lexical": "0.21.0" + "lexical": "0.22.0" } }, "packages/lexical-history": { "name": "@lexical/history", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "packages/lexical-html": { "name": "@lexical/html", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "@lexical/selection": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/selection": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "packages/lexical-link": { "name": "@lexical/link", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "packages/lexical-list": { "name": "@lexical/list", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "packages/lexical-mark": { "name": "@lexical/mark", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "packages/lexical-markdown": { "name": "@lexical/markdown", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "@lexical/code": "0.21.0", - "@lexical/link": "0.21.0", - "@lexical/list": "0.21.0", - "@lexical/rich-text": "0.21.0", - "@lexical/text": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/code": "0.22.0", + "@lexical/link": "0.22.0", + "@lexical/list": "0.22.0", + "@lexical/rich-text": "0.22.0", + "@lexical/text": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "packages/lexical-offset": { "name": "@lexical/offset", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "lexical": "0.21.0" + "lexical": "0.22.0" } }, "packages/lexical-overflow": { "name": "@lexical/overflow", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "lexical": "0.21.0" + "lexical": "0.22.0" } }, "packages/lexical-plain-text": { "name": "@lexical/plain-text", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "@lexical/clipboard": "0.21.0", - "@lexical/selection": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/clipboard": "0.22.0", + "@lexical/selection": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "packages/lexical-playground": { - "version": "0.21.0", + "version": "0.22.0", "dependencies": { "@excalidraw/excalidraw": "^0.17.0", - "@lexical/clipboard": "0.21.0", - "@lexical/code": "0.21.0", - "@lexical/file": "0.21.0", - "@lexical/hashtag": "0.21.0", - "@lexical/link": "0.21.0", - "@lexical/list": "0.21.0", - "@lexical/mark": "0.21.0", - "@lexical/overflow": "0.21.0", - "@lexical/plain-text": "0.21.0", - "@lexical/react": "0.21.0", - "@lexical/rich-text": "0.21.0", - "@lexical/selection": "0.21.0", - "@lexical/table": "0.21.0", - "@lexical/utils": "0.21.0", + "@lexical/clipboard": "0.22.0", + "@lexical/code": "0.22.0", + "@lexical/file": "0.22.0", + "@lexical/hashtag": "0.22.0", + "@lexical/link": "0.22.0", + "@lexical/list": "0.22.0", + "@lexical/mark": "0.22.0", + "@lexical/overflow": "0.22.0", + "@lexical/plain-text": "0.22.0", + "@lexical/react": "0.22.0", + "@lexical/rich-text": "0.22.0", + "@lexical/selection": "0.22.0", + "@lexical/table": "0.22.0", + "@lexical/utils": "0.22.0", "katex": "^0.16.10", - "lexical": "0.21.0", + "lexical": "0.22.0", "lodash-es": "^4.17.21", "prettier": "^3.4.2", "react": "^18.2.0", @@ -39191,28 +39191,28 @@ }, "packages/lexical-react": { "name": "@lexical/react", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "@lexical/clipboard": "0.21.0", - "@lexical/code": "0.21.0", - "@lexical/devtools-core": "0.21.0", - "@lexical/dragon": "0.21.0", - "@lexical/hashtag": "0.21.0", - "@lexical/history": "0.21.0", - "@lexical/link": "0.21.0", - "@lexical/list": "0.21.0", - "@lexical/mark": "0.21.0", - "@lexical/markdown": "0.21.0", - "@lexical/overflow": "0.21.0", - "@lexical/plain-text": "0.21.0", - "@lexical/rich-text": "0.21.0", - "@lexical/selection": "0.21.0", - "@lexical/table": "0.21.0", - "@lexical/text": "0.21.0", - "@lexical/utils": "0.21.0", - "@lexical/yjs": "0.21.0", - "lexical": "0.21.0", + "@lexical/clipboard": "0.22.0", + "@lexical/code": "0.22.0", + "@lexical/devtools-core": "0.22.0", + "@lexical/dragon": "0.22.0", + "@lexical/hashtag": "0.22.0", + "@lexical/history": "0.22.0", + "@lexical/link": "0.22.0", + "@lexical/list": "0.22.0", + "@lexical/mark": "0.22.0", + "@lexical/markdown": "0.22.0", + "@lexical/overflow": "0.22.0", + "@lexical/plain-text": "0.22.0", + "@lexical/rich-text": "0.22.0", + "@lexical/selection": "0.22.0", + "@lexical/table": "0.22.0", + "@lexical/text": "0.22.0", + "@lexical/utils": "0.22.0", + "@lexical/yjs": "0.22.0", + "lexical": "0.22.0", "react-error-boundary": "^3.1.4" }, "peerDependencies": { @@ -39222,55 +39222,55 @@ }, "packages/lexical-rich-text": { "name": "@lexical/rich-text", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "@lexical/clipboard": "0.21.0", - "@lexical/selection": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/clipboard": "0.22.0", + "@lexical/selection": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "packages/lexical-selection": { "name": "@lexical/selection", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "lexical": "0.21.0" + "lexical": "0.22.0" } }, "packages/lexical-table": { "name": "@lexical/table", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "@lexical/clipboard": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/clipboard": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "packages/lexical-text": { "name": "@lexical/text", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "lexical": "0.21.0" + "lexical": "0.22.0" } }, "packages/lexical-utils": { "name": "@lexical/utils", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "@lexical/list": "0.21.0", - "@lexical/selection": "0.21.0", - "@lexical/table": "0.21.0", - "lexical": "0.21.0" + "@lexical/list": "0.22.0", + "@lexical/selection": "0.22.0", + "@lexical/table": "0.22.0", + "lexical": "0.22.0" } }, "packages/lexical-website": { "name": "@lexical/website", - "version": "0.21.0", + "version": "0.22.0", "dependencies": { "@docusaurus/core": "3.6.0", "@docusaurus/faster": "3.6.0", @@ -39300,12 +39300,12 @@ }, "packages/lexical-yjs": { "name": "@lexical/yjs", - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "@lexical/offset": "0.21.0", - "@lexical/selection": "0.21.0", - "lexical": "0.21.0" + "@lexical/offset": "0.22.0", + "@lexical/selection": "0.22.0", + "lexical": "0.22.0" }, "peerDependencies": { "yjs": ">=13.5.22" @@ -39338,10 +39338,10 @@ } }, "packages/shared": { - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "dependencies": { - "lexical": "0.21.0" + "lexical": "0.22.0" } } }, @@ -43971,19 +43971,19 @@ "@lexical/clipboard": { "version": "file:packages/lexical-clipboard", "requires": { - "@lexical/html": "0.21.0", - "@lexical/list": "0.21.0", - "@lexical/selection": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/html": "0.22.0", + "@lexical/list": "0.22.0", + "@lexical/selection": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "@lexical/code": { "version": "file:packages/lexical-code", "requires": { - "@lexical/utils": "0.21.0", + "@lexical/utils": "0.22.0", "@types/prismjs": "^1.26.0", - "lexical": "0.21.0", + "lexical": "0.22.0", "prismjs": "^1.27.0" } }, @@ -43995,7 +43995,7 @@ "@chakra-ui/react": "^2.8.2", "@emotion/react": "^11.11.4", "@emotion/styled": "^11.11.5", - "@lexical/devtools-core": "0.21.0", + "@lexical/devtools-core": "0.22.0", "@rollup/plugin-babel": "^6.0.4", "@types/react": "^18.2.46", "@types/react-dom": "^18.2.18", @@ -44004,7 +44004,7 @@ "@webext-pegasus/store-zustand": "^0.3.0", "@webext-pegasus/transport": "^0.3.0", "framer-motion": "^11.1.5", - "lexical": "0.21.0", + "lexical": "0.22.0", "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^5.4.5", @@ -44016,18 +44016,18 @@ "@lexical/devtools-core": { "version": "file:packages/lexical-devtools-core", "requires": { - "@lexical/html": "0.21.0", - "@lexical/link": "0.21.0", - "@lexical/mark": "0.21.0", - "@lexical/table": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/html": "0.22.0", + "@lexical/link": "0.22.0", + "@lexical/mark": "0.22.0", + "@lexical/table": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "@lexical/dragon": { "version": "file:packages/lexical-dragon", "requires": { - "lexical": "0.21.0" + "lexical": "0.22.0" } }, "@lexical/eslint-plugin": { @@ -44039,152 +44039,152 @@ "@lexical/file": { "version": "file:packages/lexical-file", "requires": { - "lexical": "0.21.0" + "lexical": "0.22.0" } }, "@lexical/hashtag": { "version": "file:packages/lexical-hashtag", "requires": { - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "@lexical/headless": { "version": "file:packages/lexical-headless", "requires": { - "lexical": "0.21.0" + "lexical": "0.22.0" } }, "@lexical/history": { "version": "file:packages/lexical-history", "requires": { - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "@lexical/html": { "version": "file:packages/lexical-html", "requires": { - "@lexical/selection": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/selection": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "@lexical/link": { "version": "file:packages/lexical-link", "requires": { - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "@lexical/list": { "version": "file:packages/lexical-list", "requires": { - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "@lexical/mark": { "version": "file:packages/lexical-mark", "requires": { - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "@lexical/markdown": { "version": "file:packages/lexical-markdown", "requires": { - "@lexical/code": "0.21.0", - "@lexical/link": "0.21.0", - "@lexical/list": "0.21.0", - "@lexical/rich-text": "0.21.0", - "@lexical/text": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/code": "0.22.0", + "@lexical/link": "0.22.0", + "@lexical/list": "0.22.0", + "@lexical/rich-text": "0.22.0", + "@lexical/text": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "@lexical/offset": { "version": "file:packages/lexical-offset", "requires": { - "lexical": "0.21.0" + "lexical": "0.22.0" } }, "@lexical/overflow": { "version": "file:packages/lexical-overflow", "requires": { - "lexical": "0.21.0" + "lexical": "0.22.0" } }, "@lexical/plain-text": { "version": "file:packages/lexical-plain-text", "requires": { - "@lexical/clipboard": "0.21.0", - "@lexical/selection": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/clipboard": "0.22.0", + "@lexical/selection": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "@lexical/react": { "version": "file:packages/lexical-react", "requires": { - "@lexical/clipboard": "0.21.0", - "@lexical/code": "0.21.0", - "@lexical/devtools-core": "0.21.0", - "@lexical/dragon": "0.21.0", - "@lexical/hashtag": "0.21.0", - "@lexical/history": "0.21.0", - "@lexical/link": "0.21.0", - "@lexical/list": "0.21.0", - "@lexical/mark": "0.21.0", - "@lexical/markdown": "0.21.0", - "@lexical/overflow": "0.21.0", - "@lexical/plain-text": "0.21.0", - "@lexical/rich-text": "0.21.0", - "@lexical/selection": "0.21.0", - "@lexical/table": "0.21.0", - "@lexical/text": "0.21.0", - "@lexical/utils": "0.21.0", - "@lexical/yjs": "0.21.0", - "lexical": "0.21.0", + "@lexical/clipboard": "0.22.0", + "@lexical/code": "0.22.0", + "@lexical/devtools-core": "0.22.0", + "@lexical/dragon": "0.22.0", + "@lexical/hashtag": "0.22.0", + "@lexical/history": "0.22.0", + "@lexical/link": "0.22.0", + "@lexical/list": "0.22.0", + "@lexical/mark": "0.22.0", + "@lexical/markdown": "0.22.0", + "@lexical/overflow": "0.22.0", + "@lexical/plain-text": "0.22.0", + "@lexical/rich-text": "0.22.0", + "@lexical/selection": "0.22.0", + "@lexical/table": "0.22.0", + "@lexical/text": "0.22.0", + "@lexical/utils": "0.22.0", + "@lexical/yjs": "0.22.0", + "lexical": "0.22.0", "react-error-boundary": "^3.1.4" } }, "@lexical/rich-text": { "version": "file:packages/lexical-rich-text", "requires": { - "@lexical/clipboard": "0.21.0", - "@lexical/selection": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/clipboard": "0.22.0", + "@lexical/selection": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "@lexical/selection": { "version": "file:packages/lexical-selection", "requires": { - "lexical": "0.21.0" + "lexical": "0.22.0" } }, "@lexical/table": { "version": "file:packages/lexical-table", "requires": { - "@lexical/clipboard": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/clipboard": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } }, "@lexical/text": { "version": "file:packages/lexical-text", "requires": { - "lexical": "0.21.0" + "lexical": "0.22.0" } }, "@lexical/utils": { "version": "file:packages/lexical-utils", "requires": { - "@lexical/list": "0.21.0", - "@lexical/selection": "0.21.0", - "@lexical/table": "0.21.0", - "lexical": "0.21.0" + "@lexical/list": "0.22.0", + "@lexical/selection": "0.22.0", + "@lexical/table": "0.22.0", + "lexical": "0.22.0" } }, "@lexical/website": { @@ -44217,9 +44217,9 @@ "@lexical/yjs": { "version": "file:packages/lexical-yjs", "requires": { - "@lexical/offset": "0.21.0", - "@lexical/selection": "0.21.0", - "lexical": "0.21.0" + "@lexical/offset": "0.22.0", + "@lexical/selection": "0.22.0", + "lexical": "0.22.0" } }, "@mdx-js/mdx": { @@ -56260,26 +56260,26 @@ "@babel/plugin-transform-flow-strip-types": "^7.24.7", "@babel/preset-react": "^7.24.7", "@excalidraw/excalidraw": "^0.17.0", - "@lexical/clipboard": "0.21.0", - "@lexical/code": "0.21.0", - "@lexical/file": "0.21.0", - "@lexical/hashtag": "0.21.0", - "@lexical/link": "0.21.0", - "@lexical/list": "0.21.0", - "@lexical/mark": "0.21.0", - "@lexical/overflow": "0.21.0", - "@lexical/plain-text": "0.21.0", - "@lexical/react": "0.21.0", - "@lexical/rich-text": "0.21.0", - "@lexical/selection": "0.21.0", - "@lexical/table": "0.21.0", - "@lexical/utils": "0.21.0", + "@lexical/clipboard": "0.22.0", + "@lexical/code": "0.22.0", + "@lexical/file": "0.22.0", + "@lexical/hashtag": "0.22.0", + "@lexical/link": "0.22.0", + "@lexical/list": "0.22.0", + "@lexical/mark": "0.22.0", + "@lexical/overflow": "0.22.0", + "@lexical/plain-text": "0.22.0", + "@lexical/react": "0.22.0", + "@lexical/rich-text": "0.22.0", + "@lexical/selection": "0.22.0", + "@lexical/table": "0.22.0", + "@lexical/utils": "0.22.0", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^25.0.7", "@types/lodash-es": "^4.14.182", "@vitejs/plugin-react": "^4.2.1", "katex": "^0.16.10", - "lexical": "0.21.0", + "lexical": "0.22.0", "lodash-es": "^4.17.21", "prettier": "^3.4.2", "react": "^18.2.0", @@ -62575,7 +62575,7 @@ "shared": { "version": "file:packages/shared", "requires": { - "lexical": "0.21.0" + "lexical": "0.22.0" } }, "shebang-command": { diff --git a/package.json b/package.json index ba3ea744db2..c7ba89f53f2 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.21.0", + "version": "0.22.0", "license": "MIT", "private": true, "workspaces": [ diff --git a/packages/lexical-clipboard/package.json b/packages/lexical-clipboard/package.json index e6346978107..e7f8ae4b822 100644 --- a/packages/lexical-clipboard/package.json +++ b/packages/lexical-clipboard/package.json @@ -9,15 +9,15 @@ "paste" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalClipboard.js", "types": "index.d.ts", "dependencies": { - "@lexical/html": "0.21.0", - "@lexical/list": "0.21.0", - "@lexical/selection": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/html": "0.22.0", + "@lexical/list": "0.22.0", + "@lexical/selection": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" }, "repository": { "type": "git", diff --git a/packages/lexical-code/package.json b/packages/lexical-code/package.json index c6d27e70d3c..c2a7cc21a4d 100644 --- a/packages/lexical-code/package.json +++ b/packages/lexical-code/package.json @@ -8,12 +8,12 @@ "code" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalCode.js", "types": "index.d.ts", "dependencies": { - "@lexical/utils": "0.21.0", - "lexical": "0.21.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0", "prismjs": "^1.27.0" }, "repository": { diff --git a/packages/lexical-devtools-core/package.json b/packages/lexical-devtools-core/package.json index a195002ad88..23bb8f83bdc 100644 --- a/packages/lexical-devtools-core/package.json +++ b/packages/lexical-devtools-core/package.json @@ -8,16 +8,16 @@ "utils" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalDevtoolsCore.js", "types": "index.d.ts", "dependencies": { - "@lexical/html": "0.21.0", - "@lexical/link": "0.21.0", - "@lexical/mark": "0.21.0", - "@lexical/table": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/html": "0.22.0", + "@lexical/link": "0.22.0", + "@lexical/mark": "0.22.0", + "@lexical/table": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" }, "peerDependencies": { "react": ">=17.x", diff --git a/packages/lexical-devtools/package.json b/packages/lexical-devtools/package.json index 61eb55296d6..a116ee37b38 100644 --- a/packages/lexical-devtools/package.json +++ b/packages/lexical-devtools/package.json @@ -2,7 +2,7 @@ "name": "@lexical/devtools", "description": "Lexical DevTools browser extension", "private": true, - "version": "0.21.0", + "version": "0.22.0", "type": "module", "scripts": { "dev": "wxt", @@ -41,12 +41,12 @@ "devDependencies": { "@babel/plugin-transform-flow-strip-types": "^7.24.7", "@babel/preset-react": "^7.24.7", - "@lexical/devtools-core": "0.21.0", + "@lexical/devtools-core": "0.22.0", "@rollup/plugin-babel": "^6.0.4", "@types/react": "^18.2.46", "@types/react-dom": "^18.2.18", "@vitejs/plugin-react": "^4.2.1", - "lexical": "0.21.0", + "lexical": "0.22.0", "typescript": "^5.4.5", "vite": "^5.2.2", "wxt": "^0.17.0" diff --git a/packages/lexical-dragon/package.json b/packages/lexical-dragon/package.json index 439d3678b97..1423bebbc96 100644 --- a/packages/lexical-dragon/package.json +++ b/packages/lexical-dragon/package.json @@ -9,7 +9,7 @@ "accessibility" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalDragon.js", "types": "index.d.ts", "repository": { @@ -37,6 +37,6 @@ } }, "dependencies": { - "lexical": "0.21.0" + "lexical": "0.22.0" } } diff --git a/packages/lexical-eslint-plugin/package.json b/packages/lexical-eslint-plugin/package.json index d3191b8a9c1..94dd27ac352 100644 --- a/packages/lexical-eslint-plugin/package.json +++ b/packages/lexical-eslint-plugin/package.json @@ -8,7 +8,7 @@ "lexical", "editor" ], - "version": "0.21.0", + "version": "0.22.0", "license": "MIT", "repository": { "type": "git", diff --git a/packages/lexical-file/package.json b/packages/lexical-file/package.json index 614ee42ed8f..acf41d3c198 100644 --- a/packages/lexical-file/package.json +++ b/packages/lexical-file/package.json @@ -10,7 +10,7 @@ "export" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalFile.js", "types": "index.d.ts", "repository": { @@ -38,6 +38,6 @@ } }, "dependencies": { - "lexical": "0.21.0" + "lexical": "0.22.0" } } diff --git a/packages/lexical-hashtag/package.json b/packages/lexical-hashtag/package.json index 4b7fbbf523b..8b15196b1f4 100644 --- a/packages/lexical-hashtag/package.json +++ b/packages/lexical-hashtag/package.json @@ -8,12 +8,12 @@ "hashtag" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalHashtag.js", "types": "index.d.ts", "dependencies": { - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" }, "repository": { "type": "git", diff --git a/packages/lexical-headless/package.json b/packages/lexical-headless/package.json index e50aac70eff..fe0b7ec60ec 100644 --- a/packages/lexical-headless/package.json +++ b/packages/lexical-headless/package.json @@ -8,7 +8,7 @@ "headless" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalHeadless.js", "types": "index.d.ts", "repository": { @@ -36,6 +36,6 @@ } }, "dependencies": { - "lexical": "0.21.0" + "lexical": "0.22.0" } } diff --git a/packages/lexical-history/package.json b/packages/lexical-history/package.json index 644a935da80..03ac2b15b88 100644 --- a/packages/lexical-history/package.json +++ b/packages/lexical-history/package.json @@ -8,12 +8,12 @@ "history" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalHistory.js", "types": "index.d.ts", "dependencies": { - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" }, "repository": { "type": "git", diff --git a/packages/lexical-html/package.json b/packages/lexical-html/package.json index 8f02327cbda..812a7648c95 100644 --- a/packages/lexical-html/package.json +++ b/packages/lexical-html/package.json @@ -8,7 +8,7 @@ "html" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalHtml.js", "types": "index.d.ts", "repository": { @@ -17,9 +17,9 @@ "directory": "packages/lexical-html" }, "dependencies": { - "@lexical/selection": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/selection": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" }, "module": "LexicalHtml.mjs", "sideEffects": false, diff --git a/packages/lexical-link/package.json b/packages/lexical-link/package.json index 95b1797099a..aa46f4a0f97 100644 --- a/packages/lexical-link/package.json +++ b/packages/lexical-link/package.json @@ -8,12 +8,12 @@ "link" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalLink.js", "types": "index.d.ts", "dependencies": { - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" }, "repository": { "type": "git", diff --git a/packages/lexical-list/package.json b/packages/lexical-list/package.json index 0d179c2e933..4930eddfa59 100644 --- a/packages/lexical-list/package.json +++ b/packages/lexical-list/package.json @@ -8,12 +8,12 @@ "list" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalList.js", "types": "index.d.ts", "dependencies": { - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" }, "repository": { "type": "git", diff --git a/packages/lexical-mark/package.json b/packages/lexical-mark/package.json index 25c4a02d3d7..536ecba45c3 100644 --- a/packages/lexical-mark/package.json +++ b/packages/lexical-mark/package.json @@ -8,12 +8,12 @@ "mark" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalMark.js", "types": "index.d.ts", "dependencies": { - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" }, "repository": { "type": "git", diff --git a/packages/lexical-markdown/package.json b/packages/lexical-markdown/package.json index 3876ae9137d..f368e4b3c1b 100644 --- a/packages/lexical-markdown/package.json +++ b/packages/lexical-markdown/package.json @@ -8,17 +8,17 @@ "markdown" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalMarkdown.js", "types": "index.d.ts", "dependencies": { - "@lexical/code": "0.21.0", - "@lexical/link": "0.21.0", - "@lexical/list": "0.21.0", - "@lexical/rich-text": "0.21.0", - "@lexical/text": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/code": "0.22.0", + "@lexical/link": "0.22.0", + "@lexical/list": "0.22.0", + "@lexical/rich-text": "0.22.0", + "@lexical/text": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" }, "repository": { "type": "git", diff --git a/packages/lexical-offset/package.json b/packages/lexical-offset/package.json index 9bdee1780be..cc912bf80da 100644 --- a/packages/lexical-offset/package.json +++ b/packages/lexical-offset/package.json @@ -8,7 +8,7 @@ "offset" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalOffset.js", "types": "index.d.ts", "repository": { @@ -36,6 +36,6 @@ } }, "dependencies": { - "lexical": "0.21.0" + "lexical": "0.22.0" } } diff --git a/packages/lexical-overflow/package.json b/packages/lexical-overflow/package.json index e61f16ccb92..c14b97623d3 100644 --- a/packages/lexical-overflow/package.json +++ b/packages/lexical-overflow/package.json @@ -8,7 +8,7 @@ "overflow" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalOverflow.js", "types": "index.d.ts", "repository": { @@ -36,6 +36,6 @@ } }, "dependencies": { - "lexical": "0.21.0" + "lexical": "0.22.0" } } diff --git a/packages/lexical-plain-text/package.json b/packages/lexical-plain-text/package.json index 4d63568b927..58ae6f63416 100644 --- a/packages/lexical-plain-text/package.json +++ b/packages/lexical-plain-text/package.json @@ -7,7 +7,7 @@ "plain-text" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalPlainText.js", "types": "index.d.ts", "repository": { @@ -35,9 +35,9 @@ } }, "dependencies": { - "@lexical/clipboard": "0.21.0", - "@lexical/selection": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/clipboard": "0.22.0", + "@lexical/selection": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } } diff --git a/packages/lexical-playground/package.json b/packages/lexical-playground/package.json index 5a2751577cf..814e286d5d3 100644 --- a/packages/lexical-playground/package.json +++ b/packages/lexical-playground/package.json @@ -1,6 +1,6 @@ { "name": "lexical-playground", - "version": "0.21.0", + "version": "0.22.0", "private": true, "type": "module", "scripts": { @@ -12,22 +12,22 @@ }, "dependencies": { "@excalidraw/excalidraw": "^0.17.0", - "@lexical/clipboard": "0.21.0", - "@lexical/code": "0.21.0", - "@lexical/file": "0.21.0", - "@lexical/hashtag": "0.21.0", - "@lexical/link": "0.21.0", - "@lexical/list": "0.21.0", - "@lexical/mark": "0.21.0", - "@lexical/overflow": "0.21.0", - "@lexical/plain-text": "0.21.0", - "@lexical/react": "0.21.0", - "@lexical/rich-text": "0.21.0", - "@lexical/selection": "0.21.0", - "@lexical/table": "0.21.0", - "@lexical/utils": "0.21.0", + "@lexical/clipboard": "0.22.0", + "@lexical/code": "0.22.0", + "@lexical/file": "0.22.0", + "@lexical/hashtag": "0.22.0", + "@lexical/link": "0.22.0", + "@lexical/list": "0.22.0", + "@lexical/mark": "0.22.0", + "@lexical/overflow": "0.22.0", + "@lexical/plain-text": "0.22.0", + "@lexical/react": "0.22.0", + "@lexical/rich-text": "0.22.0", + "@lexical/selection": "0.22.0", + "@lexical/table": "0.22.0", + "@lexical/utils": "0.22.0", "katex": "^0.16.10", - "lexical": "0.21.0", + "lexical": "0.22.0", "lodash-es": "^4.17.21", "prettier": "^3.4.2", "react": "^18.2.0", diff --git a/packages/lexical-react/package.json b/packages/lexical-react/package.json index 79482eb0db9..e9fa1c49b14 100644 --- a/packages/lexical-react/package.json +++ b/packages/lexical-react/package.json @@ -8,27 +8,27 @@ "rich-text" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "dependencies": { - "@lexical/clipboard": "0.21.0", - "@lexical/code": "0.21.0", - "@lexical/devtools-core": "0.21.0", - "@lexical/dragon": "0.21.0", - "@lexical/hashtag": "0.21.0", - "@lexical/history": "0.21.0", - "@lexical/link": "0.21.0", - "@lexical/list": "0.21.0", - "@lexical/mark": "0.21.0", - "@lexical/markdown": "0.21.0", - "@lexical/overflow": "0.21.0", - "@lexical/plain-text": "0.21.0", - "@lexical/rich-text": "0.21.0", - "@lexical/selection": "0.21.0", - "@lexical/table": "0.21.0", - "@lexical/text": "0.21.0", - "@lexical/utils": "0.21.0", - "@lexical/yjs": "0.21.0", - "lexical": "0.21.0", + "@lexical/clipboard": "0.22.0", + "@lexical/code": "0.22.0", + "@lexical/devtools-core": "0.22.0", + "@lexical/dragon": "0.22.0", + "@lexical/hashtag": "0.22.0", + "@lexical/history": "0.22.0", + "@lexical/link": "0.22.0", + "@lexical/list": "0.22.0", + "@lexical/mark": "0.22.0", + "@lexical/markdown": "0.22.0", + "@lexical/overflow": "0.22.0", + "@lexical/plain-text": "0.22.0", + "@lexical/rich-text": "0.22.0", + "@lexical/selection": "0.22.0", + "@lexical/table": "0.22.0", + "@lexical/text": "0.22.0", + "@lexical/utils": "0.22.0", + "@lexical/yjs": "0.22.0", + "lexical": "0.22.0", "react-error-boundary": "^3.1.4" }, "peerDependencies": { diff --git a/packages/lexical-rich-text/package.json b/packages/lexical-rich-text/package.json index aead90d4159..e9b99a987bd 100644 --- a/packages/lexical-rich-text/package.json +++ b/packages/lexical-rich-text/package.json @@ -7,7 +7,7 @@ "rich-text" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalRichText.js", "types": "index.d.ts", "repository": { @@ -35,9 +35,9 @@ } }, "dependencies": { - "@lexical/clipboard": "0.21.0", - "@lexical/selection": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/clipboard": "0.22.0", + "@lexical/selection": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" } } diff --git a/packages/lexical-selection/package.json b/packages/lexical-selection/package.json index 368cce030b4..0cc30f13510 100644 --- a/packages/lexical-selection/package.json +++ b/packages/lexical-selection/package.json @@ -9,7 +9,7 @@ "selection" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalSelection.js", "types": "index.d.ts", "repository": { @@ -37,6 +37,6 @@ } }, "dependencies": { - "lexical": "0.21.0" + "lexical": "0.22.0" } } diff --git a/packages/lexical-table/package.json b/packages/lexical-table/package.json index c112513f792..1eefdbcfe4c 100644 --- a/packages/lexical-table/package.json +++ b/packages/lexical-table/package.json @@ -8,13 +8,13 @@ "table" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalTable.js", "types": "index.d.ts", "dependencies": { - "@lexical/clipboard": "0.21.0", - "@lexical/utils": "0.21.0", - "lexical": "0.21.0" + "@lexical/clipboard": "0.22.0", + "@lexical/utils": "0.22.0", + "lexical": "0.22.0" }, "repository": { "type": "git", diff --git a/packages/lexical-text/package.json b/packages/lexical-text/package.json index 28f28996d11..70ce7bed003 100644 --- a/packages/lexical-text/package.json +++ b/packages/lexical-text/package.json @@ -9,7 +9,7 @@ "text" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalText.js", "types": "index.d.ts", "repository": { @@ -37,6 +37,6 @@ } }, "dependencies": { - "lexical": "0.21.0" + "lexical": "0.22.0" } } diff --git a/packages/lexical-utils/package.json b/packages/lexical-utils/package.json index 1119cc3c614..bfe22a7aea0 100644 --- a/packages/lexical-utils/package.json +++ b/packages/lexical-utils/package.json @@ -8,14 +8,14 @@ "utils" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalUtils.js", "types": "index.d.ts", "dependencies": { - "@lexical/list": "0.21.0", - "@lexical/selection": "0.21.0", - "@lexical/table": "0.21.0", - "lexical": "0.21.0" + "@lexical/list": "0.22.0", + "@lexical/selection": "0.22.0", + "@lexical/table": "0.22.0", + "lexical": "0.22.0" }, "repository": { "type": "git", diff --git a/packages/lexical-website/package.json b/packages/lexical-website/package.json index 72a81071855..f43c3f47c5b 100644 --- a/packages/lexical-website/package.json +++ b/packages/lexical-website/package.json @@ -1,6 +1,6 @@ { "name": "@lexical/website", - "version": "0.21.0", + "version": "0.22.0", "private": true, "scripts": { "docusaurus": "docusaurus", diff --git a/packages/lexical-yjs/package.json b/packages/lexical-yjs/package.json index c0e59c45cbc..18b5577ed4a 100644 --- a/packages/lexical-yjs/package.json +++ b/packages/lexical-yjs/package.json @@ -11,13 +11,13 @@ "crdt" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "LexicalYjs.js", "types": "index.d.ts", "dependencies": { - "@lexical/offset": "0.21.0", - "@lexical/selection": "0.21.0", - "lexical": "0.21.0" + "@lexical/offset": "0.22.0", + "@lexical/selection": "0.22.0", + "lexical": "0.22.0" }, "peerDependencies": { "yjs": ">=13.5.22" diff --git a/packages/lexical/package.json b/packages/lexical/package.json index 4d1dfb2f096..34b88b1a6cc 100644 --- a/packages/lexical/package.json +++ b/packages/lexical/package.json @@ -9,7 +9,7 @@ "rich-text" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "main": "Lexical.js", "types": "index.d.ts", "repository": { diff --git a/packages/shared/package.json b/packages/shared/package.json index 573101e318f..93d566a3574 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -8,9 +8,9 @@ "rich-text" ], "license": "MIT", - "version": "0.21.0", + "version": "0.22.0", "dependencies": { - "lexical": "0.21.0" + "lexical": "0.22.0" }, "repository": { "type": "git", diff --git a/scripts/__tests__/integration/fixtures/lexical-esm-astro-react/package.json b/scripts/__tests__/integration/fixtures/lexical-esm-astro-react/package.json index 6f2e97d445a..b2d9ad7e83f 100644 --- a/scripts/__tests__/integration/fixtures/lexical-esm-astro-react/package.json +++ b/scripts/__tests__/integration/fixtures/lexical-esm-astro-react/package.json @@ -1,7 +1,7 @@ { "name": "lexical-esm-astro-react", "type": "module", - "version": "0.21.0", + "version": "0.22.0", "scripts": { "dev": "astro dev", "start": "astro dev", @@ -13,12 +13,12 @@ "dependencies": { "@astrojs/check": "^0.9.3", "@astrojs/react": "^3.1.0", - "@lexical/react": "0.21.0", - "@lexical/utils": "0.21.0", + "@lexical/react": "0.22.0", + "@lexical/utils": "0.22.0", "@types/react": "^18.2.66", "@types/react-dom": "^18.2.22", "astro": "^4.5.4", - "lexical": "0.21.0", + "lexical": "0.22.0", "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^5.4.2" diff --git a/scripts/__tests__/integration/fixtures/lexical-esm-nextjs/package.json b/scripts/__tests__/integration/fixtures/lexical-esm-nextjs/package.json index 2a7b23e34da..ac45030f1d1 100644 --- a/scripts/__tests__/integration/fixtures/lexical-esm-nextjs/package.json +++ b/scripts/__tests__/integration/fixtures/lexical-esm-nextjs/package.json @@ -1,6 +1,6 @@ { "name": "lexical-esm-nextjs", - "version": "0.21.0", + "version": "0.22.0", "private": true, "scripts": { "dev": "next dev", @@ -9,9 +9,9 @@ "test": "playwright test" }, "dependencies": { - "@lexical/plain-text": "0.21.0", - "@lexical/react": "0.21.0", - "lexical": "0.21.0", + "@lexical/plain-text": "0.22.0", + "@lexical/react": "0.22.0", + "lexical": "0.22.0", "next": "^14.2.1", "react": "^18", "react-dom": "^18" diff --git a/scripts/__tests__/integration/fixtures/lexical-esm-sveltekit-vanilla-js/package.json b/scripts/__tests__/integration/fixtures/lexical-esm-sveltekit-vanilla-js/package.json index acb21924aa5..3ba43b5b93e 100644 --- a/scripts/__tests__/integration/fixtures/lexical-esm-sveltekit-vanilla-js/package.json +++ b/scripts/__tests__/integration/fixtures/lexical-esm-sveltekit-vanilla-js/package.json @@ -1,6 +1,6 @@ { "name": "lexical-sveltekit-vanilla-js", - "version": "0.21.0", + "version": "0.22.0", "private": true, "scripts": { "dev": "vite dev", @@ -9,17 +9,17 @@ "test": "playwright test" }, "devDependencies": { - "@lexical/dragon": "0.21.0", - "@lexical/history": "0.21.0", - "@lexical/rich-text": "0.21.0", - "@lexical/utils": "0.21.0", + "@lexical/dragon": "0.22.0", + "@lexical/history": "0.22.0", + "@lexical/rich-text": "0.22.0", + "@lexical/utils": "0.22.0", "@playwright/test": "^1.28.1", "@sveltejs/adapter-auto": "^3.0.0", "@sveltejs/adapter-node": "^5.0.1", "@sveltejs/adapter-static": "^3.0.1", "@sveltejs/kit": "^2.10.1", "@sveltejs/vite-plugin-svelte": "^3.0.0", - "lexical": "0.21.0", + "lexical": "0.22.0", "prettier": "^3.1.1", "prettier-plugin-svelte": "^3.1.2", "svelte": "^4.2.19", diff --git a/scripts/error-codes/codes.json b/scripts/error-codes/codes.json index 384e63523bd..7305920af32 100644 --- a/scripts/error-codes/codes.json +++ b/scripts/error-codes/codes.json @@ -250,5 +250,12 @@ "248": "selectAdjacentCell: Row not in table", "249": "getCornerOrThrow: cell %s is not at a corner of rect", "250": "cellAtCornerOrThrow: %s = %s missing in tableMap", - "251": "$handleArrowKey: TableSelection.getNodes()[0] expected to be TableNode" + "251": "$handleArrowKey: TableSelection.getNodes()[0] expected to be TableNode", + "252": "$getPointNode: element point is not an ElementNode", + "253": "Expected TableSelection", + "254": "TablePlugin: Expecting all children of TableNode to be TableRowNode, found %s (type %s)", + "255": "TablePlugin: TableNode is not registered on editor", + "256": "insertAfterEndRow is not a TableRowNode", + "257": "insertBeforeStartRow is not a TableRowNode", + "258": "$childIterator: Cycle detected, node with key %s has already been traversed" }