diff --git a/.changeset/ai.md b/.changeset/ai.md deleted file mode 100644 index 81ef05139b..0000000000 --- a/.changeset/ai.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@udecode/plate-ai': patch ---- - -- `CopilotPlugin`: reset on mouse down -- `CopilotPlugin`: auto trigger only on selection change diff --git a/.changeset/column.md b/.changeset/column.md deleted file mode 100644 index ded4c33130..0000000000 --- a/.changeset/column.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@udecode/plate-layout': minor ---- - -- `ColumnPlugin`: - - unwrap columns when there is only one column - - remove column group when it has no column children - - remove column when it has no children -- Add `insertColumnGroup` -- Add `toggleColumnGroup` diff --git a/.changeset/core-major.md b/.changeset/core-major.md deleted file mode 100644 index 00470246ac..0000000000 --- a/.changeset/core-major.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@udecode/slate-react': major ---- - -- Add `slate-dom` as a peer dependency -- Update `slate-react` peer dependency to `>=0.111.0` diff --git a/.changeset/core-minor.md b/.changeset/core-minor.md deleted file mode 100644 index 1a31281ec8..0000000000 --- a/.changeset/core-minor.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -'@udecode/plate-core': minor ---- - -- `Plate` store: add `containerRef`. This is used by some plugins like `CursorOverlay`. -- Add `useEditorContainerRef` selector hook. You can pass the returned ref to your editor scroll container. -- `usePlateEditor` options: `value` can now be a callback function to get the value from the editor -- `editor.key` is now using `nanoid()` -- `editor.uid`: new property added by `Plate` to uniquely identify the editor. The difference with `editor.key` is that `uid` supports SSR hydration. This can be passed to the editor container as `id` prop. -- `render.aboveNodes` and `render.belowNodes` now support `useElement` -- `PlatePlugin.inject` new properties: - - `excludePlugins?: string[]` - - `excludeBelowPlugins?: string[]` - - `maxLevel?: number` - - `isLeaf?: boolean` - - `isBlock?: boolean` - - `isElement?: boolean` -- Add `getInjectMatch(editor, plugin)` to get a plugin inject match function. diff --git a/.changeset/core.md b/.changeset/core.md deleted file mode 100644 index e3c7f5fc40..0000000000 --- a/.changeset/core.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@udecode/plate-core': patch ---- - -- `Plate` now warns if multiple instances of `@udecode/plate-core` are detected. Use `suppressInstanceWarning` to suppress the warning. diff --git a/.changeset/cursor copy.md b/.changeset/cursor copy.md deleted file mode 100644 index 95cbd669bf..0000000000 --- a/.changeset/cursor copy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@udecode/plate-cursor': patch ---- - -Deprecated, use `@udecode/plate-selection` instead. diff --git a/.changeset/cursor.md b/.changeset/cursor.md deleted file mode 100644 index e63bf7dba4..0000000000 --- a/.changeset/cursor.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@udecode/plate-selection': minor ---- - -- New plugin `CursorOverlayPlugin` -- `useCursorOverlay` now supports collapsed selection using `minSelectionWidth = 1` -- selectable depends now on `data-block-id` instead of `data-key` -- Fix a bug when deleting selected blocks without id -- Fix `useBlockSelected`: use `id` parameter if defined diff --git a/.changeset/dnd.md b/.changeset/dnd.md deleted file mode 100644 index ebb89406b9..0000000000 --- a/.changeset/dnd.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@udecode/plate-dnd': minor ---- - -- Dragging `dropEffect` is now `move` instead of `copy` -- Fix drag bug when dragging an element without id diff --git a/.changeset/heading.md b/.changeset/heading.md deleted file mode 100644 index 87f5c50ba2..0000000000 --- a/.changeset/heading.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@udecode/plate-heading': major -'@udecode/plate-ai': major ---- - -- Remove `scrollContainerSelector` option in favor of `useEditorContainerRef` diff --git a/.changeset/html.md b/.changeset/html.md deleted file mode 100644 index f6a80fefae..0000000000 --- a/.changeset/html.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@udecode/plate-html': patch ---- - -Sync with `@udecode/plate-core` diff --git a/.changeset/hyper.md b/.changeset/hyper.md deleted file mode 100644 index f9cdd00d4c..0000000000 --- a/.changeset/hyper.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@udecode/plate-test-utils': patch ---- - -- Strip (potentially injected by the compiler) attributes starting with `__`. -- Remove internal functions from exports. diff --git a/.changeset/id.md b/.changeset/id.md deleted file mode 100644 index 987d396ab5..0000000000 --- a/.changeset/id.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@udecode/plate-node-id': minor ---- - -- `idCreator` default is now `nanoid(10)` -- New option `filterInline` to filter inline elements. Default is `true`. -- `NodeIdPlugin`: - - add `normalizeInitialValue` that set node ids when missing, called before mount - - default behavior will normalize only the first and last node are missing id to avoid traversing the entire document - - you can disable it with `NodeIdPlugin.configure({ normalizeInitialValue: null })` - - you can force check all nodes with `NodeIdPlugin.configure({ options: { normalizeInitialValue: true } })` diff --git a/.changeset/itchy-cups-wonder.md b/.changeset/itchy-cups-wonder.md deleted file mode 100644 index e8bf89880e..0000000000 --- a/.changeset/itchy-cups-wonder.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@udecode/plate-dnd': patch ---- - -Fix: `useDndNode` calls a state setter during its render function diff --git a/.changeset/layout-major.md b/.changeset/layout-major.md deleted file mode 100644 index 10e7ed9166..0000000000 --- a/.changeset/layout-major.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@udecode/plate-layout': major ---- - -- Remove `toggleColumns` in favor of `toggleColumnGroup` -- Remove `insertEmptyColumn` in favor of `insertColumn` diff --git a/.changeset/md.md b/.changeset/md.md deleted file mode 100644 index e58eecd089..0000000000 --- a/.changeset/md.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@udecode/plate-markdown': minor ---- - -- `api.markdown.deserialize`: add second argument option: `processor?: (processor: Processor) => Processor`. You could use this to add other remark plugins like `remark-gfm`. -- Add `delete` text rule. This does not add support for strikethrough yet. diff --git a/.changeset/misc.md b/.changeset/misc.md deleted file mode 100644 index d813f385e8..0000000000 --- a/.changeset/misc.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@udecode/plate-line-height': patch -'@udecode/plate-alignment': patch -'@udecode/plate-indent': patch ---- - -Use `getInjectMatch(editor, plugin)` diff --git a/.changeset/table.md b/.changeset/table.md deleted file mode 100644 index b080baaea8..0000000000 --- a/.changeset/table.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@udecode/plate-table': patch ---- - -Fix: remove tables without any rows diff --git a/.changeset/utils.md b/.changeset/utils.md deleted file mode 100644 index 55bdd9943a..0000000000 --- a/.changeset/utils.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@udecode/plate-utils': minor ---- - -- `PlateElement` add `data-block-id` if `element.id` is defined, after editor mount to support SSR hydration. diff --git a/packages/ai/CHANGELOG.md b/packages/ai/CHANGELOG.md index f42c418f18..157d77e59b 100644 --- a/packages/ai/CHANGELOG.md +++ b/packages/ai/CHANGELOG.md @@ -1,5 +1,18 @@ # @udecode/plate-ai +## 40.0.0 + +### Major Changes + +- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – + - Remove `scrollContainerSelector` option in favor of `useEditorContainerRef` + +### Patch Changes + +- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – + - `CopilotPlugin`: reset on mouse down + - `CopilotPlugin`: auto trigger only on selection change + ## 39.3.7 ## 39.3.6 diff --git a/packages/ai/package.json b/packages/ai/package.json index 3d6684b3e6..63c3399c3d 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-ai", - "version": "39.3.7", + "version": "40.0.0", "description": "Text AI plugin for Plate", "keywords": [ "plate", @@ -50,16 +50,16 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-markdown": "39.2.0", - "@udecode/plate-selection": "39.3.7", + "@udecode/plate-markdown": "40.0.0", + "@udecode/plate-selection": "40.0.0", "lodash": "^4.17.21" }, "devDependencies": { - "@udecode/plate-combobox": "39.0.0", + "@udecode/plate-combobox": "40.0.0", "ai": "^3.4.10" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.13", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/alignment/CHANGELOG.md b/packages/alignment/CHANGELOG.md index 1579176602..8571b6050c 100644 --- a/packages/alignment/CHANGELOG.md +++ b/packages/alignment/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-alignment +## 40.0.0 + +### Patch Changes + +- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – Use `getInjectMatch(editor, plugin)` + ## 39.0.0 ## 38.0.1 diff --git a/packages/alignment/package.json b/packages/alignment/package.json index 3b4755b30c..c10aaa33be 100644 --- a/packages/alignment/package.json +++ b/packages/alignment/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-alignment", - "version": "39.0.0", + "version": "40.0.0", "description": "Text alignment plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/autoformat/CHANGELOG.md b/packages/autoformat/CHANGELOG.md index b56821000b..a8ffa5582f 100644 --- a/packages/autoformat/CHANGELOG.md +++ b/packages/autoformat/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-autoformat +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/autoformat/package.json b/packages/autoformat/package.json index 4e4042b083..5ddd8a0142 100644 --- a/packages/autoformat/package.json +++ b/packages/autoformat/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-autoformat", - "version": "39.0.0", + "version": "40.0.0", "description": "Autoformatting plugin for Plate", "keywords": [ "plate", @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/basic-elements/CHANGELOG.md b/packages/basic-elements/CHANGELOG.md index 16279ea25c..4785d4e178 100644 --- a/packages/basic-elements/CHANGELOG.md +++ b/packages/basic-elements/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-basic-elements +## 40.0.0 + ## 39.0.0 ## 38.0.12 diff --git a/packages/basic-elements/package.json b/packages/basic-elements/package.json index 4ed5486216..4686d45234 100644 --- a/packages/basic-elements/package.json +++ b/packages/basic-elements/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-basic-elements", - "version": "39.0.0", + "version": "40.0.0", "description": "Basic elements plugin for Plate", "keywords": [ "plate", @@ -50,15 +50,15 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-block-quote": "39.0.0", - "@udecode/plate-code-block": "39.0.0", - "@udecode/plate-heading": "39.0.0" + "@udecode/plate-block-quote": "40.0.0", + "@udecode/plate-code-block": "40.0.0", + "@udecode/plate-heading": "40.0.0" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/basic-marks/CHANGELOG.md b/packages/basic-marks/CHANGELOG.md index 95b1d48f83..144038a3cb 100644 --- a/packages/basic-marks/CHANGELOG.md +++ b/packages/basic-marks/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-basic-marks +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/basic-marks/package.json b/packages/basic-marks/package.json index c78c97fa31..da15fba9d4 100644 --- a/packages/basic-marks/package.json +++ b/packages/basic-marks/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-basic-marks", - "version": "39.0.0", + "version": "40.0.0", "description": "Basic marks plugin for Plate", "keywords": [ "plate", @@ -52,7 +52,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/block-quote/CHANGELOG.md b/packages/block-quote/CHANGELOG.md index c7044f1dee..68f58452eb 100644 --- a/packages/block-quote/CHANGELOG.md +++ b/packages/block-quote/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-block-quote +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/block-quote/package.json b/packages/block-quote/package.json index 80c72e6b7d..185dd70f7c 100644 --- a/packages/block-quote/package.json +++ b/packages/block-quote/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-block-quote", - "version": "39.0.0", + "version": "40.0.0", "description": "Block quote plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/break/CHANGELOG.md b/packages/break/CHANGELOG.md index 36b795a5eb..3dee5d16de 100644 --- a/packages/break/CHANGELOG.md +++ b/packages/break/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-break +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/break/package.json b/packages/break/package.json index 7962dd4167..e2f0fed872 100644 --- a/packages/break/package.json +++ b/packages/break/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-break", - "version": "39.0.0", + "version": "40.0.0", "description": "Insert break plugins for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/callout/CHANGELOG.md b/packages/callout/CHANGELOG.md index 33bf359a77..5183b3a14c 100644 --- a/packages/callout/CHANGELOG.md +++ b/packages/callout/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-callout +## 40.0.0 + ## 39.2.18 ### Patch Changes diff --git a/packages/callout/package.json b/packages/callout/package.json index 632b6ddbfe..dbfdcf6b4c 100644 --- a/packages/callout/package.json +++ b/packages/callout/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-callout", - "version": "39.2.18", + "version": "40.0.0", "description": "Callout plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/caption/CHANGELOG.md b/packages/caption/CHANGELOG.md index a4c0a4678c..8f3c9fe8fa 100644 --- a/packages/caption/CHANGELOG.md +++ b/packages/caption/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-caption +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/caption/package.json b/packages/caption/package.json index b1940844f7..d3571cc9a8 100644 --- a/packages/caption/package.json +++ b/packages/caption/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-caption", - "version": "39.0.0", + "version": "40.0.0", "description": "Primitive components for caption.", "keywords": [ "plate", @@ -55,7 +55,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/cloud/CHANGELOG.md b/packages/cloud/CHANGELOG.md index 4261c5bb7b..a74f487c80 100644 --- a/packages/cloud/CHANGELOG.md +++ b/packages/cloud/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-cloud +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/cloud/package.json b/packages/cloud/package.json index ab90fdf038..23f33d3293 100644 --- a/packages/cloud/package.json +++ b/packages/cloud/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-cloud", - "version": "39.0.0", + "version": "40.0.0", "description": "Plate plugin to add cloud based image and attachment uploads", "keywords": [ "plate", @@ -52,7 +52,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/code-block/CHANGELOG.md b/packages/code-block/CHANGELOG.md index 94dd1f94b3..d294785663 100644 --- a/packages/code-block/CHANGELOG.md +++ b/packages/code-block/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-code-block +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/code-block/package.json b/packages/code-block/package.json index 2fa904883a..83761ff215 100644 --- a/packages/code-block/package.json +++ b/packages/code-block/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-code-block", - "version": "39.0.0", + "version": "40.0.0", "description": "Code block plugin for Plate", "keywords": [ "plate", @@ -54,7 +54,7 @@ "prismjs": "^1.29.0" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/combobox/CHANGELOG.md b/packages/combobox/CHANGELOG.md index 390697b5e0..ef9e3d06bb 100644 --- a/packages/combobox/CHANGELOG.md +++ b/packages/combobox/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-combobox +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/combobox/package.json b/packages/combobox/package.json index 59768fb131..8c6c0515fd 100644 --- a/packages/combobox/package.json +++ b/packages/combobox/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-combobox", - "version": "39.0.0", + "version": "40.0.0", "description": "Combobox for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/comments/CHANGELOG.md b/packages/comments/CHANGELOG.md index d648927fe6..ced9d8112b 100644 --- a/packages/comments/CHANGELOG.md +++ b/packages/comments/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-comments +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/comments/package.json b/packages/comments/package.json index 69d98bb860..48ed999690 100644 --- a/packages/comments/package.json +++ b/packages/comments/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-comments", - "version": "39.0.0", + "version": "40.0.0", "description": "Plate plugin for comments", "keywords": [ "plate", @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/common/CHANGELOG.md b/packages/common/CHANGELOG.md index 99cee8139f..75ae30979b 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-common +## 40.0.0 + ## 39.2.21 ## 39.2.20 diff --git a/packages/common/package.json b/packages/common/package.json index b1459081d1..4309d7d676 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-common", - "version": "39.2.21", + "version": "40.0.0", "description": "Plate common packages for plugins", "keywords": [ "plate", @@ -50,12 +50,12 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-core": "39.2.21", - "@udecode/plate-utils": "39.2.21", + "@udecode/plate-core": "40.0.0", + "@udecode/plate-utils": "40.0.0", "@udecode/react-hotkeys": "37.0.0", "@udecode/react-utils": "39.0.0", "@udecode/slate": "39.2.1", - "@udecode/slate-react": "39.2.1", + "@udecode/slate-react": "40.0.0", "@udecode/slate-utils": "39.2.20", "@udecode/utils": "37.0.0" }, diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index a274af91d5..2e79b6c506 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,30 @@ # @udecode/plate-core +## 40.0.0 + +### Minor Changes + +- [`195163e6e3d612c1d016112b982e9d49213efb3d`](https://github.com/udecode/plate/commit/195163e6e3d612c1d016112b982e9d49213efb3d) by [@zbeyens](https://github.com/zbeyens) – + - `Plate` store: add `containerRef`. This is used by some plugins like `CursorOverlay`. + - Add `useEditorContainerRef` selector hook. You can pass the returned ref to your editor scroll container. + - `usePlateEditor` options: `value` can now be a callback function to get the value from the editor + - `editor.key` is now using `nanoid()` + - `editor.uid`: new property added by `Plate` to uniquely identify the editor. The difference with `editor.key` is that `uid` supports SSR hydration. This can be passed to the editor container as `id` prop. + - `render.aboveNodes` and `render.belowNodes` now support `useElement` + - `PlatePlugin.inject` new properties: + - `excludePlugins?: string[]` + - `excludeBelowPlugins?: string[]` + - `maxLevel?: number` + - `isLeaf?: boolean` + - `isBlock?: boolean` + - `isElement?: boolean` + - Add `getInjectMatch(editor, plugin)` to get a plugin inject match function. + +### Patch Changes + +- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – + - `Plate` now warns if multiple instances of `@udecode/plate-core` are detected. Use `suppressInstanceWarning` to suppress the warning. + ## 39.2.21 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 5be3843599..232e2da7c4 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-core", - "version": "39.2.21", + "version": "40.0.0", "description": "The core of Plate – a plugin system for slate", "keywords": [ "contentEditable", @@ -59,7 +59,7 @@ "@udecode/react-hotkeys": "37.0.0", "@udecode/react-utils": "39.0.0", "@udecode/slate": "39.2.1", - "@udecode/slate-react": "39.2.1", + "@udecode/slate-react": "40.0.0", "@udecode/slate-utils": "39.2.20", "@udecode/utils": "37.0.0", "clsx": "^2.1.1", diff --git a/packages/csv/CHANGELOG.md b/packages/csv/CHANGELOG.md index b3f1858b4b..e7083217fa 100644 --- a/packages/csv/CHANGELOG.md +++ b/packages/csv/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-serializer-csv +## 40.0.0 + ## 39.1.6 ## 39.0.1 diff --git a/packages/csv/package.json b/packages/csv/package.json index 40e469d387..346a742188 100644 --- a/packages/csv/package.json +++ b/packages/csv/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-csv", - "version": "39.1.6", + "version": "40.0.0", "description": "CSV serializer plugin for Plate", "keywords": [ "csv", @@ -46,7 +46,7 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-table": "39.1.6", + "@udecode/plate-table": "40.0.0", "papaparse": "^5.4.1" }, "devDependencies": { @@ -54,7 +54,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/cursor/CHANGELOG.md b/packages/cursor/CHANGELOG.md index 40caeb127b..96129c0763 100644 --- a/packages/cursor/CHANGELOG.md +++ b/packages/cursor/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-cursor +## 40.0.0 + +### Patch Changes + +- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – Deprecated, use `@udecode/plate-selection` instead. + ## 39.2.11 ### Patch Changes diff --git a/packages/cursor/package.json b/packages/cursor/package.json index bf28e04e47..b56ed469a0 100644 --- a/packages/cursor/package.json +++ b/packages/cursor/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-cursor", - "version": "39.2.11", + "version": "40.0.0", "description": "Cursor for Plate React", "keywords": [ "plate", @@ -47,7 +47,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/date/CHANGELOG.md b/packages/date/CHANGELOG.md index a9730e5bde..2f9a5bc88a 100644 --- a/packages/date/CHANGELOG.md +++ b/packages/date/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-date +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/date/package.json b/packages/date/package.json index a39a5c3f77..6c2bed6ff3 100644 --- a/packages/date/package.json +++ b/packages/date/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-date", - "version": "39.0.0", + "version": "40.0.0", "description": "Date plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.94.0", diff --git a/packages/diff/CHANGELOG.md b/packages/diff/CHANGELOG.md index 2a36fbcb55..5fc92e8509 100644 --- a/packages/diff/CHANGELOG.md +++ b/packages/diff/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-diff +## 40.0.0 + ## 39.0.0 ## 38.0.0 diff --git a/packages/diff/package.json b/packages/diff/package.json index 547ae21db7..b2af9e4145 100644 --- a/packages/diff/package.json +++ b/packages/diff/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-diff", - "version": "39.0.0", + "version": "40.0.0", "description": "Compute a diff of two Slate documents", "keywords": [ "plate", @@ -50,7 +50,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/dnd/CHANGELOG.md b/packages/dnd/CHANGELOG.md index 801eceed25..bf0d0582af 100644 --- a/packages/dnd/CHANGELOG.md +++ b/packages/dnd/CHANGELOG.md @@ -1,5 +1,17 @@ # @udecode/plate-dnd +## 40.0.0 + +### Minor Changes + +- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – + - Dragging `dropEffect` is now `move` instead of `copy` + - Fix drag bug when dragging an element without id + +### Patch Changes + +- [#3745](https://github.com/udecode/plate/pull/3745) by [@12joan](https://github.com/12joan) – Fix: `useDndNode` calls a state setter during its render function + ## 39.3.0 ### Patch Changes diff --git a/packages/dnd/package.json b/packages/dnd/package.json index a255b35f05..9e12ff09f0 100644 --- a/packages/dnd/package.json +++ b/packages/dnd/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-dnd", - "version": "39.3.0", + "version": "40.0.0", "description": "React drag and drop feature for Plate", "keywords": [ "plate", @@ -51,7 +51,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dnd": ">=14.0.0", "react-dnd-html5-backend": ">=14.0.0", diff --git a/packages/docx/CHANGELOG.md b/packages/docx/CHANGELOG.md index c4166474fe..f1d244b81e 100644 --- a/packages/docx/CHANGELOG.md +++ b/packages/docx/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-docx-serializer +## 40.0.0 + ## 39.3.3 ## 39.3.2 diff --git a/packages/docx/package.json b/packages/docx/package.json index ee6270e63f..fd022c549c 100644 --- a/packages/docx/package.json +++ b/packages/docx/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-docx", - "version": "39.3.3", + "version": "40.0.0", "description": "Docx serializer plugin for Plate", "keywords": [ "docx", @@ -46,18 +46,18 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-heading": "39.0.0", - "@udecode/plate-indent": "39.0.0", - "@udecode/plate-indent-list": "39.1.10", - "@udecode/plate-media": "39.3.3", - "@udecode/plate-table": "39.1.6", + "@udecode/plate-heading": "40.0.0", + "@udecode/plate-indent": "40.0.0", + "@udecode/plate-indent-list": "40.0.0", + "@udecode/plate-media": "40.0.0", + "@udecode/plate-table": "40.0.0", "validator": "^13.12.0" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/emoji/CHANGELOG.md b/packages/emoji/CHANGELOG.md index 6bd50c134e..83f69d1fde 100644 --- a/packages/emoji/CHANGELOG.md +++ b/packages/emoji/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-emoji +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/emoji/package.json b/packages/emoji/package.json index e94ad9528d..220a42faec 100644 --- a/packages/emoji/package.json +++ b/packages/emoji/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-emoji", - "version": "39.0.0", + "version": "40.0.0", "description": "Emoji plugin for Plate", "keywords": [ "plate", @@ -51,13 +51,13 @@ }, "dependencies": { "@emoji-mart/data": "^1.2.1", - "@udecode/plate-combobox": "39.0.0" + "@udecode/plate-combobox": "40.0.0" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/excalidraw/CHANGELOG.md b/packages/excalidraw/CHANGELOG.md index 2c8f7041f1..9467f16dcf 100644 --- a/packages/excalidraw/CHANGELOG.md +++ b/packages/excalidraw/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-excalidraw +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/excalidraw/package.json b/packages/excalidraw/package.json index dd3b9a8d69..6752aab7b3 100644 --- a/packages/excalidraw/package.json +++ b/packages/excalidraw/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-excalidraw", - "version": "39.0.0", + "version": "40.0.0", "description": "Excalidraw plugin for Plate", "keywords": [ "plate", @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/find-replace/CHANGELOG.md b/packages/find-replace/CHANGELOG.md index f4cc098e02..215a86f413 100644 --- a/packages/find-replace/CHANGELOG.md +++ b/packages/find-replace/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-find-replace +## 40.0.0 + ## 39.0.0 ## 38.0.0 diff --git a/packages/find-replace/package.json b/packages/find-replace/package.json index 3757e19228..7ef05d2aa0 100644 --- a/packages/find-replace/package.json +++ b/packages/find-replace/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-find-replace", - "version": "39.0.0", + "version": "40.0.0", "description": "Find and replace plugin for Plate", "keywords": [ "plate", @@ -47,7 +47,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/floating/CHANGELOG.md b/packages/floating/CHANGELOG.md index 8ca7ce9238..9ab312465e 100644 --- a/packages/floating/CHANGELOG.md +++ b/packages/floating/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-floating +## 40.0.0 + ## 39.1.6 ### Patch Changes diff --git a/packages/floating/package.json b/packages/floating/package.json index 452859fddc..394befa6a0 100644 --- a/packages/floating/package.json +++ b/packages/floating/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-floating", - "version": "39.1.6", + "version": "40.0.0", "description": "React floating UI for Plate", "keywords": [ "plate", @@ -51,7 +51,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/font/CHANGELOG.md b/packages/font/CHANGELOG.md index 87b50eb06f..4b531304b1 100644 --- a/packages/font/CHANGELOG.md +++ b/packages/font/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-font +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/font/package.json b/packages/font/package.json index 13655dbfbe..962948cd57 100644 --- a/packages/font/package.json +++ b/packages/font/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-font", - "version": "39.0.0", + "version": "40.0.0", "description": "Font plugins for Plate", "keywords": [ "plate", @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/heading/CHANGELOG.md b/packages/heading/CHANGELOG.md index 6fdcbdefc5..00c045f43b 100644 --- a/packages/heading/CHANGELOG.md +++ b/packages/heading/CHANGELOG.md @@ -1,5 +1,12 @@ # @udecode/plate-heading +## 40.0.0 + +### Major Changes + +- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – + - Remove `scrollContainerSelector` option in favor of `useEditorContainerRef` + ## 39.0.0 ## 38.0.12 diff --git a/packages/heading/package.json b/packages/heading/package.json index a0be475cd0..7fee708715 100644 --- a/packages/heading/package.json +++ b/packages/heading/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-heading", - "version": "39.0.0", + "version": "40.0.0", "description": "Headings plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/highlight/CHANGELOG.md b/packages/highlight/CHANGELOG.md index 5315e0f0fd..2ef7a57a94 100644 --- a/packages/highlight/CHANGELOG.md +++ b/packages/highlight/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-highlight +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/highlight/package.json b/packages/highlight/package.json index 9a707488e6..54efbe56b9 100644 --- a/packages/highlight/package.json +++ b/packages/highlight/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-highlight", - "version": "39.0.0", + "version": "40.0.0", "description": "Highlight plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/horizontal-rule/CHANGELOG.md b/packages/horizontal-rule/CHANGELOG.md index 93edc8dee2..a09c599606 100644 --- a/packages/horizontal-rule/CHANGELOG.md +++ b/packages/horizontal-rule/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-horizontal-rule +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/horizontal-rule/package.json b/packages/horizontal-rule/package.json index 26cfcb410e..3911459f66 100644 --- a/packages/horizontal-rule/package.json +++ b/packages/horizontal-rule/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-horizontal-rule", - "version": "39.0.0", + "version": "40.0.0", "description": "Horizontal rule plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/html/CHANGELOG.md b/packages/html/CHANGELOG.md index 6e9bf29b5f..b8c4f542b8 100644 --- a/packages/html/CHANGELOG.md +++ b/packages/html/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-serializer-html +## 40.0.0 + +### Patch Changes + +- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – Sync with `@udecode/plate-core` + ## 39.0.0 ## 38.0.1 diff --git a/packages/html/package.json b/packages/html/package.json index 8ace0a8e98..0f24ec6fb1 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-html", - "version": "39.0.0", + "version": "40.0.0", "description": "HTML serializer plugin for Plate", "keywords": [ "html", @@ -59,7 +59,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/indent-list/CHANGELOG.md b/packages/indent-list/CHANGELOG.md index 9f131db76a..90826f171f 100644 --- a/packages/indent-list/CHANGELOG.md +++ b/packages/indent-list/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-indent-list +## 40.0.0 + ## 39.1.10 ### Patch Changes diff --git a/packages/indent-list/package.json b/packages/indent-list/package.json index ef4fedeb7d..407fa22749 100644 --- a/packages/indent-list/package.json +++ b/packages/indent-list/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-indent-list", - "version": "39.1.10", + "version": "40.0.0", "description": "Indent list plugin for Plate", "keywords": [ "plate", @@ -50,15 +50,15 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-indent": "39.0.0", - "@udecode/plate-list": "39.0.0", + "@udecode/plate-indent": "40.0.0", + "@udecode/plate-list": "40.0.0", "clsx": "^2.1.1" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/indent/CHANGELOG.md b/packages/indent/CHANGELOG.md index ee4f70b3ae..3c055058f8 100644 --- a/packages/indent/CHANGELOG.md +++ b/packages/indent/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-indent +## 40.0.0 + +### Patch Changes + +- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – Use `getInjectMatch(editor, plugin)` + ## 39.0.0 ## 38.0.1 diff --git a/packages/indent/package.json b/packages/indent/package.json index b258a1103c..32a5aa3d66 100644 --- a/packages/indent/package.json +++ b/packages/indent/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-indent", - "version": "39.0.0", + "version": "40.0.0", "description": "Indent plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/juice/CHANGELOG.md b/packages/juice/CHANGELOG.md index 54cc8b79ef..d4d5c58fd8 100644 --- a/packages/juice/CHANGELOG.md +++ b/packages/juice/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-juice +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/juice/package.json b/packages/juice/package.json index ef5b644275..b06ecdd88e 100644 --- a/packages/juice/package.json +++ b/packages/juice/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-juice", - "version": "39.0.0", + "version": "40.0.0", "description": "HTML juice plugin for Plate", "keywords": [ "plate", @@ -50,7 +50,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/kbd/CHANGELOG.md b/packages/kbd/CHANGELOG.md index dd5f06c5c1..0387ab18ad 100644 --- a/packages/kbd/CHANGELOG.md +++ b/packages/kbd/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-kbd +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/kbd/package.json b/packages/kbd/package.json index d87a2a8945..6c11993ee7 100644 --- a/packages/kbd/package.json +++ b/packages/kbd/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-kbd", - "version": "39.0.0", + "version": "40.0.0", "description": "Keyboard input plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/layout/CHANGELOG.md b/packages/layout/CHANGELOG.md index 4a021767dc..82d2d7d630 100644 --- a/packages/layout/CHANGELOG.md +++ b/packages/layout/CHANGELOG.md @@ -1,5 +1,23 @@ # @udecode/plate-layout +## 40.0.0 + +### Major Changes + +- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – + - Remove `toggleColumns` in favor of `toggleColumnGroup` + - Remove `insertEmptyColumn` in favor of `insertColumn` + +### Minor Changes + +- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – + - `ColumnPlugin`: + - unwrap columns when there is only one column + - remove column group when it has no column children + - remove column when it has no children + - Add `insertColumnGroup` + - Add `toggleColumnGroup` + ## 39.0.0 ## 38.0.1 diff --git a/packages/layout/package.json b/packages/layout/package.json index e8f62dc922..e2cabacbe3 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-layout", - "version": "39.0.0", + "version": "40.0.0", "description": "Layout plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/line-height/CHANGELOG.md b/packages/line-height/CHANGELOG.md index e5fa78f5a9..513f32e0aa 100644 --- a/packages/line-height/CHANGELOG.md +++ b/packages/line-height/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-line-height +## 40.0.0 + +### Patch Changes + +- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – Use `getInjectMatch(editor, plugin)` + ## 39.0.0 ## 38.0.1 diff --git a/packages/line-height/package.json b/packages/line-height/package.json index a5707142ab..1d472a72c5 100644 --- a/packages/line-height/package.json +++ b/packages/line-height/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-line-height", - "version": "39.0.0", + "version": "40.0.0", "description": "Line height plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/link/CHANGELOG.md b/packages/link/CHANGELOG.md index 3bd52bd286..848317540f 100644 --- a/packages/link/CHANGELOG.md +++ b/packages/link/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-link +## 40.0.0 + ## 39.1.9 ### Patch Changes diff --git a/packages/link/package.json b/packages/link/package.json index 4ff061a0b2..14aa69bed3 100644 --- a/packages/link/package.json +++ b/packages/link/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-link", - "version": "39.1.9", + "version": "40.0.0", "description": "Link plugin for Plate", "keywords": [ "plate", @@ -50,14 +50,14 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-floating": "39.1.6", - "@udecode/plate-normalizers": "39.0.0" + "@udecode/plate-floating": "40.0.0", + "@udecode/plate-normalizers": "40.0.0" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/list/CHANGELOG.md b/packages/list/CHANGELOG.md index 326f827e53..115140f8e5 100644 --- a/packages/list/CHANGELOG.md +++ b/packages/list/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-list +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/list/package.json b/packages/list/package.json index 2d16d4f0f2..d0b22cd2f6 100644 --- a/packages/list/package.json +++ b/packages/list/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-list", - "version": "39.0.0", + "version": "40.0.0", "description": "List plugin for Plate", "keywords": [ "plate", @@ -50,14 +50,14 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-reset-node": "39.0.0", + "@udecode/plate-reset-node": "40.0.0", "lodash": "^4.17.21" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/markdown/CHANGELOG.md b/packages/markdown/CHANGELOG.md index 621236e0ed..ef3cdf4c63 100644 --- a/packages/markdown/CHANGELOG.md +++ b/packages/markdown/CHANGELOG.md @@ -1,5 +1,13 @@ # @udecode/plate-md-serializer +## 40.0.0 + +### Minor Changes + +- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – + - `api.markdown.deserialize`: add second argument option: `processor?: (processor: Processor) => Processor`. You could use this to add other remark plugins like `remark-gfm`. + - Add `delete` text rule. This does not add support for strikethrough yet. + ## 39.2.0 ### Minor Changes diff --git a/packages/markdown/package.json b/packages/markdown/package.json index fe4be6ca06..ae41231f5b 100644 --- a/packages/markdown/package.json +++ b/packages/markdown/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-markdown", - "version": "39.2.0", + "version": "40.0.0", "description": "Markdown serializer plugin for Plate", "keywords": [ "markdown", @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/math/CHANGELOG.md b/packages/math/CHANGELOG.md index c8e8e8b7ac..fa5f9241fe 100644 --- a/packages/math/CHANGELOG.md +++ b/packages/math/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-math +## 40.0.0 + ## 39.2.0 ### Minor Changes diff --git a/packages/math/package.json b/packages/math/package.json index 5622d98ffb..fda23d1233 100644 --- a/packages/math/package.json +++ b/packages/math/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-math", - "version": "39.2.0", + "version": "40.0.0", "description": "Math plugin for Plate", "keywords": [ "plate", @@ -57,7 +57,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/media/CHANGELOG.md b/packages/media/CHANGELOG.md index e6364460d1..5f0ef89d99 100644 --- a/packages/media/CHANGELOG.md +++ b/packages/media/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-media +## 40.0.0 + ## 39.3.3 ### Patch Changes diff --git a/packages/media/package.json b/packages/media/package.json index 702a97f2ee..20df695e13 100644 --- a/packages/media/package.json +++ b/packages/media/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-media", - "version": "39.3.3", + "version": "40.0.0", "description": "Plate Media plugin", "keywords": [ "plate", @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/mention/CHANGELOG.md b/packages/mention/CHANGELOG.md index 49f8b75e85..eae5ddf65e 100644 --- a/packages/mention/CHANGELOG.md +++ b/packages/mention/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-mention +## 40.0.0 + ## 39.3.4 ### Patch Changes diff --git a/packages/mention/package.json b/packages/mention/package.json index 9283ac17ef..3521764725 100644 --- a/packages/mention/package.json +++ b/packages/mention/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-mention", - "version": "39.3.4", + "version": "40.0.0", "description": "Mention plugin for Plate", "keywords": [ "plate", @@ -50,13 +50,13 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-combobox": "39.0.0" + "@udecode/plate-combobox": "40.0.0" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/node-id/CHANGELOG.md b/packages/node-id/CHANGELOG.md index c55f08c4d3..5259e78fbf 100644 --- a/packages/node-id/CHANGELOG.md +++ b/packages/node-id/CHANGELOG.md @@ -1,5 +1,18 @@ # @udecode/plate-node-id +## 40.0.0 + +### Minor Changes + +- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – + - `idCreator` default is now `nanoid(10)` + - New option `filterInline` to filter inline elements. Default is `true`. + - `NodeIdPlugin`: + - add `normalizeInitialValue` that set node ids when missing, called before mount + - default behavior will normalize only the first and last node are missing id to avoid traversing the entire document + - you can disable it with `NodeIdPlugin.configure({ normalizeInitialValue: null })` + - you can force check all nodes with `NodeIdPlugin.configure({ options: { normalizeInitialValue: true } })` + ## 39.0.0 ## 38.0.1 diff --git a/packages/node-id/package.json b/packages/node-id/package.json index 30fa31135b..7375bb4b94 100644 --- a/packages/node-id/package.json +++ b/packages/node-id/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-node-id", - "version": "39.0.0", + "version": "40.0.0", "description": "Node ID plugin for Plate", "keywords": [ "plate", @@ -50,7 +50,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/normalizers/CHANGELOG.md b/packages/normalizers/CHANGELOG.md index 13611ad63d..302516e98b 100644 --- a/packages/normalizers/CHANGELOG.md +++ b/packages/normalizers/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-normalizers +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/normalizers/package.json b/packages/normalizers/package.json index c621dbe1e6..ee84f93119 100644 --- a/packages/normalizers/package.json +++ b/packages/normalizers/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-normalizers", - "version": "39.0.0", + "version": "40.0.0", "description": "Normalizer plugins for Plate", "keywords": [ "plate", @@ -50,7 +50,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/plate-utils/CHANGELOG.md b/packages/plate-utils/CHANGELOG.md index 459f0c7ebc..d87eff0525 100644 --- a/packages/plate-utils/CHANGELOG.md +++ b/packages/plate-utils/CHANGELOG.md @@ -1,5 +1,12 @@ # @udecode/plate-utils +## 40.0.0 + +### Minor Changes + +- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – + - `PlateElement` add `data-block-id` if `element.id` is defined, after editor mount to support SSR hydration. + ## 39.2.21 ## 39.2.20 diff --git a/packages/plate-utils/package.json b/packages/plate-utils/package.json index 9641a171b0..86dbdf9094 100644 --- a/packages/plate-utils/package.json +++ b/packages/plate-utils/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-utils", - "version": "39.2.21", + "version": "40.0.0", "description": "Plate utils", "keywords": [ "plate", @@ -50,10 +50,10 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-core": "39.2.21", + "@udecode/plate-core": "40.0.0", "@udecode/react-utils": "39.0.0", "@udecode/slate": "39.2.1", - "@udecode/slate-react": "39.2.1", + "@udecode/slate-react": "40.0.0", "@udecode/slate-utils": "39.2.20", "@udecode/utils": "37.0.0", "clsx": "^2.1.1", diff --git a/packages/plate/CHANGELOG.md b/packages/plate/CHANGELOG.md index deffaefcb7..70df001770 100644 --- a/packages/plate/CHANGELOG.md +++ b/packages/plate/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate +## 40.0.0 + ## 39.3.7 ## 39.3.6 diff --git a/packages/plate/package.json b/packages/plate/package.json index 2ee71e78c2..b0c3e60ffa 100644 --- a/packages/plate/package.json +++ b/packages/plate/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate", - "version": "39.3.7", + "version": "40.0.0", "description": "Plate – a plugin system for slate", "keywords": [ "contentEditable", @@ -56,48 +56,48 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-alignment": "39.0.0", - "@udecode/plate-autoformat": "39.0.0", - "@udecode/plate-basic-elements": "39.0.0", - "@udecode/plate-basic-marks": "39.0.0", - "@udecode/plate-block-quote": "39.0.0", - "@udecode/plate-break": "39.0.0", - "@udecode/plate-code-block": "39.0.0", - "@udecode/plate-combobox": "39.0.0", - "@udecode/plate-comments": "39.0.0", - "@udecode/plate-common": "39.2.21", - "@udecode/plate-csv": "39.1.6", - "@udecode/plate-diff": "39.0.0", - "@udecode/plate-docx": "39.3.3", - "@udecode/plate-find-replace": "39.0.0", - "@udecode/plate-floating": "39.1.6", - "@udecode/plate-font": "39.0.0", - "@udecode/plate-heading": "39.0.0", - "@udecode/plate-highlight": "39.0.0", - "@udecode/plate-horizontal-rule": "39.0.0", - "@udecode/plate-html": "39.0.0", - "@udecode/plate-indent": "39.0.0", - "@udecode/plate-indent-list": "39.1.10", - "@udecode/plate-kbd": "39.0.0", - "@udecode/plate-layout": "39.0.0", - "@udecode/plate-line-height": "39.0.0", - "@udecode/plate-link": "39.1.9", - "@udecode/plate-list": "39.0.0", - "@udecode/plate-markdown": "39.2.0", - "@udecode/plate-media": "39.3.3", - "@udecode/plate-mention": "39.3.4", - "@udecode/plate-node-id": "39.0.0", - "@udecode/plate-normalizers": "39.0.0", - "@udecode/plate-reset-node": "39.0.0", - "@udecode/plate-resizable": "39.1.6", - "@udecode/plate-select": "39.0.0", - "@udecode/plate-selection": "39.3.7", - "@udecode/plate-slash-command": "39.0.0", - "@udecode/plate-suggestion": "39.0.0", - "@udecode/plate-tabbable": "39.0.0", - "@udecode/plate-table": "39.1.6", - "@udecode/plate-toggle": "39.0.0", - "@udecode/plate-trailing-block": "39.0.0" + "@udecode/plate-alignment": "40.0.0", + "@udecode/plate-autoformat": "40.0.0", + "@udecode/plate-basic-elements": "40.0.0", + "@udecode/plate-basic-marks": "40.0.0", + "@udecode/plate-block-quote": "40.0.0", + "@udecode/plate-break": "40.0.0", + "@udecode/plate-code-block": "40.0.0", + "@udecode/plate-combobox": "40.0.0", + "@udecode/plate-comments": "40.0.0", + "@udecode/plate-common": "40.0.0", + "@udecode/plate-csv": "40.0.0", + "@udecode/plate-diff": "40.0.0", + "@udecode/plate-docx": "40.0.0", + "@udecode/plate-find-replace": "40.0.0", + "@udecode/plate-floating": "40.0.0", + "@udecode/plate-font": "40.0.0", + "@udecode/plate-heading": "40.0.0", + "@udecode/plate-highlight": "40.0.0", + "@udecode/plate-horizontal-rule": "40.0.0", + "@udecode/plate-html": "40.0.0", + "@udecode/plate-indent": "40.0.0", + "@udecode/plate-indent-list": "40.0.0", + "@udecode/plate-kbd": "40.0.0", + "@udecode/plate-layout": "40.0.0", + "@udecode/plate-line-height": "40.0.0", + "@udecode/plate-link": "40.0.0", + "@udecode/plate-list": "40.0.0", + "@udecode/plate-markdown": "40.0.0", + "@udecode/plate-media": "40.0.0", + "@udecode/plate-mention": "40.0.0", + "@udecode/plate-node-id": "40.0.0", + "@udecode/plate-normalizers": "40.0.0", + "@udecode/plate-reset-node": "40.0.0", + "@udecode/plate-resizable": "40.0.0", + "@udecode/plate-select": "40.0.0", + "@udecode/plate-selection": "40.0.0", + "@udecode/plate-slash-command": "40.0.0", + "@udecode/plate-suggestion": "40.0.0", + "@udecode/plate-tabbable": "40.0.0", + "@udecode/plate-table": "40.0.0", + "@udecode/plate-toggle": "40.0.0", + "@udecode/plate-trailing-block": "40.0.0" }, "peerDependencies": { "react": ">=16.8.0", diff --git a/packages/playwright/CHANGELOG.md b/packages/playwright/CHANGELOG.md index 6a186dc4fe..b97c6ef63c 100644 --- a/packages/playwright/CHANGELOG.md +++ b/packages/playwright/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-playwright +## 40.0.0 + ## 39.0.0 ## 38.0.0 diff --git a/packages/playwright/package.json b/packages/playwright/package.json index 2246dee175..dcf73da6cc 100644 --- a/packages/playwright/package.json +++ b/packages/playwright/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-playwright", - "version": "39.0.0", + "version": "40.0.0", "description": "Interact with a Plate editor from inside a Playwright test", "keywords": [ "plate", @@ -46,7 +46,7 @@ }, "peerDependencies": { "@playwright/test": ">=1.42.1", - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/reset-node/CHANGELOG.md b/packages/reset-node/CHANGELOG.md index d5472d6546..f99d13a07b 100644 --- a/packages/reset-node/CHANGELOG.md +++ b/packages/reset-node/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-reset-node +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/reset-node/package.json b/packages/reset-node/package.json index a3709d31cc..d2eeb95322 100644 --- a/packages/reset-node/package.json +++ b/packages/reset-node/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-reset-node", - "version": "39.0.0", + "version": "40.0.0", "description": "Reset node plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/resizable/CHANGELOG.md b/packages/resizable/CHANGELOG.md index 43fdfa8b3e..a76b026eb5 100644 --- a/packages/resizable/CHANGELOG.md +++ b/packages/resizable/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-resizable +## 40.0.0 + ## 39.1.6 ### Patch Changes diff --git a/packages/resizable/package.json b/packages/resizable/package.json index 8abf43c2a4..ff06bbf8bc 100644 --- a/packages/resizable/package.json +++ b/packages/resizable/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-resizable", - "version": "39.1.6", + "version": "40.0.0", "description": "Plate React resize components", "keywords": [ "plate", @@ -46,7 +46,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/select/CHANGELOG.md b/packages/select/CHANGELOG.md index 7707117bbb..0ace49dff0 100644 --- a/packages/select/CHANGELOG.md +++ b/packages/select/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-select +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/select/package.json b/packages/select/package.json index 83eadb230c..c868caff10 100644 --- a/packages/select/package.json +++ b/packages/select/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-select", - "version": "39.0.0", + "version": "40.0.0", "description": "Select plugins for Plate", "keywords": [ "plate", @@ -47,7 +47,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/selection/CHANGELOG.md b/packages/selection/CHANGELOG.md index 1571cc7c07..258517dd77 100644 --- a/packages/selection/CHANGELOG.md +++ b/packages/selection/CHANGELOG.md @@ -1,5 +1,16 @@ # @udecode/plate-selection +## 40.0.0 + +### Minor Changes + +- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – + - New plugin `CursorOverlayPlugin` + - `useCursorOverlay` now supports collapsed selection using `minSelectionWidth = 1` + - selectable depends now on `data-block-id` instead of `data-key` + - Fix a bug when deleting selected blocks without id + - Fix `useBlockSelected`: use `id` parameter if defined + ## 39.3.7 ### Patch Changes diff --git a/packages/selection/package.json b/packages/selection/package.json index 9831950d64..d36284362b 100644 --- a/packages/selection/package.json +++ b/packages/selection/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-selection", - "version": "39.3.7", + "version": "40.0.0", "description": "Plate selection plugins", "keywords": [ "plate", @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/slash-command/CHANGELOG.md b/packages/slash-command/CHANGELOG.md index 00db56bfa3..5b5800ef8e 100644 --- a/packages/slash-command/CHANGELOG.md +++ b/packages/slash-command/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-slash-command +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/slash-command/package.json b/packages/slash-command/package.json index 447ac92795..052c0b8064 100644 --- a/packages/slash-command/package.json +++ b/packages/slash-command/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-slash-command", - "version": "39.0.0", + "version": "40.0.0", "description": "Slash commands plugin for Plate", "keywords": [ "plate", @@ -50,13 +50,13 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-combobox": "39.0.0" + "@udecode/plate-combobox": "40.0.0" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/slate-react/CHANGELOG.md b/packages/slate-react/CHANGELOG.md index 1143351c39..09c0bbb21c 100644 --- a/packages/slate-react/CHANGELOG.md +++ b/packages/slate-react/CHANGELOG.md @@ -1,5 +1,13 @@ # @udecode/slate-react +## 40.0.0 + +### Major Changes + +- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – + - Add `slate-dom` as a peer dependency + - Update `slate-react` peer dependency to `>=0.111.0` + ## 39.2.1 ## 39.1.4 diff --git a/packages/slate-react/package.json b/packages/slate-react/package.json index 1e96024e12..3a74e20201 100644 --- a/packages/slate-react/package.json +++ b/packages/slate-react/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/slate-react", - "version": "39.2.1", + "version": "40.0.0", "description": "Slate extension", "keywords": [ "slate" diff --git a/packages/suggestion/CHANGELOG.md b/packages/suggestion/CHANGELOG.md index a7a809193d..b295782996 100644 --- a/packages/suggestion/CHANGELOG.md +++ b/packages/suggestion/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-suggestion +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/suggestion/package.json b/packages/suggestion/package.json index 0c8513147d..2c84519011 100644 --- a/packages/suggestion/package.json +++ b/packages/suggestion/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-suggestion", - "version": "39.0.0", + "version": "40.0.0", "description": "Plate plugin for suggestions", "keywords": [ "plate", @@ -49,14 +49,14 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-diff": "39.0.0", + "@udecode/plate-diff": "40.0.0", "lodash": "^4.17.21" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/tabbable/CHANGELOG.md b/packages/tabbable/CHANGELOG.md index b66e3452a8..fcf523c40d 100644 --- a/packages/tabbable/CHANGELOG.md +++ b/packages/tabbable/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-tabbable +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/tabbable/package.json b/packages/tabbable/package.json index 50843d4131..57642ebeee 100644 --- a/packages/tabbable/package.json +++ b/packages/tabbable/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-tabbable", - "version": "39.0.0", + "version": "40.0.0", "description": "Tab into and out of void nodes and other elements", "keywords": [ "plate", @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/table/CHANGELOG.md b/packages/table/CHANGELOG.md index 3d491437a7..f1cc0be81c 100644 --- a/packages/table/CHANGELOG.md +++ b/packages/table/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-table +## 40.0.0 + +### Patch Changes + +- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – Fix: remove tables without any rows + ## 39.1.6 ## 39.0.1 diff --git a/packages/table/package.json b/packages/table/package.json index 212200fb56..4edf112ad1 100644 --- a/packages/table/package.json +++ b/packages/table/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-table", - "version": "39.1.6", + "version": "40.0.0", "description": "Table plugin for Plate", "keywords": [ "plate", @@ -50,14 +50,14 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-resizable": "39.1.6", + "@udecode/plate-resizable": "40.0.0", "lodash": "^4.17.21" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/test-utils/CHANGELOG.md b/packages/test-utils/CHANGELOG.md index b872244914..89d4df7313 100644 --- a/packages/test-utils/CHANGELOG.md +++ b/packages/test-utils/CHANGELOG.md @@ -1,5 +1,13 @@ # @udecode/plate-test-utils +## 40.0.0 + +### Patch Changes + +- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – + - Strip (potentially injected by the compiler) attributes starting with `__`. + - Remove internal functions from exports. + ## 37.0.9 ### Patch Changes diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index 01d003b776..9c5c5011e1 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-test-utils", - "version": "37.0.9", + "version": "40.0.0", "description": "Testing utilities for Plate", "keywords": [ "plate", diff --git a/packages/toggle/CHANGELOG.md b/packages/toggle/CHANGELOG.md index e5931850fd..3a96924a29 100644 --- a/packages/toggle/CHANGELOG.md +++ b/packages/toggle/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-toggle +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/toggle/package.json b/packages/toggle/package.json index c794cf51f2..9a4d626f0b 100644 --- a/packages/toggle/package.json +++ b/packages/toggle/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-toggle", - "version": "39.0.0", + "version": "40.0.0", "description": "Toggle plugin for Plate", "keywords": [ "plate", @@ -50,15 +50,15 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-indent": "39.0.0", - "@udecode/plate-node-id": "39.0.0", + "@udecode/plate-indent": "40.0.0", + "@udecode/plate-node-id": "40.0.0", "lodash": "^4.17.21" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/trailing-block/CHANGELOG.md b/packages/trailing-block/CHANGELOG.md index e1500d0539..ea4e1b180b 100644 --- a/packages/trailing-block/CHANGELOG.md +++ b/packages/trailing-block/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-trailing-block +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/trailing-block/package.json b/packages/trailing-block/package.json index e158a51152..5fe55bbd4a 100644 --- a/packages/trailing-block/package.json +++ b/packages/trailing-block/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-trailing-block", - "version": "39.0.0", + "version": "40.0.0", "description": "Trailing-block plugin for Plate", "keywords": [ "plate", @@ -47,7 +47,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0", diff --git a/packages/yjs/CHANGELOG.md b/packages/yjs/CHANGELOG.md index 30893f0e34..c6c1b6efc0 100644 --- a/packages/yjs/CHANGELOG.md +++ b/packages/yjs/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-yjs +## 40.0.0 + ## 39.0.0 ## 38.0.1 diff --git a/packages/yjs/package.json b/packages/yjs/package.json index 32a89c8988..0c2349c93c 100644 --- a/packages/yjs/package.json +++ b/packages/yjs/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-yjs", - "version": "39.0.0", + "version": "40.0.0", "description": "Yjs plugin for Plate", "keywords": [ "plate", @@ -59,7 +59,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=39.2.21", + "@udecode/plate-common": ">=40.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.103.0",