From 157b77c2d84fb47aa85f98171e4285b284c26abc Mon Sep 17 00:00:00 2001 From: Bob Ippolito Date: Sat, 11 May 2024 00:36:12 -0700 Subject: [PATCH 1/2] [lexical-link][lexical-react] Chore: Fix deprecated usage of toggleLink with $toggleLink (#6081) --- .../src/__tests__/unit/LexicalLinkNode.test.ts | 6 +++--- packages/lexical-react/src/LexicalLinkPlugin.ts | 8 ++++---- packages/lexical-website/docs/react/plugins.md | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/lexical-link/src/__tests__/unit/LexicalLinkNode.test.ts b/packages/lexical-link/src/__tests__/unit/LexicalLinkNode.test.ts index 82f21650a816..3ad6cbad8b89 100644 --- a/packages/lexical-link/src/__tests__/unit/LexicalLinkNode.test.ts +++ b/packages/lexical-link/src/__tests__/unit/LexicalLinkNode.test.ts @@ -9,9 +9,9 @@ import { $createLinkNode, $isLinkNode, + $toggleLink, LinkNode, SerializedLinkNode, - toggleLink, } from '@lexical/link'; import { $getRoot, @@ -391,7 +391,7 @@ describe('LexicalLinkNode tests', () => { }); }); - test('toggleLink applies the title attribute when creating', async () => { + test('$toggleLink applies the title attribute when creating', async () => { const {editor} = testEnv; await editor.update(() => { const p = new ParagraphNode(); @@ -401,7 +401,7 @@ describe('LexicalLinkNode tests', () => { await editor.update(() => { $selectAll(); - toggleLink('https://lexical.dev/', {title: 'Lexical Website'}); + $toggleLink('https://lexical.dev/', {title: 'Lexical Website'}); }); const paragraph = editor!.getEditorState().toJSON().root diff --git a/packages/lexical-react/src/LexicalLinkPlugin.ts b/packages/lexical-react/src/LexicalLinkPlugin.ts index 875ca8e04fc4..e5f5b0afdc17 100644 --- a/packages/lexical-react/src/LexicalLinkPlugin.ts +++ b/packages/lexical-react/src/LexicalLinkPlugin.ts @@ -6,7 +6,7 @@ * */ -import {LinkNode, TOGGLE_LINK_COMMAND, toggleLink} from '@lexical/link'; +import {$toggleLink, LinkNode, TOGGLE_LINK_COMMAND} from '@lexical/link'; import {useLexicalComposerContext} from '@lexical/react/LexicalComposerContext'; import {mergeRegister, objectKlassEquals} from '@lexical/utils'; import { @@ -34,17 +34,17 @@ export function LinkPlugin({validateUrl}: Props): null { TOGGLE_LINK_COMMAND, (payload) => { if (payload === null) { - toggleLink(payload); + $toggleLink(payload); return true; } else if (typeof payload === 'string') { if (validateUrl === undefined || validateUrl(payload)) { - toggleLink(payload); + $toggleLink(payload); return true; } return false; } else { const {url, target, rel, title} = payload; - toggleLink(url, {rel, target, title}); + $toggleLink(url, {rel, target, title}); return true; } }, diff --git a/packages/lexical-website/docs/react/plugins.md b/packages/lexical-website/docs/react/plugins.md index 6bc8c451419a..46090ef15a51 100644 --- a/packages/lexical-website/docs/react/plugins.md +++ b/packages/lexical-website/docs/react/plugins.md @@ -85,7 +85,7 @@ React wrapper for `@lexical/history` that adds support for history stack managem ### `LexicalLinkPlugin` -React wrapper for `@lexical/link` that adds support for links, including `toggleLink` command support that toggles link for selected text +React wrapper for `@lexical/link` that adds support for links, including `$toggleLink` command support that toggles link for selected text ```jsx From 4091c452205e7111a2fad40e2828b43cd46ccdef Mon Sep 17 00:00:00 2001 From: Ivaylo Pavlov Date: Sat, 11 May 2024 14:29:45 +0300 Subject: [PATCH 2/2] v0.15.0 (#6084) --- CHANGELOG.md | 86 ++++ examples/react-rich-collab/package.json | 8 +- examples/react-rich/package.json | 6 +- examples/vanilla-js-plugin/package.json | 12 +- examples/vanilla-js/package.json | 12 +- package-lock.json | 434 ++++++++++---------- package.json | 2 +- packages/lexical-clipboard/package.json | 12 +- packages/lexical-code/package.json | 6 +- packages/lexical-devtools-core/package.json | 14 +- packages/lexical-devtools/package.json | 6 +- packages/lexical-dragon/package.json | 4 +- packages/lexical-eslint-plugin/package.json | 2 +- 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 | 8 +- 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 | 40 +- 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 | 10 +- packages/lexical-website/package.json | 2 +- packages/lexical-yjs/package.json | 6 +- packages/lexical/package.json | 2 +- packages/shared/package.json | 4 +- scripts/error-codes/codes.json | 21 +- 37 files changed, 465 insertions(+), 360 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 46110b0fad60..efa529201160 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,89 @@ +## v0.15.0 (2024-05-11) + +- feat(examplesreact-rich-collab) Added collaboration focused example (#6043) Vlad Fedosov +- build Refactor move error-codes generation to existing babel plugin (#6005) Bob Ippolito +- Chore Fix all new lint warnings, plus manual exports clean-up (#5979) Bob Ippolito +- lexical-yjs Bug fix Fix cursor position after undo in collab mode (#6070) Katsiaryna +- lexical-text Bug Fix for handling multiple matches on hashtags (#6056) wnhlee +- Fix #6051 Deprecate keycode to code (#6054) Sahejkm +- Revert importDOM changes from #5951 (#6060) Shubhanker Srivastava +- LeixcalHashtag Fix prevSibling not getting updated after replacement of match as followup #6053 (#6067) Sahejkm +- lexical-react Fix autolink styles on creation (#6069) Shubhanker Srivastava +- Lexical Update outdated flow file for LexicalMarkdown (#6057) Sahejkm +- Revert #6053 first till proper fix is shipped in #6056 (#6058) Sahejkm +- lexical-tablelexical-playground Bug Fix Table selection stuck (#6049) Alex Reznik +- fix(lexicaltext) for handling hashtag following multiple invalid matches (#6053) wnhlee +- fix(lexicaldevtools) Fixed NPM buildzip command for Chrome and added builddev steps for Safari (#6052) Vlad Fedosov +- Fix #5703 Infinite loop on hashtag transform (#6045) Sahejkm +- tables Fix font size update in table selection (#6046) Shubhanker Srivastava +- feat(lexicalplaintext) Add escape key handler (#5991) Jeffrey Lu +- Add flow declarations in LexicalDevtoolsCore.js.flow (#6037) Sahejkm +- build Bug Fix ensure unique artifact name for e2e tests (#6035) Bob Ippolito +- Dev warning for failed DOM selection (#6033) Gerard Rovira +- CharacterLimit prefer replace over insertBefore (#6032) Gerard Rovira +- feat(lexicaleslint-plugin) new package with eslint rules for lexical (#5908) Bob Ippolito +- CI Refactor clean up github workflows for cache correctness (#6029) Bob Ippolito +- playground Bug Fix change default dev port to 3000 (#6026) Bob Ippolito +- build Chore Upgrade rollup and vite to latest versions (#6018) Bob Ippolito +- lexical-utils ci fix typing to fix integrity test (#6019) Sherry +- lexical-html Feature Support copy pasting block and inline nodes properly (#5857) Sherry +- chore allow tsc to typecheck tests, fix type issues in those tests (#5982) Bob Ippolito +- lexical-website Bug Fix add allow-popups-to-escape-sandbox to iframe sandbox flags (#5988) Bob Ippolito +- lexicalwebsite Documentation Added FAQ page around Lexical collaborative mode (#5993) Vlad Fedosov +- Fix #5976 Passing an empty ParagraphNode to dfs incorrectly returns content from subsequent paragraphs (#5977) matsuyama-k1 +- fix(build) clean up of build-www rewriteImports (follow-up to #5995) (#5999) Bob Ippolito +- Root element count invariant test (#6003) Gerard Rovira +- Fix add root element count (#6002) Gerard Rovira +- Fix table of contents for headings in tables and collapsible sections (#5946) Katsiaryna +- add flow for devtools (#5998) Acy Watson +- add flow annotations (#5997) Acy Watson +- fix(build) fix build-www rewriteImports to always rewrite flow modules (#5995) Bob Ippolito +- TreeView Minor enhancement Add option to obfuscate text in the TreeView plugin (#5990) Sahejkm +- fix(lexicalplayground) We now skip auto-scrolling on table resize (#5986) Katsiaryna +- Fix #5738 wrong selection on mouse click (#5969) Sahejkm +- refactor cleanup unused react imports in tests files (#5983) Sherry +- Documentation add PR template (#5851) Sherry +- fix(lexicaldevtools) Fixed publish pipeline (#5973) Vlad Fedosov +- fix(lexicaldevtools) Fixed permissions for Edge and improved devtools tab layout (#5972) Vlad Fedosov +- fix(lexicalreactLexicalMenu) Fix check for menu cannot fit on top (#5743) Jingkang Zhang +- feat(lexicalwebsite) Packages documentation automatic generation (#5965) Bob Ippolito +- Fixed the issue of playground crashing when the selected node contain (#5960) Tengfei +- fix use runner.arch in cache keys for github workflows (#5971) Bob Ippolito +- Refactor build scripts and npm package process (#5876) Bob Ippolito +- Refactor table resizer rendering logic (#5957) Alex Reznik +- Fix TableCell child nodes on paste (#5951) Shubhanker Srivastava +- Fix insertText with element selection (#5959) Gerard Rovira +- Revert Revert Fix #5720 update the resolvedOffset correctly on imag e selection and drag (#5952) (#5955) Gerard Rovira +- Fix failing insertNodes when selection is null (#5956) Gerard Rovira +- Fix insertText outdated selection after node replacement (#5954) Gerard Rovira +- Revert Fix #5720 update the resolvedOffset correctly on image selection and drag (#5952) John Flockton +- Autocomplete Move styling to theme (#5944) Ajay Prakash PP +- fix(lexicaldevtools) Fix of the edge cases with restricted pages in EdgeFF (#5945) Vlad Fedosov +- playground Collapsible Section Fixes (#5935) Ivaylo Pavlov +- fix(lexicalmarkdown) markdown import code block with prefix (#5780) Samuel Richard Magny +- add flow types for LexicalEditorRefPlugin (#5939) Acy Watson +- chore(lexicalhistory) Remove redundant register call (#5932) wnhlee +- fix(lexicaldevtools) Misc fixes before first public release (#5942) Vlad Fedosov +- feat(lexicaldevtools) Added interactive editor picker (#5926) Vlad Fedosov +- Preserve selection in tables with open typeahead menu (#5820) Serey Roth +- Fix selecting table selects an image after (#5917) Katsiaryna +- Add support for PowerShell Syntax Highlighting (#5909) Hansel +- fix build-release regression introduced in #5920 (#5936) Bob Ippolito +- Maintain text decoration styles on paste (#5938) Shubhanker Srivastava +- Fix bug with block decorator nodes erroring on indent (#5923) John Flockton +- feat(lexicaldevtools) Added styling to devtools panel (#5925) (#5929) Vlad Fedosov +- docs generate packages sidebar from filesystem group lexicalreact (#5931) Bob Ippolito +- fix(lexicalutils) fix #5918 by re-exporting shared constants with explicit types (#5920) Bob Ippolito +- feat(lexicaldevtools) Publish pipeline added (#5924) Vlad Fedosov +- Add setTimeout for mousemove handler (#5919) Alex Reznik +- feat(lexicaldevtools) Added Edge support (#5915) Vlad Fedosov +- fix(lexical) Fix inserting text from Grammarly when full node is selected with forward selection (#5856) Ruslan Piliuta +- Minor refactor on ListMaxIndentLevelPlugin (#5886) wnhlee +- Add prefix to updateToolbar on react-rich example (#5887) wnhlee +- Fix copying html table with unequal number of cells in a row (#5824) Katsiaryna +- v0.14.5 (#5907) Acy Watson +- v0.14.5 Lexical GitHub Actions Bot + ## v0.14.5 (2024-04-16) - update lock file (#5904) Acy Watson diff --git a/examples/react-rich-collab/package.json b/examples/react-rich-collab/package.json index 7637761c667b..57c28b58a0fa 100644 --- a/examples/react-rich-collab/package.json +++ b/examples/react-rich-collab/package.json @@ -1,7 +1,7 @@ { "name": "@lexical/react-rich-example", "private": true, - "version": "0.14.5", + "version": "0.15.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.14.5", - "@lexical/yjs": "^0.14.5", - "lexical": "0.14.5", + "@lexical/react": "0.15.0", + "@lexical/yjs": "0.15.0", + "lexical": "0.15.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 046e5ff0cce6..46854763d1d0 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.14.5", + "version": "0.15.0", "type": "module", "scripts": { "dev": "vite", @@ -9,8 +9,8 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/react": "0.14.5", - "lexical": "0.14.5", + "@lexical/react": "0.15.0", + "lexical": "0.15.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 24ebb0a3968a..7a04e1b11588 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.14.5", + "version": "0.15.0", "type": "module", "scripts": { "dev": "vite", @@ -9,12 +9,12 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/dragon": "0.14.5", - "@lexical/history": "0.14.5", - "@lexical/rich-text": "0.14.5", - "@lexical/utils": "0.14.5", + "@lexical/dragon": "0.15.0", + "@lexical/history": "0.15.0", + "@lexical/rich-text": "0.15.0", + "@lexical/utils": "0.15.0", "emoji-datasource-facebook": "15.1.2", - "lexical": "0.14.5" + "lexical": "0.15.0" }, "devDependencies": { "typescript": "^5.2.2", diff --git a/examples/vanilla-js/package.json b/examples/vanilla-js/package.json index 31a306b609dc..5b8f80800727 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.14.5", + "version": "0.15.0", "type": "module", "scripts": { "dev": "vite", @@ -9,11 +9,11 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/dragon": "0.14.5", - "@lexical/history": "0.14.5", - "@lexical/rich-text": "0.14.5", - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/dragon": "0.15.0", + "@lexical/history": "0.15.0", + "@lexical/rich-text": "0.15.0", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" }, "devDependencies": { "typescript": "^5.2.2", diff --git a/package-lock.json b/package-lock.json index 3b371fcdaba9..9c7c7ed7940b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lexical/monorepo", - "version": "0.14.5", + "version": "0.15.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lexical/monorepo", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "workspaces": [ "packages/*" @@ -32746,28 +32746,28 @@ } }, "packages/lexical": { - "version": "0.14.5", + "version": "0.15.0", "license": "MIT" }, "packages/lexical-clipboard": { "name": "@lexical/clipboard", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "@lexical/html": "0.14.5", - "@lexical/list": "0.14.5", - "@lexical/selection": "0.14.5", - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/html": "0.15.0", + "@lexical/list": "0.15.0", + "@lexical/selection": "0.15.0", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "packages/lexical-code": { "name": "@lexical/code", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0", "prismjs": "^1.27.0" }, "devDependencies": { @@ -32776,7 +32776,7 @@ }, "packages/lexical-devtools": { "name": "@lexical/devtools", - "version": "0.14.5", + "version": "0.15.0", "hasInstallScript": true, "dependencies": { "@chakra-ui/react": "^2.8.2", @@ -32791,12 +32791,12 @@ "zustand": "^4.5.1" }, "devDependencies": { - "@lexical/devtools-core": "0.14.5", + "@lexical/devtools-core": "0.15.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.14.5", + "lexical": "0.15.0", "typescript": "^5.3.3", "vite": "^5.2.2", "wxt": "^0.17.0" @@ -32804,15 +32804,15 @@ }, "packages/lexical-devtools-core": { "name": "@lexical/devtools-core", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "@lexical/html": "0.14.5", - "@lexical/link": "0.14.5", - "@lexical/mark": "0.14.5", - "@lexical/table": "0.14.5", - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/html": "0.15.0", + "@lexical/link": "0.15.0", + "@lexical/mark": "0.15.0", + "@lexical/table": "0.15.0", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" }, "peerDependencies": { "react": ">=17.x", @@ -32834,15 +32834,15 @@ }, "packages/lexical-dragon": { "name": "@lexical/dragon", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "lexical": "0.14.5" + "lexical": "0.15.0" } }, "packages/lexical-eslint-plugin": { "name": "@lexical/eslint-plugin", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "devDependencies": { "@types/eslint": "^8.56.9" @@ -32853,136 +32853,136 @@ }, "packages/lexical-file": { "name": "@lexical/file", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "lexical": "0.14.5" + "lexical": "0.15.0" } }, "packages/lexical-hashtag": { "name": "@lexical/hashtag", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "packages/lexical-headless": { "name": "@lexical/headless", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "lexical": "0.14.5" + "lexical": "0.15.0" } }, "packages/lexical-history": { "name": "@lexical/history", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "packages/lexical-html": { "name": "@lexical/html", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "@lexical/selection": "0.14.5", - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/selection": "0.15.0", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "packages/lexical-link": { "name": "@lexical/link", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "packages/lexical-list": { "name": "@lexical/list", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "packages/lexical-mark": { "name": "@lexical/mark", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "packages/lexical-markdown": { "name": "@lexical/markdown", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "@lexical/code": "0.14.5", - "@lexical/link": "0.14.5", - "@lexical/list": "0.14.5", - "@lexical/rich-text": "0.14.5", - "@lexical/text": "0.14.5", - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/code": "0.15.0", + "@lexical/link": "0.15.0", + "@lexical/list": "0.15.0", + "@lexical/rich-text": "0.15.0", + "@lexical/text": "0.15.0", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "packages/lexical-offset": { "name": "@lexical/offset", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "lexical": "0.14.5" + "lexical": "0.15.0" } }, "packages/lexical-overflow": { "name": "@lexical/overflow", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "lexical": "0.14.5" + "lexical": "0.15.0" } }, "packages/lexical-plain-text": { "name": "@lexical/plain-text", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "@lexical/clipboard": "0.14.5", - "@lexical/selection": "0.14.5", - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/clipboard": "0.15.0", + "@lexical/selection": "0.15.0", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "packages/lexical-playground": { - "version": "0.14.5", + "version": "0.15.0", "dependencies": { "@excalidraw/excalidraw": "^0.17.0", - "@lexical/clipboard": "0.14.5", - "@lexical/code": "0.14.5", - "@lexical/file": "0.14.5", - "@lexical/hashtag": "0.14.5", - "@lexical/link": "0.14.5", - "@lexical/list": "0.14.5", - "@lexical/mark": "0.14.5", - "@lexical/overflow": "0.14.5", - "@lexical/plain-text": "0.14.5", - "@lexical/react": "0.14.5", - "@lexical/rich-text": "0.14.5", - "@lexical/selection": "0.14.5", - "@lexical/table": "0.14.5", - "@lexical/utils": "0.14.5", + "@lexical/clipboard": "0.15.0", + "@lexical/code": "0.15.0", + "@lexical/file": "0.15.0", + "@lexical/hashtag": "0.15.0", + "@lexical/link": "0.15.0", + "@lexical/list": "0.15.0", + "@lexical/mark": "0.15.0", + "@lexical/overflow": "0.15.0", + "@lexical/plain-text": "0.15.0", + "@lexical/react": "0.15.0", + "@lexical/rich-text": "0.15.0", + "@lexical/selection": "0.15.0", + "@lexical/table": "0.15.0", + "@lexical/utils": "0.15.0", "katex": "^0.15.2", - "lexical": "0.14.5", + "lexical": "0.15.0", "lodash-es": "^4.17.21", "prettier": "^2.3.2", "react": "^18.2.0", @@ -33002,28 +33002,28 @@ }, "packages/lexical-react": { "name": "@lexical/react", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "@lexical/clipboard": "0.14.5", - "@lexical/code": "0.14.5", - "@lexical/devtools-core": "0.14.5", - "@lexical/dragon": "0.14.5", - "@lexical/hashtag": "0.14.5", - "@lexical/history": "0.14.5", - "@lexical/link": "0.14.5", - "@lexical/list": "0.14.5", - "@lexical/mark": "0.14.5", - "@lexical/markdown": "0.14.5", - "@lexical/overflow": "0.14.5", - "@lexical/plain-text": "0.14.5", - "@lexical/rich-text": "0.14.5", - "@lexical/selection": "0.14.5", - "@lexical/table": "0.14.5", - "@lexical/text": "0.14.5", - "@lexical/utils": "0.14.5", - "@lexical/yjs": "0.14.5", - "lexical": "0.14.5", + "@lexical/clipboard": "0.15.0", + "@lexical/code": "0.15.0", + "@lexical/devtools-core": "0.15.0", + "@lexical/dragon": "0.15.0", + "@lexical/hashtag": "0.15.0", + "@lexical/history": "0.15.0", + "@lexical/link": "0.15.0", + "@lexical/list": "0.15.0", + "@lexical/mark": "0.15.0", + "@lexical/markdown": "0.15.0", + "@lexical/overflow": "0.15.0", + "@lexical/plain-text": "0.15.0", + "@lexical/rich-text": "0.15.0", + "@lexical/selection": "0.15.0", + "@lexical/table": "0.15.0", + "@lexical/text": "0.15.0", + "@lexical/utils": "0.15.0", + "@lexical/yjs": "0.15.0", + "lexical": "0.15.0", "react-error-boundary": "^3.1.4" }, "peerDependencies": { @@ -33033,54 +33033,54 @@ }, "packages/lexical-rich-text": { "name": "@lexical/rich-text", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "@lexical/clipboard": "0.14.5", - "@lexical/selection": "0.14.5", - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/clipboard": "0.15.0", + "@lexical/selection": "0.15.0", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "packages/lexical-selection": { "name": "@lexical/selection", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "lexical": "0.14.5" + "lexical": "0.15.0" } }, "packages/lexical-table": { "name": "@lexical/table", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "packages/lexical-text": { "name": "@lexical/text", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "lexical": "0.14.5" + "lexical": "0.15.0" } }, "packages/lexical-utils": { "name": "@lexical/utils", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "@lexical/list": "0.14.5", - "@lexical/selection": "0.14.5", - "@lexical/table": "0.14.5", - "lexical": "0.14.5" + "@lexical/list": "0.15.0", + "@lexical/selection": "0.15.0", + "@lexical/table": "0.15.0", + "lexical": "0.15.0" } }, "packages/lexical-website": { "name": "@lexical/website", - "version": "0.14.5", + "version": "0.15.0", "dependencies": { "@docusaurus/core": "^3.3.2", "@docusaurus/preset-classic": "^3.3.2", @@ -33105,11 +33105,11 @@ }, "packages/lexical-yjs": { "name": "@lexical/yjs", - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "@lexical/offset": "0.14.5", - "lexical": "0.14.5" + "@lexical/offset": "0.15.0", + "lexical": "0.15.0" }, "peerDependencies": { "yjs": ">=13.5.22" @@ -33142,10 +33142,10 @@ } }, "packages/shared": { - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "dependencies": { - "lexical": "0.14.5" + "lexical": "0.15.0" } } }, @@ -37546,19 +37546,19 @@ "@lexical/clipboard": { "version": "file:packages/lexical-clipboard", "requires": { - "@lexical/html": "0.14.5", - "@lexical/list": "0.14.5", - "@lexical/selection": "0.14.5", - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/html": "0.15.0", + "@lexical/list": "0.15.0", + "@lexical/selection": "0.15.0", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "@lexical/code": { "version": "file:packages/lexical-code", "requires": { - "@lexical/utils": "0.14.5", + "@lexical/utils": "0.15.0", "@types/prismjs": "^1.26.0", - "lexical": "0.14.5", + "lexical": "0.15.0", "prismjs": "^1.27.0" } }, @@ -37568,7 +37568,7 @@ "@chakra-ui/react": "^2.8.2", "@emotion/react": "^11.11.4", "@emotion/styled": "^11.11.5", - "@lexical/devtools-core": "0.14.5", + "@lexical/devtools-core": "0.15.0", "@rollup/plugin-babel": "^6.0.4", "@types/react": "^18.2.46", "@types/react-dom": "^18.2.18", @@ -37577,7 +37577,7 @@ "@webext-pegasus/store-zustand": "^0.0.4", "@webext-pegasus/transport": "^0.0.4", "framer-motion": "^11.1.5", - "lexical": "0.14.5", + "lexical": "0.15.0", "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^5.3.3", @@ -37597,18 +37597,18 @@ "@lexical/devtools-core": { "version": "file:packages/lexical-devtools-core", "requires": { - "@lexical/html": "0.14.5", - "@lexical/link": "0.14.5", - "@lexical/mark": "0.14.5", - "@lexical/table": "0.14.5", - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/html": "0.15.0", + "@lexical/link": "0.15.0", + "@lexical/mark": "0.15.0", + "@lexical/table": "0.15.0", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "@lexical/dragon": { "version": "file:packages/lexical-dragon", "requires": { - "lexical": "0.14.5" + "lexical": "0.15.0" } }, "@lexical/eslint-plugin": { @@ -37620,151 +37620,151 @@ "@lexical/file": { "version": "file:packages/lexical-file", "requires": { - "lexical": "0.14.5" + "lexical": "0.15.0" } }, "@lexical/hashtag": { "version": "file:packages/lexical-hashtag", "requires": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "@lexical/headless": { "version": "file:packages/lexical-headless", "requires": { - "lexical": "0.14.5" + "lexical": "0.15.0" } }, "@lexical/history": { "version": "file:packages/lexical-history", "requires": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "@lexical/html": { "version": "file:packages/lexical-html", "requires": { - "@lexical/selection": "0.14.5", - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/selection": "0.15.0", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "@lexical/link": { "version": "file:packages/lexical-link", "requires": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "@lexical/list": { "version": "file:packages/lexical-list", "requires": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "@lexical/mark": { "version": "file:packages/lexical-mark", "requires": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "@lexical/markdown": { "version": "file:packages/lexical-markdown", "requires": { - "@lexical/code": "0.14.5", - "@lexical/link": "0.14.5", - "@lexical/list": "0.14.5", - "@lexical/rich-text": "0.14.5", - "@lexical/text": "0.14.5", - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/code": "0.15.0", + "@lexical/link": "0.15.0", + "@lexical/list": "0.15.0", + "@lexical/rich-text": "0.15.0", + "@lexical/text": "0.15.0", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "@lexical/offset": { "version": "file:packages/lexical-offset", "requires": { - "lexical": "0.14.5" + "lexical": "0.15.0" } }, "@lexical/overflow": { "version": "file:packages/lexical-overflow", "requires": { - "lexical": "0.14.5" + "lexical": "0.15.0" } }, "@lexical/plain-text": { "version": "file:packages/lexical-plain-text", "requires": { - "@lexical/clipboard": "0.14.5", - "@lexical/selection": "0.14.5", - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/clipboard": "0.15.0", + "@lexical/selection": "0.15.0", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "@lexical/react": { "version": "file:packages/lexical-react", "requires": { - "@lexical/clipboard": "0.14.5", - "@lexical/code": "0.14.5", - "@lexical/devtools-core": "0.14.5", - "@lexical/dragon": "0.14.5", - "@lexical/hashtag": "0.14.5", - "@lexical/history": "0.14.5", - "@lexical/link": "0.14.5", - "@lexical/list": "0.14.5", - "@lexical/mark": "0.14.5", - "@lexical/markdown": "0.14.5", - "@lexical/overflow": "0.14.5", - "@lexical/plain-text": "0.14.5", - "@lexical/rich-text": "0.14.5", - "@lexical/selection": "0.14.5", - "@lexical/table": "0.14.5", - "@lexical/text": "0.14.5", - "@lexical/utils": "0.14.5", - "@lexical/yjs": "0.14.5", - "lexical": "0.14.5", + "@lexical/clipboard": "0.15.0", + "@lexical/code": "0.15.0", + "@lexical/devtools-core": "0.15.0", + "@lexical/dragon": "0.15.0", + "@lexical/hashtag": "0.15.0", + "@lexical/history": "0.15.0", + "@lexical/link": "0.15.0", + "@lexical/list": "0.15.0", + "@lexical/mark": "0.15.0", + "@lexical/markdown": "0.15.0", + "@lexical/overflow": "0.15.0", + "@lexical/plain-text": "0.15.0", + "@lexical/rich-text": "0.15.0", + "@lexical/selection": "0.15.0", + "@lexical/table": "0.15.0", + "@lexical/text": "0.15.0", + "@lexical/utils": "0.15.0", + "@lexical/yjs": "0.15.0", + "lexical": "0.15.0", "react-error-boundary": "^3.1.4" } }, "@lexical/rich-text": { "version": "file:packages/lexical-rich-text", "requires": { - "@lexical/clipboard": "0.14.5", - "@lexical/selection": "0.14.5", - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/clipboard": "0.15.0", + "@lexical/selection": "0.15.0", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "@lexical/selection": { "version": "file:packages/lexical-selection", "requires": { - "lexical": "0.14.5" + "lexical": "0.15.0" } }, "@lexical/table": { "version": "file:packages/lexical-table", "requires": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } }, "@lexical/text": { "version": "file:packages/lexical-text", "requires": { - "lexical": "0.14.5" + "lexical": "0.15.0" } }, "@lexical/utils": { "version": "file:packages/lexical-utils", "requires": { - "@lexical/list": "0.14.5", - "@lexical/selection": "0.14.5", - "@lexical/table": "0.14.5", - "lexical": "0.14.5" + "@lexical/list": "0.15.0", + "@lexical/selection": "0.15.0", + "@lexical/table": "0.15.0", + "lexical": "0.15.0" } }, "@lexical/website": { @@ -37792,8 +37792,8 @@ "@lexical/yjs": { "version": "file:packages/lexical-yjs", "requires": { - "@lexical/offset": "0.14.5", - "lexical": "0.14.5" + "@lexical/offset": "0.15.0", + "lexical": "0.15.0" } }, "@mdx-js/mdx": { @@ -47590,25 +47590,25 @@ "version": "file:packages/lexical-playground", "requires": { "@excalidraw/excalidraw": "^0.17.0", - "@lexical/clipboard": "0.14.5", - "@lexical/code": "0.14.5", - "@lexical/file": "0.14.5", - "@lexical/hashtag": "0.14.5", - "@lexical/link": "0.14.5", - "@lexical/list": "0.14.5", - "@lexical/mark": "0.14.5", - "@lexical/overflow": "0.14.5", - "@lexical/plain-text": "0.14.5", - "@lexical/react": "0.14.5", - "@lexical/rich-text": "0.14.5", - "@lexical/selection": "0.14.5", - "@lexical/table": "0.14.5", - "@lexical/utils": "0.14.5", + "@lexical/clipboard": "0.15.0", + "@lexical/code": "0.15.0", + "@lexical/file": "0.15.0", + "@lexical/hashtag": "0.15.0", + "@lexical/link": "0.15.0", + "@lexical/list": "0.15.0", + "@lexical/mark": "0.15.0", + "@lexical/overflow": "0.15.0", + "@lexical/plain-text": "0.15.0", + "@lexical/react": "0.15.0", + "@lexical/rich-text": "0.15.0", + "@lexical/selection": "0.15.0", + "@lexical/table": "0.15.0", + "@lexical/utils": "0.15.0", "@rollup/plugin-commonjs": "^25.0.7", "@types/lodash-es": "^4.14.182", "@vitejs/plugin-react": "^4.2.1", "katex": "^0.15.2", - "lexical": "0.14.5", + "lexical": "0.15.0", "lodash-es": "^4.17.21", "prettier": "^2.3.2", "react": "^18.2.0", @@ -53186,7 +53186,7 @@ "shared": { "version": "file:packages/shared", "requires": { - "lexical": "0.14.5" + "lexical": "0.15.0" } }, "shebang-command": { diff --git a/package.json b/package.json index 2816f3f61854..2d7f3c768023 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.14.5", + "version": "0.15.0", "license": "MIT", "private": true, "workspaces": [ diff --git a/packages/lexical-clipboard/package.json b/packages/lexical-clipboard/package.json index 72ea001e9a13..bd50491c069f 100644 --- a/packages/lexical-clipboard/package.json +++ b/packages/lexical-clipboard/package.json @@ -9,15 +9,15 @@ "paste" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalClipboard.js", "types": "index.d.ts", "dependencies": { - "@lexical/html": "0.14.5", - "@lexical/list": "0.14.5", - "@lexical/selection": "0.14.5", - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/html": "0.15.0", + "@lexical/list": "0.15.0", + "@lexical/selection": "0.15.0", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" }, "repository": { "type": "git", diff --git a/packages/lexical-code/package.json b/packages/lexical-code/package.json index 20379b43a335..83c608aca24f 100644 --- a/packages/lexical-code/package.json +++ b/packages/lexical-code/package.json @@ -8,12 +8,12 @@ "code" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalCode.js", "types": "index.d.ts", "dependencies": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0", "prismjs": "^1.27.0" }, "repository": { diff --git a/packages/lexical-devtools-core/package.json b/packages/lexical-devtools-core/package.json index 889cd6587e6c..52ddef61b4ba 100644 --- a/packages/lexical-devtools-core/package.json +++ b/packages/lexical-devtools-core/package.json @@ -8,16 +8,16 @@ "utils" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalDevtoolsCore.js", "types": "index.d.ts", "dependencies": { - "@lexical/html": "0.14.5", - "@lexical/link": "0.14.5", - "@lexical/mark": "0.14.5", - "@lexical/table": "0.14.5", - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/html": "0.15.0", + "@lexical/link": "0.15.0", + "@lexical/mark": "0.15.0", + "@lexical/table": "0.15.0", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" }, "peerDependencies": { "react": ">=17.x", diff --git a/packages/lexical-devtools/package.json b/packages/lexical-devtools/package.json index acd8a3970354..7f40106fb86f 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.14.5", + "version": "0.15.0", "type": "module", "scripts": { "dev": "wxt", @@ -36,12 +36,12 @@ "zustand": "^4.5.1" }, "devDependencies": { - "@lexical/devtools-core": "0.14.5", + "@lexical/devtools-core": "0.15.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.14.5", + "lexical": "0.15.0", "typescript": "^5.3.3", "vite": "^5.2.2", "wxt": "^0.17.0" diff --git a/packages/lexical-dragon/package.json b/packages/lexical-dragon/package.json index a4025fe17bb3..1a59c07e4ac4 100644 --- a/packages/lexical-dragon/package.json +++ b/packages/lexical-dragon/package.json @@ -9,7 +9,7 @@ "accessibility" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalDragon.js", "types": "index.d.ts", "repository": { @@ -37,6 +37,6 @@ } }, "dependencies": { - "lexical": "0.14.5" + "lexical": "0.15.0" } } diff --git a/packages/lexical-eslint-plugin/package.json b/packages/lexical-eslint-plugin/package.json index b30e944b7536..b5e9def52f0b 100644 --- a/packages/lexical-eslint-plugin/package.json +++ b/packages/lexical-eslint-plugin/package.json @@ -8,7 +8,7 @@ "lexical", "editor" ], - "version": "0.14.5", + "version": "0.15.0", "license": "MIT", "repository": { "type": "git", diff --git a/packages/lexical-file/package.json b/packages/lexical-file/package.json index 65f98c29c09e..c342d72b909b 100644 --- a/packages/lexical-file/package.json +++ b/packages/lexical-file/package.json @@ -10,7 +10,7 @@ "export" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalFile.js", "types": "index.d.ts", "repository": { @@ -38,6 +38,6 @@ } }, "dependencies": { - "lexical": "0.14.5" + "lexical": "0.15.0" } } diff --git a/packages/lexical-hashtag/package.json b/packages/lexical-hashtag/package.json index 4292445ceb13..c328379884f1 100644 --- a/packages/lexical-hashtag/package.json +++ b/packages/lexical-hashtag/package.json @@ -8,12 +8,12 @@ "hashtag" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalHashtag.js", "types": "index.d.ts", "dependencies": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" }, "repository": { "type": "git", diff --git a/packages/lexical-headless/package.json b/packages/lexical-headless/package.json index 4c174031b2e0..aaf957de9dcc 100644 --- a/packages/lexical-headless/package.json +++ b/packages/lexical-headless/package.json @@ -8,7 +8,7 @@ "headless" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalHeadless.js", "types": "index.d.ts", "repository": { @@ -36,6 +36,6 @@ } }, "dependencies": { - "lexical": "0.14.5" + "lexical": "0.15.0" } } diff --git a/packages/lexical-history/package.json b/packages/lexical-history/package.json index d642f0f14185..76014bc683f1 100644 --- a/packages/lexical-history/package.json +++ b/packages/lexical-history/package.json @@ -8,12 +8,12 @@ "history" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalHistory.js", "types": "index.d.ts", "dependencies": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" }, "repository": { "type": "git", diff --git a/packages/lexical-html/package.json b/packages/lexical-html/package.json index fa330cc5bd40..b616250b2b1a 100644 --- a/packages/lexical-html/package.json +++ b/packages/lexical-html/package.json @@ -8,7 +8,7 @@ "html" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalHtml.js", "types": "index.d.ts", "repository": { @@ -17,9 +17,9 @@ "directory": "packages/lexical-html" }, "dependencies": { - "@lexical/selection": "0.14.5", - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/selection": "0.15.0", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" }, "module": "LexicalHtml.mjs", "sideEffects": false, diff --git a/packages/lexical-link/package.json b/packages/lexical-link/package.json index c9953490b310..ca369cda605b 100644 --- a/packages/lexical-link/package.json +++ b/packages/lexical-link/package.json @@ -8,12 +8,12 @@ "link" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalLink.js", "types": "index.d.ts", "dependencies": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" }, "repository": { "type": "git", diff --git a/packages/lexical-list/package.json b/packages/lexical-list/package.json index 5db96bf11389..aa543069cebf 100644 --- a/packages/lexical-list/package.json +++ b/packages/lexical-list/package.json @@ -8,12 +8,12 @@ "list" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalList.js", "types": "index.d.ts", "dependencies": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" }, "repository": { "type": "git", diff --git a/packages/lexical-mark/package.json b/packages/lexical-mark/package.json index a75f3cfcf757..f4dc979c72c4 100644 --- a/packages/lexical-mark/package.json +++ b/packages/lexical-mark/package.json @@ -8,12 +8,12 @@ "mark" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalMark.js", "types": "index.d.ts", "dependencies": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" }, "repository": { "type": "git", diff --git a/packages/lexical-markdown/package.json b/packages/lexical-markdown/package.json index 013cedab31b1..6ac75a26a042 100644 --- a/packages/lexical-markdown/package.json +++ b/packages/lexical-markdown/package.json @@ -8,17 +8,17 @@ "markdown" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalMarkdown.js", "types": "index.d.ts", "dependencies": { - "@lexical/code": "0.14.5", - "@lexical/link": "0.14.5", - "@lexical/list": "0.14.5", - "@lexical/rich-text": "0.14.5", - "@lexical/text": "0.14.5", - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/code": "0.15.0", + "@lexical/link": "0.15.0", + "@lexical/list": "0.15.0", + "@lexical/rich-text": "0.15.0", + "@lexical/text": "0.15.0", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" }, "repository": { "type": "git", diff --git a/packages/lexical-offset/package.json b/packages/lexical-offset/package.json index 930741e2d514..c1b7e4080ea1 100644 --- a/packages/lexical-offset/package.json +++ b/packages/lexical-offset/package.json @@ -8,7 +8,7 @@ "offset" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalOffset.js", "types": "index.d.ts", "repository": { @@ -36,6 +36,6 @@ } }, "dependencies": { - "lexical": "0.14.5" + "lexical": "0.15.0" } } diff --git a/packages/lexical-overflow/package.json b/packages/lexical-overflow/package.json index 9474f6a4ad06..9d8d62190620 100644 --- a/packages/lexical-overflow/package.json +++ b/packages/lexical-overflow/package.json @@ -8,7 +8,7 @@ "overflow" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalOverflow.js", "types": "index.d.ts", "repository": { @@ -36,6 +36,6 @@ } }, "dependencies": { - "lexical": "0.14.5" + "lexical": "0.15.0" } } diff --git a/packages/lexical-plain-text/package.json b/packages/lexical-plain-text/package.json index 3927be3d489d..3474e4ada1d0 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.14.5", + "version": "0.15.0", "main": "LexicalPlainText.js", "types": "index.d.ts", "repository": { @@ -35,9 +35,9 @@ } }, "dependencies": { - "@lexical/clipboard": "0.14.5", - "@lexical/selection": "0.14.5", - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/clipboard": "0.15.0", + "@lexical/selection": "0.15.0", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } } diff --git a/packages/lexical-playground/package.json b/packages/lexical-playground/package.json index 6bd008781d11..6f61fc6a1091 100644 --- a/packages/lexical-playground/package.json +++ b/packages/lexical-playground/package.json @@ -1,6 +1,6 @@ { "name": "lexical-playground", - "version": "0.14.5", + "version": "0.15.0", "private": true, "type": "module", "scripts": { @@ -12,22 +12,22 @@ }, "dependencies": { "@excalidraw/excalidraw": "^0.17.0", - "@lexical/clipboard": "0.14.5", - "@lexical/code": "0.14.5", - "@lexical/file": "0.14.5", - "@lexical/hashtag": "0.14.5", - "@lexical/link": "0.14.5", - "@lexical/list": "0.14.5", - "@lexical/mark": "0.14.5", - "@lexical/overflow": "0.14.5", - "@lexical/plain-text": "0.14.5", - "@lexical/react": "0.14.5", - "@lexical/rich-text": "0.14.5", - "@lexical/selection": "0.14.5", - "@lexical/table": "0.14.5", - "@lexical/utils": "0.14.5", + "@lexical/clipboard": "0.15.0", + "@lexical/code": "0.15.0", + "@lexical/file": "0.15.0", + "@lexical/hashtag": "0.15.0", + "@lexical/link": "0.15.0", + "@lexical/list": "0.15.0", + "@lexical/mark": "0.15.0", + "@lexical/overflow": "0.15.0", + "@lexical/plain-text": "0.15.0", + "@lexical/react": "0.15.0", + "@lexical/rich-text": "0.15.0", + "@lexical/selection": "0.15.0", + "@lexical/table": "0.15.0", + "@lexical/utils": "0.15.0", "katex": "^0.15.2", - "lexical": "0.14.5", + "lexical": "0.15.0", "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 3f7a1ee4ff20..4297d9f7a5cf 100644 --- a/packages/lexical-react/package.json +++ b/packages/lexical-react/package.json @@ -8,27 +8,27 @@ "rich-text" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "dependencies": { - "@lexical/clipboard": "0.14.5", - "@lexical/code": "0.14.5", - "@lexical/devtools-core": "0.14.5", - "@lexical/dragon": "0.14.5", - "@lexical/hashtag": "0.14.5", - "@lexical/history": "0.14.5", - "@lexical/link": "0.14.5", - "@lexical/list": "0.14.5", - "@lexical/mark": "0.14.5", - "@lexical/markdown": "0.14.5", - "@lexical/overflow": "0.14.5", - "@lexical/plain-text": "0.14.5", - "@lexical/rich-text": "0.14.5", - "@lexical/selection": "0.14.5", - "@lexical/table": "0.14.5", - "@lexical/text": "0.14.5", - "@lexical/utils": "0.14.5", - "@lexical/yjs": "0.14.5", - "lexical": "0.14.5", + "@lexical/clipboard": "0.15.0", + "@lexical/code": "0.15.0", + "@lexical/devtools-core": "0.15.0", + "@lexical/dragon": "0.15.0", + "@lexical/hashtag": "0.15.0", + "@lexical/history": "0.15.0", + "@lexical/link": "0.15.0", + "@lexical/list": "0.15.0", + "@lexical/mark": "0.15.0", + "@lexical/markdown": "0.15.0", + "@lexical/overflow": "0.15.0", + "@lexical/plain-text": "0.15.0", + "@lexical/rich-text": "0.15.0", + "@lexical/selection": "0.15.0", + "@lexical/table": "0.15.0", + "@lexical/text": "0.15.0", + "@lexical/utils": "0.15.0", + "@lexical/yjs": "0.15.0", + "lexical": "0.15.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 ea8eee04a36e..7f8c9236b1f8 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.14.5", + "version": "0.15.0", "main": "LexicalRichText.js", "types": "index.d.ts", "repository": { @@ -35,9 +35,9 @@ } }, "dependencies": { - "@lexical/clipboard": "0.14.5", - "@lexical/selection": "0.14.5", - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/clipboard": "0.15.0", + "@lexical/selection": "0.15.0", + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" } } diff --git a/packages/lexical-selection/package.json b/packages/lexical-selection/package.json index d1c119bbf4b1..cc27cad0c4e4 100644 --- a/packages/lexical-selection/package.json +++ b/packages/lexical-selection/package.json @@ -9,7 +9,7 @@ "selection" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalSelection.js", "types": "index.d.ts", "repository": { @@ -37,6 +37,6 @@ } }, "dependencies": { - "lexical": "0.14.5" + "lexical": "0.15.0" } } diff --git a/packages/lexical-table/package.json b/packages/lexical-table/package.json index de91cbebdb2c..18592dc65ced 100644 --- a/packages/lexical-table/package.json +++ b/packages/lexical-table/package.json @@ -8,12 +8,12 @@ "table" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalTable.js", "types": "index.d.ts", "dependencies": { - "@lexical/utils": "0.14.5", - "lexical": "0.14.5" + "@lexical/utils": "0.15.0", + "lexical": "0.15.0" }, "repository": { "type": "git", diff --git a/packages/lexical-text/package.json b/packages/lexical-text/package.json index 00a95fd6a20a..1e9ee77e90e1 100644 --- a/packages/lexical-text/package.json +++ b/packages/lexical-text/package.json @@ -9,7 +9,7 @@ "text" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalText.js", "types": "index.d.ts", "repository": { @@ -37,6 +37,6 @@ } }, "dependencies": { - "lexical": "0.14.5" + "lexical": "0.15.0" } } diff --git a/packages/lexical-utils/package.json b/packages/lexical-utils/package.json index 78540c6c02cc..b2cfa77d0a5b 100644 --- a/packages/lexical-utils/package.json +++ b/packages/lexical-utils/package.json @@ -8,14 +8,14 @@ "utils" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalUtils.js", "types": "index.d.ts", "dependencies": { - "@lexical/list": "0.14.5", - "@lexical/selection": "0.14.5", - "@lexical/table": "0.14.5", - "lexical": "0.14.5" + "@lexical/list": "0.15.0", + "@lexical/selection": "0.15.0", + "@lexical/table": "0.15.0", + "lexical": "0.15.0" }, "repository": { "type": "git", diff --git a/packages/lexical-website/package.json b/packages/lexical-website/package.json index a36710c45276..01e67223fc44 100644 --- a/packages/lexical-website/package.json +++ b/packages/lexical-website/package.json @@ -1,6 +1,6 @@ { "name": "@lexical/website", - "version": "0.14.5", + "version": "0.15.0", "private": true, "scripts": { "docusaurus": "docusaurus", diff --git a/packages/lexical-yjs/package.json b/packages/lexical-yjs/package.json index 46941f47b1b9..a4fcb6a23796 100644 --- a/packages/lexical-yjs/package.json +++ b/packages/lexical-yjs/package.json @@ -11,12 +11,12 @@ "crdt" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "LexicalYjs.js", "types": "index.d.ts", "dependencies": { - "@lexical/offset": "0.14.5", - "lexical": "0.14.5" + "@lexical/offset": "0.15.0", + "lexical": "0.15.0" }, "peerDependencies": { "yjs": ">=13.5.22" diff --git a/packages/lexical/package.json b/packages/lexical/package.json index 99c2f26ddeba..d1404a089a66 100644 --- a/packages/lexical/package.json +++ b/packages/lexical/package.json @@ -9,7 +9,7 @@ "rich-text" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "main": "Lexical.js", "types": "index.d.ts", "repository": { diff --git a/packages/shared/package.json b/packages/shared/package.json index e1f47334f0e4..010aeab9b4b8 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -8,9 +8,9 @@ "rich-text" ], "license": "MIT", - "version": "0.14.5", + "version": "0.15.0", "dependencies": { - "lexical": "0.14.5" + "lexical": "0.15.0" }, "repository": { "type": "git", diff --git a/scripts/error-codes/codes.json b/scripts/error-codes/codes.json index 6e36a6c2f510..17b8440d0739 100644 --- a/scripts/error-codes/codes.json +++ b/scripts/error-codes/codes.json @@ -164,5 +164,24 @@ "162": "Root element not registered", "163": "node is not a ListNode", "164": "Root element count less than 0", - "165": "%s should not be undefined. You may want to check splitOffsets passed to the splitText." + "165": "%s should not be undefined. You may want to check splitOffsets passed to the splitText.", + "166": "Expected valid LexicalSelection", + "167": "Expected a valid Code Node: CodeHighlightNode, TabNode, LineBreakNode", + "168": "Unexpected lineBreakNode in getEndOfCodeInLine", + "169": "Expected selection to be inside CodeBlock and consisting of CodeHighlightNode, TabNode and LineBreakNode", + "170": "Expected selection firstNode to be CodeHighlightNode or TabNode", + "171": "Expected selection firstNode to be CodeHighlightNode or CodeTabNode", + "172": "Expected getFirstCodeNodeOfLine to return a valid Code Node", + "173": "MarkdownShortcuts: missing dependency %s for transformer. Ensure node dependency is included in editor initial config.", + "174": "$createChildrenArray: node does not exist in nodeMap", + "175": "Expected TableNode first child to be a RowNode", + "176": "Expected TableNode cell to be a TableCellNode", + "177": "isAtNodeEnd: node must be a TextNode or ElementNode", + "178": "Expected block node to be an ElementNode", + "179": "Expected node in emptyElements to be an ElementNode", + "180": "Expected node be a TextNode", + "181": "Expected text node to be first child of span", + "182": "Unexpected null rootDOMNode", + "183": "Unexpected null parentDOMNode", + "184": "Element point must be an element node" }