From 3d08282ca3e5941a65c45fcf372b4d1fe4dc9d76 Mon Sep 17 00:00:00 2001 From: Lexical GitHub Actions Bot <> Date: Thu, 26 Sep 2024 16:45:44 +0000 Subject: [PATCH] v0.18.0 --- CHANGELOG.md | 47 ++ examples/react-plain-text/package.json | 6 +- examples/react-rich-collab/package.json | 8 +- examples/react-rich/package.json | 6 +- examples/react-table/package.json | 6 +- examples/vanilla-js-plugin/package.json | 12 +- examples/vanilla-js/package.json | 12 +- package-lock.json | 442 +++++++++--------- 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 | 8 +- packages/lexical-text/package.json | 4 +- packages/lexical-utils/package.json | 10 +- packages/lexical-website/package.json | 2 +- packages/lexical-yjs/package.json | 8 +- packages/lexical/package.json | 2 +- packages/shared/package.json | 4 +- .../lexical-esm-astro-react/package.json | 11 +- .../fixtures/lexical-esm-nextjs/package.json | 8 +- .../package.json | 12 +- scripts/error-codes/codes.json | 13 +- 42 files changed, 446 insertions(+), 387 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c9ecca8b11..3d185739801 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,50 @@ +## v0.18.0 (2024-09-26) + +- lexical-markdown set shouldMergeAdjacentLines default to be false (#6660) Sherry +- lexical-link Bug Fix Removing a link from descendants (#6656) Sergey Gorbachev +- lexical-playground Bug Fix Correct ExcalidrawNode DOM handling for proper resizing (#6657) neysanfoo +- lexical-markdown Refactor allows omitting certain properties from TextMatchTransformers, adds jsdocs (#6651) Alessio Gravili +- lexical-table Bug Fix Fix crash in deleteCellHandler (#6650) Bob Ippolito +- lexical-playground Bug Fix empty code block not focused (#6649) Sherry +- lexical-markdown shouldMergeAdjacentLines as an option (#6642) Sherry +- lexical-code Bug Fix Annotate lexicalcode as having side-effects for Prism (#6652) Bob Ippolito +- lexical-reactlexical-playground Bug Fix Workaround for yjs disconnect race in React StrictMode (#6644) Bob Ippolito +- Allow exporting a document fragment from the exportDOM function (#6641) Tom Kubt +- Grammar Issue - Repeated Word (#6643) Adam Pugh +- lexical-tablelexical-playground Feature Add column widths to TableNode (#6625) Patrick Moody +- lexical-playgroundExcalidrawNode Bug Fix Preserve Excalidraw image dimensions after resizing (#6634) neysanfoo +- lexical-table Bug Table formatting and styling not persisting for empty cells (#6626) Katsia +- lexical-markdown Fix normalize markdown in convertFromMarkdownString to comply with CommonMark spec (2nd try) (#6629) Germn Jabloski +- lexical-playground Bug Fix Fix table rowcolumn index when resizing merged cells (#6630) Patrick Moody +- Revert lexical-markdown Fix normalize markdown in convertFromMarkdownString to comply with CommonMark spec (#6608) (#6627) Sherry +- lexical-react Refactor Ensure disconnect is called after connection is established in useYjsCollaboration (#6619) smworld01 +- CI tag flaky test (#6620) Sherry +- address micromatch vulnerability (#6616) Sherry +- Bug Fix Fix issue where selecting a cell then dragging outside of table would not select entire table (#6579) Mo +- lexical-markdown Breaking Change rename multilineElement to multiline-element (#6617) Sherry +- lexical Chore Add more helpful invariants to applyNodeReplacement (#6567) Bob Ippolito +- lexical-markdown Fix normalize markdown in convertFromMarkdownString to comply with CommonMark spec (#6608) Germn Jabloski +- Expose getStyleObjectFromCss in lexicalselection (#6612) Melissa Freiser +- lexical-markdown update markdown flow api (#6615) Sherry +- lexical-playground Fix Poll Option not clickable at some place after checked state (#6609) Vinay Kushwaha +- Multiple update tags (#6507) Gerard Rovira +- lexical-codebreaking change Bug Fix explicitly import instead of window. to support code nodes in nodejs (#6562) Nadine Nguyen +- lexical-tablelexical-playground Bug Fix Fix merged cell related edge cases (#6607) Bob Ippolito +- Fix issue where cmdctrl left arrow after a tab character would cause exception (#6588) Mo +- Address svelte vulnerability (#6603) Sherry +- lexical-markdownbreaking change Feature multiline markdown transformers mdx support (#6530) Alessio Gravili +- lexical-table Fix Table Cut Event Handling (#6596) Ivaylo Pavlov +- lexicallexical-overflow Refactor simplified removeText and insertText rewrite (part 1) (#6456) Germn Jabloski +- Fix test results CI path on Windows (#6585) Mo +- lexical-listlexical-react Refactor Create registerList Function Separate from React Shared Utils (#6560) River +- lexical-react Fix incorrect addition of empty cells on table paste (#6578) Shubhanker Srivastava +- lexical-table feat Add row striping (#6547) Ivaylo Pavlov +- Feature Check undeclared dependencies in build (#6574) Bob Ippolito +- lexical-react menu positioning Unrevert PR6510 but with gating (#6566) Sherry +- lexical-table Bug Fix Add lexicalclipboard as a direct dependency of lexicaltable (#6571) Bob Ippolito +- v0.17.1 (#6559) Ivaylo Pavlov +- v0.17.1 Lexical GitHub Actions Bot + ## v0.17.1 (2024-08-26) - lexical-playground Bug Fix fix comment timestamps (#6555) Ira Hopkinson diff --git a/examples/react-plain-text/package.json b/examples/react-plain-text/package.json index 8b6a1e32f47..2ca57f3e88a 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.17.1", + "version": "0.18.0", "type": "module", "scripts": { "dev": "vite", @@ -9,8 +9,8 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/react": "0.17.1", - "lexical": "0.17.1", + "@lexical/react": "0.18.0", + "lexical": "0.18.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 7ea1556935a..07ad5f31dca 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.17.1", + "version": "0.18.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.17.1", - "@lexical/yjs": "0.17.1", - "lexical": "0.17.1", + "@lexical/react": "0.18.0", + "@lexical/yjs": "0.18.0", + "lexical": "0.18.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 001d080f988..f16d62b0f75 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.17.1", + "version": "0.18.0", "type": "module", "scripts": { "dev": "vite", @@ -9,8 +9,8 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/react": "0.17.1", - "lexical": "0.17.1", + "@lexical/react": "0.18.0", + "lexical": "0.18.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 7b1d3f90e0b..19b01d84ed8 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.17.1", + "version": "0.18.0", "type": "module", "scripts": { "dev": "vite", @@ -9,8 +9,8 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/react": "0.17.1", - "lexical": "0.17.1", + "@lexical/react": "0.18.0", + "lexical": "0.18.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 3fcc072d9e6..46c9eef6358 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.17.1", + "version": "0.18.0", "type": "module", "scripts": { "dev": "vite", @@ -9,12 +9,12 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/dragon": "0.17.1", - "@lexical/history": "0.17.1", - "@lexical/rich-text": "0.17.1", - "@lexical/utils": "0.17.1", + "@lexical/dragon": "0.18.0", + "@lexical/history": "0.18.0", + "@lexical/rich-text": "0.18.0", + "@lexical/utils": "0.18.0", "emoji-datasource-facebook": "15.1.2", - "lexical": "0.17.1" + "lexical": "0.18.0" }, "devDependencies": { "typescript": "^5.2.2", diff --git a/examples/vanilla-js/package.json b/examples/vanilla-js/package.json index 93f90b943eb..bda715c2e58 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.17.1", + "version": "0.18.0", "type": "module", "scripts": { "dev": "vite", @@ -9,11 +9,11 @@ "preview": "vite preview" }, "dependencies": { - "@lexical/dragon": "0.17.1", - "@lexical/history": "0.17.1", - "@lexical/rich-text": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/dragon": "0.18.0", + "@lexical/history": "0.18.0", + "@lexical/rich-text": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" }, "devDependencies": { "typescript": "^5.2.2", diff --git a/package-lock.json b/package-lock.json index d8fb0f29353..216f1c67140 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lexical/monorepo", - "version": "0.17.1", + "version": "0.18.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lexical/monorepo", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "workspaces": [ "packages/*" @@ -36268,28 +36268,28 @@ } }, "packages/lexical": { - "version": "0.17.1", + "version": "0.18.0", "license": "MIT" }, "packages/lexical-clipboard": { "name": "@lexical/clipboard", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "@lexical/html": "0.17.1", - "@lexical/list": "0.17.1", - "@lexical/selection": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/html": "0.18.0", + "@lexical/list": "0.18.0", + "@lexical/selection": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "packages/lexical-code": { "name": "@lexical/code", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "@lexical/utils": "0.17.1", - "lexical": "0.17.1", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0", "prismjs": "^1.27.0" }, "devDependencies": { @@ -36298,7 +36298,7 @@ }, "packages/lexical-devtools": { "name": "@lexical/devtools", - "version": "0.17.1", + "version": "0.18.0", "hasInstallScript": true, "dependencies": { "@chakra-ui/react": "^2.8.2", @@ -36315,12 +36315,12 @@ "devDependencies": { "@babel/plugin-transform-flow-strip-types": "^7.24.7", "@babel/preset-react": "^7.24.7", - "@lexical/devtools-core": "0.17.1", + "@lexical/devtools-core": "0.18.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.17.1", + "lexical": "0.18.0", "typescript": "^5.4.5", "vite": "^5.2.2", "wxt": "^0.17.0" @@ -36328,15 +36328,15 @@ }, "packages/lexical-devtools-core": { "name": "@lexical/devtools-core", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "@lexical/html": "0.17.1", - "@lexical/link": "0.17.1", - "@lexical/mark": "0.17.1", - "@lexical/table": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/html": "0.18.0", + "@lexical/link": "0.18.0", + "@lexical/mark": "0.18.0", + "@lexical/table": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" }, "peerDependencies": { "react": ">=17.x", @@ -36345,15 +36345,15 @@ }, "packages/lexical-dragon": { "name": "@lexical/dragon", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "lexical": "0.17.1" + "lexical": "0.18.0" } }, "packages/lexical-eslint-plugin": { "name": "@lexical/eslint-plugin", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "devDependencies": { "@types/eslint": "^8.56.9" @@ -36364,136 +36364,136 @@ }, "packages/lexical-file": { "name": "@lexical/file", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "lexical": "0.17.1" + "lexical": "0.18.0" } }, "packages/lexical-hashtag": { "name": "@lexical/hashtag", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "packages/lexical-headless": { "name": "@lexical/headless", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "lexical": "0.17.1" + "lexical": "0.18.0" } }, "packages/lexical-history": { "name": "@lexical/history", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "packages/lexical-html": { "name": "@lexical/html", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "@lexical/selection": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/selection": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "packages/lexical-link": { "name": "@lexical/link", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "packages/lexical-list": { "name": "@lexical/list", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "packages/lexical-mark": { "name": "@lexical/mark", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "packages/lexical-markdown": { "name": "@lexical/markdown", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "@lexical/code": "0.17.1", - "@lexical/link": "0.17.1", - "@lexical/list": "0.17.1", - "@lexical/rich-text": "0.17.1", - "@lexical/text": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/code": "0.18.0", + "@lexical/link": "0.18.0", + "@lexical/list": "0.18.0", + "@lexical/rich-text": "0.18.0", + "@lexical/text": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "packages/lexical-offset": { "name": "@lexical/offset", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "lexical": "0.17.1" + "lexical": "0.18.0" } }, "packages/lexical-overflow": { "name": "@lexical/overflow", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "lexical": "0.17.1" + "lexical": "0.18.0" } }, "packages/lexical-plain-text": { "name": "@lexical/plain-text", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "@lexical/clipboard": "0.17.1", - "@lexical/selection": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/clipboard": "0.18.0", + "@lexical/selection": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "packages/lexical-playground": { - "version": "0.17.1", + "version": "0.18.0", "dependencies": { "@excalidraw/excalidraw": "^0.17.0", - "@lexical/clipboard": "0.17.1", - "@lexical/code": "0.17.1", - "@lexical/file": "0.17.1", - "@lexical/hashtag": "0.17.1", - "@lexical/link": "0.17.1", - "@lexical/list": "0.17.1", - "@lexical/mark": "0.17.1", - "@lexical/overflow": "0.17.1", - "@lexical/plain-text": "0.17.1", - "@lexical/react": "0.17.1", - "@lexical/rich-text": "0.17.1", - "@lexical/selection": "0.17.1", - "@lexical/table": "0.17.1", - "@lexical/utils": "0.17.1", + "@lexical/clipboard": "0.18.0", + "@lexical/code": "0.18.0", + "@lexical/file": "0.18.0", + "@lexical/hashtag": "0.18.0", + "@lexical/link": "0.18.0", + "@lexical/list": "0.18.0", + "@lexical/mark": "0.18.0", + "@lexical/overflow": "0.18.0", + "@lexical/plain-text": "0.18.0", + "@lexical/react": "0.18.0", + "@lexical/rich-text": "0.18.0", + "@lexical/selection": "0.18.0", + "@lexical/table": "0.18.0", + "@lexical/utils": "0.18.0", "katex": "^0.16.10", - "lexical": "0.17.1", + "lexical": "0.18.0", "lodash-es": "^4.17.21", "prettier": "^2.3.2", "react": "^18.2.0", @@ -36516,28 +36516,28 @@ }, "packages/lexical-react": { "name": "@lexical/react", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "@lexical/clipboard": "0.17.1", - "@lexical/code": "0.17.1", - "@lexical/devtools-core": "0.17.1", - "@lexical/dragon": "0.17.1", - "@lexical/hashtag": "0.17.1", - "@lexical/history": "0.17.1", - "@lexical/link": "0.17.1", - "@lexical/list": "0.17.1", - "@lexical/mark": "0.17.1", - "@lexical/markdown": "0.17.1", - "@lexical/overflow": "0.17.1", - "@lexical/plain-text": "0.17.1", - "@lexical/rich-text": "0.17.1", - "@lexical/selection": "0.17.1", - "@lexical/table": "0.17.1", - "@lexical/text": "0.17.1", - "@lexical/utils": "0.17.1", - "@lexical/yjs": "0.17.1", - "lexical": "0.17.1", + "@lexical/clipboard": "0.18.0", + "@lexical/code": "0.18.0", + "@lexical/devtools-core": "0.18.0", + "@lexical/dragon": "0.18.0", + "@lexical/hashtag": "0.18.0", + "@lexical/history": "0.18.0", + "@lexical/link": "0.18.0", + "@lexical/list": "0.18.0", + "@lexical/mark": "0.18.0", + "@lexical/markdown": "0.18.0", + "@lexical/overflow": "0.18.0", + "@lexical/plain-text": "0.18.0", + "@lexical/rich-text": "0.18.0", + "@lexical/selection": "0.18.0", + "@lexical/table": "0.18.0", + "@lexical/text": "0.18.0", + "@lexical/utils": "0.18.0", + "@lexical/yjs": "0.18.0", + "lexical": "0.18.0", "react-error-boundary": "^3.1.4" }, "peerDependencies": { @@ -36547,55 +36547,55 @@ }, "packages/lexical-rich-text": { "name": "@lexical/rich-text", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "@lexical/clipboard": "0.17.1", - "@lexical/selection": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/clipboard": "0.18.0", + "@lexical/selection": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "packages/lexical-selection": { "name": "@lexical/selection", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "lexical": "0.17.1" + "lexical": "0.18.0" } }, "packages/lexical-table": { "name": "@lexical/table", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "@lexical/clipboard": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/clipboard": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "packages/lexical-text": { "name": "@lexical/text", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "lexical": "0.17.1" + "lexical": "0.18.0" } }, "packages/lexical-utils": { "name": "@lexical/utils", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "@lexical/list": "0.17.1", - "@lexical/selection": "0.17.1", - "@lexical/table": "0.17.1", - "lexical": "0.17.1" + "@lexical/list": "0.18.0", + "@lexical/selection": "0.18.0", + "@lexical/table": "0.18.0", + "lexical": "0.18.0" } }, "packages/lexical-website": { "name": "@lexical/website", - "version": "0.17.1", + "version": "0.18.0", "dependencies": { "@docusaurus/core": "^3.3.2", "@docusaurus/preset-classic": "^3.3.2", @@ -36624,12 +36624,12 @@ }, "packages/lexical-yjs": { "name": "@lexical/yjs", - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "@lexical/offset": "0.17.1", - "@lexical/selection": "0.17.1", - "lexical": "0.17.1" + "@lexical/offset": "0.18.0", + "@lexical/selection": "0.18.0", + "lexical": "0.18.0" }, "peerDependencies": { "yjs": ">=13.5.22" @@ -36662,10 +36662,10 @@ } }, "packages/shared": { - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "dependencies": { - "lexical": "0.17.1" + "lexical": "0.18.0" } } }, @@ -40990,19 +40990,19 @@ "@lexical/clipboard": { "version": "file:packages/lexical-clipboard", "requires": { - "@lexical/html": "0.17.1", - "@lexical/list": "0.17.1", - "@lexical/selection": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/html": "0.18.0", + "@lexical/list": "0.18.0", + "@lexical/selection": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "@lexical/code": { "version": "file:packages/lexical-code", "requires": { - "@lexical/utils": "0.17.1", + "@lexical/utils": "0.18.0", "@types/prismjs": "^1.26.0", - "lexical": "0.17.1", + "lexical": "0.18.0", "prismjs": "^1.27.0" } }, @@ -41014,7 +41014,7 @@ "@chakra-ui/react": "^2.8.2", "@emotion/react": "^11.11.4", "@emotion/styled": "^11.11.5", - "@lexical/devtools-core": "0.17.1", + "@lexical/devtools-core": "0.18.0", "@rollup/plugin-babel": "^6.0.4", "@types/react": "^18.2.46", "@types/react-dom": "^18.2.18", @@ -41023,7 +41023,7 @@ "@webext-pegasus/store-zustand": "^0.3.0", "@webext-pegasus/transport": "^0.3.0", "framer-motion": "^11.1.5", - "lexical": "0.17.1", + "lexical": "0.18.0", "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^5.4.5", @@ -41035,18 +41035,18 @@ "@lexical/devtools-core": { "version": "file:packages/lexical-devtools-core", "requires": { - "@lexical/html": "0.17.1", - "@lexical/link": "0.17.1", - "@lexical/mark": "0.17.1", - "@lexical/table": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/html": "0.18.0", + "@lexical/link": "0.18.0", + "@lexical/mark": "0.18.0", + "@lexical/table": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "@lexical/dragon": { "version": "file:packages/lexical-dragon", "requires": { - "lexical": "0.17.1" + "lexical": "0.18.0" } }, "@lexical/eslint-plugin": { @@ -41058,152 +41058,152 @@ "@lexical/file": { "version": "file:packages/lexical-file", "requires": { - "lexical": "0.17.1" + "lexical": "0.18.0" } }, "@lexical/hashtag": { "version": "file:packages/lexical-hashtag", "requires": { - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "@lexical/headless": { "version": "file:packages/lexical-headless", "requires": { - "lexical": "0.17.1" + "lexical": "0.18.0" } }, "@lexical/history": { "version": "file:packages/lexical-history", "requires": { - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "@lexical/html": { "version": "file:packages/lexical-html", "requires": { - "@lexical/selection": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/selection": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "@lexical/link": { "version": "file:packages/lexical-link", "requires": { - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "@lexical/list": { "version": "file:packages/lexical-list", "requires": { - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "@lexical/mark": { "version": "file:packages/lexical-mark", "requires": { - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "@lexical/markdown": { "version": "file:packages/lexical-markdown", "requires": { - "@lexical/code": "0.17.1", - "@lexical/link": "0.17.1", - "@lexical/list": "0.17.1", - "@lexical/rich-text": "0.17.1", - "@lexical/text": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/code": "0.18.0", + "@lexical/link": "0.18.0", + "@lexical/list": "0.18.0", + "@lexical/rich-text": "0.18.0", + "@lexical/text": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "@lexical/offset": { "version": "file:packages/lexical-offset", "requires": { - "lexical": "0.17.1" + "lexical": "0.18.0" } }, "@lexical/overflow": { "version": "file:packages/lexical-overflow", "requires": { - "lexical": "0.17.1" + "lexical": "0.18.0" } }, "@lexical/plain-text": { "version": "file:packages/lexical-plain-text", "requires": { - "@lexical/clipboard": "0.17.1", - "@lexical/selection": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/clipboard": "0.18.0", + "@lexical/selection": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "@lexical/react": { "version": "file:packages/lexical-react", "requires": { - "@lexical/clipboard": "0.17.1", - "@lexical/code": "0.17.1", - "@lexical/devtools-core": "0.17.1", - "@lexical/dragon": "0.17.1", - "@lexical/hashtag": "0.17.1", - "@lexical/history": "0.17.1", - "@lexical/link": "0.17.1", - "@lexical/list": "0.17.1", - "@lexical/mark": "0.17.1", - "@lexical/markdown": "0.17.1", - "@lexical/overflow": "0.17.1", - "@lexical/plain-text": "0.17.1", - "@lexical/rich-text": "0.17.1", - "@lexical/selection": "0.17.1", - "@lexical/table": "0.17.1", - "@lexical/text": "0.17.1", - "@lexical/utils": "0.17.1", - "@lexical/yjs": "0.17.1", - "lexical": "0.17.1", + "@lexical/clipboard": "0.18.0", + "@lexical/code": "0.18.0", + "@lexical/devtools-core": "0.18.0", + "@lexical/dragon": "0.18.0", + "@lexical/hashtag": "0.18.0", + "@lexical/history": "0.18.0", + "@lexical/link": "0.18.0", + "@lexical/list": "0.18.0", + "@lexical/mark": "0.18.0", + "@lexical/markdown": "0.18.0", + "@lexical/overflow": "0.18.0", + "@lexical/plain-text": "0.18.0", + "@lexical/rich-text": "0.18.0", + "@lexical/selection": "0.18.0", + "@lexical/table": "0.18.0", + "@lexical/text": "0.18.0", + "@lexical/utils": "0.18.0", + "@lexical/yjs": "0.18.0", + "lexical": "0.18.0", "react-error-boundary": "^3.1.4" } }, "@lexical/rich-text": { "version": "file:packages/lexical-rich-text", "requires": { - "@lexical/clipboard": "0.17.1", - "@lexical/selection": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/clipboard": "0.18.0", + "@lexical/selection": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "@lexical/selection": { "version": "file:packages/lexical-selection", "requires": { - "lexical": "0.17.1" + "lexical": "0.18.0" } }, "@lexical/table": { "version": "file:packages/lexical-table", "requires": { - "@lexical/clipboard": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/clipboard": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } }, "@lexical/text": { "version": "file:packages/lexical-text", "requires": { - "lexical": "0.17.1" + "lexical": "0.18.0" } }, "@lexical/utils": { "version": "file:packages/lexical-utils", "requires": { - "@lexical/list": "0.17.1", - "@lexical/selection": "0.17.1", - "@lexical/table": "0.17.1", - "lexical": "0.17.1" + "@lexical/list": "0.18.0", + "@lexical/selection": "0.18.0", + "@lexical/table": "0.18.0", + "lexical": "0.18.0" } }, "@lexical/website": { @@ -41235,9 +41235,9 @@ "@lexical/yjs": { "version": "file:packages/lexical-yjs", "requires": { - "@lexical/offset": "0.17.1", - "@lexical/selection": "0.17.1", - "lexical": "0.17.1" + "@lexical/offset": "0.18.0", + "@lexical/selection": "0.18.0", + "lexical": "0.18.0" } }, "@mdx-js/mdx": { @@ -52957,26 +52957,26 @@ "@babel/plugin-transform-flow-strip-types": "^7.24.7", "@babel/preset-react": "^7.24.7", "@excalidraw/excalidraw": "^0.17.0", - "@lexical/clipboard": "0.17.1", - "@lexical/code": "0.17.1", - "@lexical/file": "0.17.1", - "@lexical/hashtag": "0.17.1", - "@lexical/link": "0.17.1", - "@lexical/list": "0.17.1", - "@lexical/mark": "0.17.1", - "@lexical/overflow": "0.17.1", - "@lexical/plain-text": "0.17.1", - "@lexical/react": "0.17.1", - "@lexical/rich-text": "0.17.1", - "@lexical/selection": "0.17.1", - "@lexical/table": "0.17.1", - "@lexical/utils": "0.17.1", + "@lexical/clipboard": "0.18.0", + "@lexical/code": "0.18.0", + "@lexical/file": "0.18.0", + "@lexical/hashtag": "0.18.0", + "@lexical/link": "0.18.0", + "@lexical/list": "0.18.0", + "@lexical/mark": "0.18.0", + "@lexical/overflow": "0.18.0", + "@lexical/plain-text": "0.18.0", + "@lexical/react": "0.18.0", + "@lexical/rich-text": "0.18.0", + "@lexical/selection": "0.18.0", + "@lexical/table": "0.18.0", + "@lexical/utils": "0.18.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.17.1", + "lexical": "0.18.0", "lodash-es": "^4.17.21", "prettier": "^2.3.2", "react": "^18.2.0", @@ -58858,7 +58858,7 @@ "shared": { "version": "file:packages/shared", "requires": { - "lexical": "0.17.1" + "lexical": "0.18.0" } }, "shebang-command": { diff --git a/package.json b/package.json index 5e088f09a9d..1c646ed711c 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.17.1", + "version": "0.18.0", "license": "MIT", "private": true, "workspaces": [ diff --git a/packages/lexical-clipboard/package.json b/packages/lexical-clipboard/package.json index e5dc942e4a3..397e51c1034 100644 --- a/packages/lexical-clipboard/package.json +++ b/packages/lexical-clipboard/package.json @@ -9,15 +9,15 @@ "paste" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalClipboard.js", "types": "index.d.ts", "dependencies": { - "@lexical/html": "0.17.1", - "@lexical/list": "0.17.1", - "@lexical/selection": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/html": "0.18.0", + "@lexical/list": "0.18.0", + "@lexical/selection": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" }, "repository": { "type": "git", diff --git a/packages/lexical-code/package.json b/packages/lexical-code/package.json index 89dd18cadee..91331220c16 100644 --- a/packages/lexical-code/package.json +++ b/packages/lexical-code/package.json @@ -8,12 +8,12 @@ "code" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalCode.js", "types": "index.d.ts", "dependencies": { - "@lexical/utils": "0.17.1", - "lexical": "0.17.1", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0", "prismjs": "^1.27.0" }, "repository": { diff --git a/packages/lexical-devtools-core/package.json b/packages/lexical-devtools-core/package.json index c830cfca468..ecec8abf35e 100644 --- a/packages/lexical-devtools-core/package.json +++ b/packages/lexical-devtools-core/package.json @@ -8,16 +8,16 @@ "utils" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalDevtoolsCore.js", "types": "index.d.ts", "dependencies": { - "@lexical/html": "0.17.1", - "@lexical/link": "0.17.1", - "@lexical/mark": "0.17.1", - "@lexical/table": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/html": "0.18.0", + "@lexical/link": "0.18.0", + "@lexical/mark": "0.18.0", + "@lexical/table": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" }, "peerDependencies": { "react": ">=17.x", diff --git a/packages/lexical-devtools/package.json b/packages/lexical-devtools/package.json index 4addb5ec3f7..fb2d1963112 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.17.1", + "version": "0.18.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.17.1", + "@lexical/devtools-core": "0.18.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.17.1", + "lexical": "0.18.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 d1a881dc738..d3bc8eb181f 100644 --- a/packages/lexical-dragon/package.json +++ b/packages/lexical-dragon/package.json @@ -9,7 +9,7 @@ "accessibility" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalDragon.js", "types": "index.d.ts", "repository": { @@ -37,6 +37,6 @@ } }, "dependencies": { - "lexical": "0.17.1" + "lexical": "0.18.0" } } diff --git a/packages/lexical-eslint-plugin/package.json b/packages/lexical-eslint-plugin/package.json index 331a6f96a57..cdcd24aede3 100644 --- a/packages/lexical-eslint-plugin/package.json +++ b/packages/lexical-eslint-plugin/package.json @@ -8,7 +8,7 @@ "lexical", "editor" ], - "version": "0.17.1", + "version": "0.18.0", "license": "MIT", "repository": { "type": "git", diff --git a/packages/lexical-file/package.json b/packages/lexical-file/package.json index cbf65c7db66..6da57dffc2f 100644 --- a/packages/lexical-file/package.json +++ b/packages/lexical-file/package.json @@ -10,7 +10,7 @@ "export" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalFile.js", "types": "index.d.ts", "repository": { @@ -38,6 +38,6 @@ } }, "dependencies": { - "lexical": "0.17.1" + "lexical": "0.18.0" } } diff --git a/packages/lexical-hashtag/package.json b/packages/lexical-hashtag/package.json index 3937e76a996..d86b7edc3b3 100644 --- a/packages/lexical-hashtag/package.json +++ b/packages/lexical-hashtag/package.json @@ -8,12 +8,12 @@ "hashtag" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalHashtag.js", "types": "index.d.ts", "dependencies": { - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" }, "repository": { "type": "git", diff --git a/packages/lexical-headless/package.json b/packages/lexical-headless/package.json index 196f562a1bb..de0ff4fde95 100644 --- a/packages/lexical-headless/package.json +++ b/packages/lexical-headless/package.json @@ -8,7 +8,7 @@ "headless" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalHeadless.js", "types": "index.d.ts", "repository": { @@ -36,6 +36,6 @@ } }, "dependencies": { - "lexical": "0.17.1" + "lexical": "0.18.0" } } diff --git a/packages/lexical-history/package.json b/packages/lexical-history/package.json index 98c4b920508..d703a8d73df 100644 --- a/packages/lexical-history/package.json +++ b/packages/lexical-history/package.json @@ -8,12 +8,12 @@ "history" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalHistory.js", "types": "index.d.ts", "dependencies": { - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" }, "repository": { "type": "git", diff --git a/packages/lexical-html/package.json b/packages/lexical-html/package.json index 756af25c0b7..2bfca39ac9d 100644 --- a/packages/lexical-html/package.json +++ b/packages/lexical-html/package.json @@ -8,7 +8,7 @@ "html" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalHtml.js", "types": "index.d.ts", "repository": { @@ -17,9 +17,9 @@ "directory": "packages/lexical-html" }, "dependencies": { - "@lexical/selection": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/selection": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" }, "module": "LexicalHtml.mjs", "sideEffects": false, diff --git a/packages/lexical-link/package.json b/packages/lexical-link/package.json index 488f1a06c51..95ca67265d4 100644 --- a/packages/lexical-link/package.json +++ b/packages/lexical-link/package.json @@ -8,12 +8,12 @@ "link" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalLink.js", "types": "index.d.ts", "dependencies": { - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" }, "repository": { "type": "git", diff --git a/packages/lexical-list/package.json b/packages/lexical-list/package.json index 6f2d51154a3..6ec34d721cf 100644 --- a/packages/lexical-list/package.json +++ b/packages/lexical-list/package.json @@ -8,12 +8,12 @@ "list" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalList.js", "types": "index.d.ts", "dependencies": { - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" }, "repository": { "type": "git", diff --git a/packages/lexical-mark/package.json b/packages/lexical-mark/package.json index 75209308dc0..f8d600d721b 100644 --- a/packages/lexical-mark/package.json +++ b/packages/lexical-mark/package.json @@ -8,12 +8,12 @@ "mark" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalMark.js", "types": "index.d.ts", "dependencies": { - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" }, "repository": { "type": "git", diff --git a/packages/lexical-markdown/package.json b/packages/lexical-markdown/package.json index 879ee1e14cc..02daab66555 100644 --- a/packages/lexical-markdown/package.json +++ b/packages/lexical-markdown/package.json @@ -8,17 +8,17 @@ "markdown" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalMarkdown.js", "types": "index.d.ts", "dependencies": { - "@lexical/code": "0.17.1", - "@lexical/link": "0.17.1", - "@lexical/list": "0.17.1", - "@lexical/rich-text": "0.17.1", - "@lexical/text": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/code": "0.18.0", + "@lexical/link": "0.18.0", + "@lexical/list": "0.18.0", + "@lexical/rich-text": "0.18.0", + "@lexical/text": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" }, "repository": { "type": "git", diff --git a/packages/lexical-offset/package.json b/packages/lexical-offset/package.json index 7af6c012272..d61f8d0b70d 100644 --- a/packages/lexical-offset/package.json +++ b/packages/lexical-offset/package.json @@ -8,7 +8,7 @@ "offset" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalOffset.js", "types": "index.d.ts", "repository": { @@ -36,6 +36,6 @@ } }, "dependencies": { - "lexical": "0.17.1" + "lexical": "0.18.0" } } diff --git a/packages/lexical-overflow/package.json b/packages/lexical-overflow/package.json index 8c5da5a1a63..74ed5fa03a6 100644 --- a/packages/lexical-overflow/package.json +++ b/packages/lexical-overflow/package.json @@ -8,7 +8,7 @@ "overflow" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalOverflow.js", "types": "index.d.ts", "repository": { @@ -36,6 +36,6 @@ } }, "dependencies": { - "lexical": "0.17.1" + "lexical": "0.18.0" } } diff --git a/packages/lexical-plain-text/package.json b/packages/lexical-plain-text/package.json index 215158accc6..e316bfddd67 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.17.1", + "version": "0.18.0", "main": "LexicalPlainText.js", "types": "index.d.ts", "repository": { @@ -35,9 +35,9 @@ } }, "dependencies": { - "@lexical/clipboard": "0.17.1", - "@lexical/selection": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/clipboard": "0.18.0", + "@lexical/selection": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } } diff --git a/packages/lexical-playground/package.json b/packages/lexical-playground/package.json index cd07bf6e8da..c2cafc71468 100644 --- a/packages/lexical-playground/package.json +++ b/packages/lexical-playground/package.json @@ -1,6 +1,6 @@ { "name": "lexical-playground", - "version": "0.17.1", + "version": "0.18.0", "private": true, "type": "module", "scripts": { @@ -12,22 +12,22 @@ }, "dependencies": { "@excalidraw/excalidraw": "^0.17.0", - "@lexical/clipboard": "0.17.1", - "@lexical/code": "0.17.1", - "@lexical/file": "0.17.1", - "@lexical/hashtag": "0.17.1", - "@lexical/link": "0.17.1", - "@lexical/list": "0.17.1", - "@lexical/mark": "0.17.1", - "@lexical/overflow": "0.17.1", - "@lexical/plain-text": "0.17.1", - "@lexical/react": "0.17.1", - "@lexical/rich-text": "0.17.1", - "@lexical/selection": "0.17.1", - "@lexical/table": "0.17.1", - "@lexical/utils": "0.17.1", + "@lexical/clipboard": "0.18.0", + "@lexical/code": "0.18.0", + "@lexical/file": "0.18.0", + "@lexical/hashtag": "0.18.0", + "@lexical/link": "0.18.0", + "@lexical/list": "0.18.0", + "@lexical/mark": "0.18.0", + "@lexical/overflow": "0.18.0", + "@lexical/plain-text": "0.18.0", + "@lexical/react": "0.18.0", + "@lexical/rich-text": "0.18.0", + "@lexical/selection": "0.18.0", + "@lexical/table": "0.18.0", + "@lexical/utils": "0.18.0", "katex": "^0.16.10", - "lexical": "0.17.1", + "lexical": "0.18.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 0e8f9788c79..6360d26502f 100644 --- a/packages/lexical-react/package.json +++ b/packages/lexical-react/package.json @@ -8,27 +8,27 @@ "rich-text" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "dependencies": { - "@lexical/clipboard": "0.17.1", - "@lexical/code": "0.17.1", - "@lexical/devtools-core": "0.17.1", - "@lexical/dragon": "0.17.1", - "@lexical/hashtag": "0.17.1", - "@lexical/history": "0.17.1", - "@lexical/link": "0.17.1", - "@lexical/list": "0.17.1", - "@lexical/mark": "0.17.1", - "@lexical/markdown": "0.17.1", - "@lexical/overflow": "0.17.1", - "@lexical/plain-text": "0.17.1", - "@lexical/rich-text": "0.17.1", - "@lexical/selection": "0.17.1", - "@lexical/table": "0.17.1", - "@lexical/text": "0.17.1", - "@lexical/utils": "0.17.1", - "@lexical/yjs": "0.17.1", - "lexical": "0.17.1", + "@lexical/clipboard": "0.18.0", + "@lexical/code": "0.18.0", + "@lexical/devtools-core": "0.18.0", + "@lexical/dragon": "0.18.0", + "@lexical/hashtag": "0.18.0", + "@lexical/history": "0.18.0", + "@lexical/link": "0.18.0", + "@lexical/list": "0.18.0", + "@lexical/mark": "0.18.0", + "@lexical/markdown": "0.18.0", + "@lexical/overflow": "0.18.0", + "@lexical/plain-text": "0.18.0", + "@lexical/rich-text": "0.18.0", + "@lexical/selection": "0.18.0", + "@lexical/table": "0.18.0", + "@lexical/text": "0.18.0", + "@lexical/utils": "0.18.0", + "@lexical/yjs": "0.18.0", + "lexical": "0.18.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 39175860776..0bd956b2dff 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.17.1", + "version": "0.18.0", "main": "LexicalRichText.js", "types": "index.d.ts", "repository": { @@ -35,9 +35,9 @@ } }, "dependencies": { - "@lexical/clipboard": "0.17.1", - "@lexical/selection": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/clipboard": "0.18.0", + "@lexical/selection": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" } } diff --git a/packages/lexical-selection/package.json b/packages/lexical-selection/package.json index 22a8f87cdfc..a08d821efa5 100644 --- a/packages/lexical-selection/package.json +++ b/packages/lexical-selection/package.json @@ -9,7 +9,7 @@ "selection" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalSelection.js", "types": "index.d.ts", "repository": { @@ -37,6 +37,6 @@ } }, "dependencies": { - "lexical": "0.17.1" + "lexical": "0.18.0" } } diff --git a/packages/lexical-table/package.json b/packages/lexical-table/package.json index fb990dbe15c..3e64fd93dbb 100644 --- a/packages/lexical-table/package.json +++ b/packages/lexical-table/package.json @@ -8,13 +8,13 @@ "table" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalTable.js", "types": "index.d.ts", "dependencies": { - "@lexical/clipboard": "0.17.1", - "@lexical/utils": "0.17.1", - "lexical": "0.17.1" + "@lexical/clipboard": "0.18.0", + "@lexical/utils": "0.18.0", + "lexical": "0.18.0" }, "repository": { "type": "git", diff --git a/packages/lexical-text/package.json b/packages/lexical-text/package.json index dbf68a9dba5..9def319d3ed 100644 --- a/packages/lexical-text/package.json +++ b/packages/lexical-text/package.json @@ -9,7 +9,7 @@ "text" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalText.js", "types": "index.d.ts", "repository": { @@ -37,6 +37,6 @@ } }, "dependencies": { - "lexical": "0.17.1" + "lexical": "0.18.0" } } diff --git a/packages/lexical-utils/package.json b/packages/lexical-utils/package.json index 0ac4aec507c..a228ad0b27b 100644 --- a/packages/lexical-utils/package.json +++ b/packages/lexical-utils/package.json @@ -8,14 +8,14 @@ "utils" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalUtils.js", "types": "index.d.ts", "dependencies": { - "@lexical/list": "0.17.1", - "@lexical/selection": "0.17.1", - "@lexical/table": "0.17.1", - "lexical": "0.17.1" + "@lexical/list": "0.18.0", + "@lexical/selection": "0.18.0", + "@lexical/table": "0.18.0", + "lexical": "0.18.0" }, "repository": { "type": "git", diff --git a/packages/lexical-website/package.json b/packages/lexical-website/package.json index daa79715a9b..002e91eebd1 100644 --- a/packages/lexical-website/package.json +++ b/packages/lexical-website/package.json @@ -1,6 +1,6 @@ { "name": "@lexical/website", - "version": "0.17.1", + "version": "0.18.0", "private": true, "scripts": { "docusaurus": "docusaurus", diff --git a/packages/lexical-yjs/package.json b/packages/lexical-yjs/package.json index 4b861b7c8fd..71f38a78c1c 100644 --- a/packages/lexical-yjs/package.json +++ b/packages/lexical-yjs/package.json @@ -11,13 +11,13 @@ "crdt" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "LexicalYjs.js", "types": "index.d.ts", "dependencies": { - "@lexical/offset": "0.17.1", - "@lexical/selection": "0.17.1", - "lexical": "0.17.1" + "@lexical/offset": "0.18.0", + "@lexical/selection": "0.18.0", + "lexical": "0.18.0" }, "peerDependencies": { "yjs": ">=13.5.22" diff --git a/packages/lexical/package.json b/packages/lexical/package.json index 7096a3b74ae..198583a9818 100644 --- a/packages/lexical/package.json +++ b/packages/lexical/package.json @@ -9,7 +9,7 @@ "rich-text" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "main": "Lexical.js", "types": "index.d.ts", "repository": { diff --git a/packages/shared/package.json b/packages/shared/package.json index 8fe88be6fb0..951ee6f8f9e 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -8,9 +8,9 @@ "rich-text" ], "license": "MIT", - "version": "0.17.1", + "version": "0.18.0", "dependencies": { - "lexical": "0.17.1" + "lexical": "0.18.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 c278cecc2f4..dddf28e1d62 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.17.1", + "version": "0.18.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.17.1", - "@lexical/utils": "0.17.1", + "@lexical/react": "0.18.0", + "@lexical/utils": "0.18.0", "@types/react": "^18.2.66", "@types/react-dom": "^18.2.22", "astro": "^4.5.4", - "lexical": "0.17.1", + "lexical": "0.18.0", "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^5.4.2" @@ -26,5 +26,6 @@ "devDependencies": { "@playwright/test": "^1.43.1" }, - "sideEffects": false + "sideEffects": false, + "exports": {} } diff --git a/scripts/__tests__/integration/fixtures/lexical-esm-nextjs/package.json b/scripts/__tests__/integration/fixtures/lexical-esm-nextjs/package.json index b419263b0c5..94e51d28b20 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.17.1", + "version": "0.18.0", "private": true, "scripts": { "dev": "next dev", @@ -9,9 +9,9 @@ "test": "playwright test" }, "dependencies": { - "@lexical/plain-text": "0.17.1", - "@lexical/react": "0.17.1", - "lexical": "0.17.1", + "@lexical/plain-text": "0.18.0", + "@lexical/react": "0.18.0", + "lexical": "0.18.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 a71328e797f..db051a94a3e 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.17.1", + "version": "0.18.0", "private": true, "scripts": { "dev": "vite dev", @@ -9,17 +9,17 @@ "test": "playwright test" }, "devDependencies": { - "@lexical/dragon": "0.17.1", - "@lexical/history": "0.17.1", - "@lexical/rich-text": "0.17.1", - "@lexical/utils": "0.17.1", + "@lexical/dragon": "0.18.0", + "@lexical/history": "0.18.0", + "@lexical/rich-text": "0.18.0", + "@lexical/utils": "0.18.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.0.0", "@sveltejs/vite-plugin-svelte": "^3.0.0", - "lexical": "0.17.1", + "lexical": "0.18.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 0d5ae282bf6..92a650456c6 100644 --- a/scripts/error-codes/codes.json +++ b/scripts/error-codes/codes.json @@ -198,5 +198,16 @@ "196": "Unable to find an active editor. This method can only be used synchronously during the callback of editor.update() or editor.read().%s", "197": "$cloneWithProperties: %s.clone(node) (with type '%s') overrided afterCloneFrom but did not call super.afterCloneFrom(prevNode)", "198": "Attempted to remove event handlers from a node that does not belong to this build of Lexical", - "199": "Indent value must be non-negative." + "199": "Indent value must be non-negative.", + "200": "$applyNodeReplacement node %s with type %s must be registered to the editor. You can do this by passing the node class via the \"nodes\" array in the editor config.", + "201": "$applyNodeReplacement failed. Expected replacement node to be an instance of %s with type %s but returned %s with type %s from original node %s with type %s", + "202": "$applyNodeReplacement failed. Ensure replacement node %s with type %s is a subclass of the original node %s with type %s.", + "203": "$applyNodeReplacement failed. Ensure that the key argument is *not* used in your replace function (from node %s with type %s to node %s with type %s), Node keys must never be re-used except by the static clone method.", + "204": "node is not a OverflowNode", + "205": "tableElement already has an attached TableObserver", + "206": "Expected TableNode childAtIndex(%s) to be RowNode", + "207": "Anchor not found in Table", + "208": "Focus not found in Table", + "209": "Expected TableNode children to be TableRowNode", + "210": "Expected TableRowNode to have a parent TableNode" }