From 3bc69bfe6b2e00ebe0203e7e9febf37729012115 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 20 Dec 2024 03:10:57 +0000 Subject: [PATCH] Version Packages --- .changeset/dnd-major copy 2.md | 8 -------- .changeset/dnd-major copy 3.md | 8 -------- .changeset/dnd-major copy.md | 7 ------- .changeset/dnd-major.md | 10 ---------- packages/alignment/package.json | 2 +- packages/autoformat/package.json | 2 +- packages/basic-elements/package.json | 2 +- packages/basic-marks/package.json | 2 +- packages/block-quote/package.json | 2 +- packages/break/package.json | 2 +- packages/callout/package.json | 2 +- packages/caption/package.json | 2 +- packages/code-block/package.json | 2 +- packages/combobox/package.json | 2 +- packages/comments/package.json | 2 +- packages/common/CHANGELOG.md | 2 ++ packages/common/package.json | 6 +++--- packages/core/CHANGELOG.md | 9 +++++++++ packages/core/package.json | 2 +- packages/csv/package.json | 2 +- packages/cursor/package.json | 2 +- packages/date/package.json | 2 +- packages/diff/package.json | 2 +- packages/dnd/CHANGELOG.md | 11 +++++++++++ packages/dnd/package.json | 4 ++-- packages/docx/package.json | 2 +- packages/emoji/package.json | 2 +- packages/excalidraw/package.json | 2 +- packages/find-replace/package.json | 2 +- packages/floating/package.json | 2 +- packages/font/package.json | 2 +- packages/heading/package.json | 2 +- packages/highlight/package.json | 2 +- packages/horizontal-rule/package.json | 2 +- packages/indent-list/package.json | 2 +- packages/indent/package.json | 2 +- packages/juice/package.json | 2 +- packages/kbd/package.json | 2 +- packages/layout/CHANGELOG.md | 16 ++++++++++++++++ packages/layout/package.json | 4 ++-- packages/line-height/package.json | 2 +- packages/link/package.json | 2 +- packages/list/package.json | 2 +- packages/markdown/package.json | 2 +- packages/math/package.json | 2 +- packages/media/package.json | 2 +- packages/mention/package.json | 2 +- packages/node-id/package.json | 2 +- packages/normalizers/package.json | 2 +- packages/plate-utils/CHANGELOG.md | 2 ++ packages/plate-utils/package.json | 4 ++-- packages/plate/CHANGELOG.md | 2 ++ packages/plate/package.json | 6 +++--- packages/playwright/package.json | 2 +- packages/reset-node/package.json | 2 +- packages/resizable/package.json | 2 +- packages/select/package.json | 2 +- packages/selection/package.json | 2 +- packages/slash-command/package.json | 2 +- packages/suggestion/package.json | 2 +- packages/tabbable/package.json | 2 +- packages/table/package.json | 2 +- packages/tag/package.json | 2 +- packages/toggle/package.json | 2 +- packages/trailing-block/package.json | 2 +- packages/yjs/package.json | 2 +- 66 files changed, 105 insertions(+), 96 deletions(-) delete mode 100644 .changeset/dnd-major copy 2.md delete mode 100644 .changeset/dnd-major copy 3.md delete mode 100644 .changeset/dnd-major copy.md delete mode 100644 .changeset/dnd-major.md diff --git a/.changeset/dnd-major copy 2.md b/.changeset/dnd-major copy 2.md deleted file mode 100644 index ecfecaef24..0000000000 --- a/.changeset/dnd-major copy 2.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@udecode/plate-layout': patch ---- - -- Add `setColumns`: set any number of columns of any size to a column group. Decreasing the number of columns will move the removed columns' content to the last remaining column. -- `toggleColumnGroup`: now uses `setColumns` if we're already in a column group. -- Remove `layout` prop from `column_group` nodes. We're now only relying on `column` `width` prop. You can unset `layout` prop or just leave it as it is since it's not read anymore. -- `ColumnPlugin`: Added width normalization ensuring column widths always sum to 100% by automatically adjusting widths when columns are added or removed. If the sum of widths is not 100%, the difference is distributed evenly across all columns. diff --git a/.changeset/dnd-major copy 3.md b/.changeset/dnd-major copy 3.md deleted file mode 100644 index 2e66e8c653..0000000000 --- a/.changeset/dnd-major copy 3.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@udecode/plate-layout': patch ---- - -Additional breaking changes to v41: - -- `insertColumnGroup`: rename `layout` to `columns` -- Remove `setColumnWidth`, `useColumnState`. Use `setColumns` instead diff --git a/.changeset/dnd-major copy.md b/.changeset/dnd-major copy.md deleted file mode 100644 index 8f1ed867ba..0000000000 --- a/.changeset/dnd-major copy.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@udecode/plate-core': patch ---- - -- Add `useNodePath(node: TNode)`: memoized `findPath` (`useMemo`) -- Add `usePath(pluginKey?: string)`: memoized `findPath` (context) -- `PlateElementProps` now includes `path` prop, also accessible using `usePath` diff --git a/.changeset/dnd-major.md b/.changeset/dnd-major.md deleted file mode 100644 index 18c331315c..0000000000 --- a/.changeset/dnd-major.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@udecode/plate-dnd': patch ---- - -Additional breaking changes to v41: - -- Remove `useDraggableState`. Use `const { isDragging, previewRef, handleRef } = useDraggable` -- Remove `useDraggableGutter`. Set `contentEditable={false}` to your gutter element -- Remove `props` from `useDropLine`. Set `contentEditable={false}` to your drop line element -- Remove `withDraggable`, `useWithDraggable`. Use [`DraggableAboveNodes`](https://github.com/udecode/plate/pull/3878/files#diff-493c12ebed9c3ef9fd8c3a723909b18ad439a448c0132d2d93e5341ee0888ad2) instead diff --git a/packages/alignment/package.json b/packages/alignment/package.json index 5d92de1b6e..72f5022865 100644 --- a/packages/alignment/package.json +++ b/packages/alignment/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/autoformat/package.json b/packages/autoformat/package.json index b5f9a9f6ac..6203de7513 100644 --- a/packages/autoformat/package.json +++ b/packages/autoformat/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/basic-elements/package.json b/packages/basic-elements/package.json index 6c899a3cb1..2b038bac98 100644 --- a/packages/basic-elements/package.json +++ b/packages/basic-elements/package.json @@ -58,7 +58,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/basic-marks/package.json b/packages/basic-marks/package.json index 067e9b2e83..cf95d03598 100644 --- a/packages/basic-marks/package.json +++ b/packages/basic-marks/package.json @@ -52,7 +52,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/block-quote/package.json b/packages/block-quote/package.json index 7488e0be8a..81eda974c8 100644 --- a/packages/block-quote/package.json +++ b/packages/block-quote/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/break/package.json b/packages/break/package.json index ff226c4531..749e3744e3 100644 --- a/packages/break/package.json +++ b/packages/break/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/callout/package.json b/packages/callout/package.json index a7f037ba24..c4225c3769 100644 --- a/packages/callout/package.json +++ b/packages/callout/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/caption/package.json b/packages/caption/package.json index e10b20679c..1f4425dc34 100644 --- a/packages/caption/package.json +++ b/packages/caption/package.json @@ -55,7 +55,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/code-block/package.json b/packages/code-block/package.json index 3d6b28e791..5c049d0c73 100644 --- a/packages/code-block/package.json +++ b/packages/code-block/package.json @@ -54,7 +54,7 @@ "prismjs": "^1.29.0" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/combobox/package.json b/packages/combobox/package.json index 95658fbc07..07bedc8e12 100644 --- a/packages/combobox/package.json +++ b/packages/combobox/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/comments/package.json b/packages/comments/package.json index 88e9a16a6f..ca4ec6ff2f 100644 --- a/packages/comments/package.json +++ b/packages/comments/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/common/CHANGELOG.md b/packages/common/CHANGELOG.md index 210d0a4592..f3b4a11e64 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-common +## 41.0.2 + ## 41.0.0 ## 40.3.1 diff --git a/packages/common/package.json b/packages/common/package.json index 4918dee63f..0b65d49f2b 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-common", - "version": "41.0.0", + "version": "41.0.2", "description": "Plate common packages for plugins", "keywords": [ "plate", @@ -50,8 +50,8 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-core": "41.0.0", - "@udecode/plate-utils": "41.0.0", + "@udecode/plate-core": "41.0.2", + "@udecode/plate-utils": "41.0.2", "@udecode/react-hotkeys": "37.0.0", "@udecode/react-utils": "40.2.8", "@udecode/slate": "41.0.0", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index e3bc27bc3a..8ce230c4d1 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,14 @@ # @udecode/plate-core +## 41.0.2 + +### Patch Changes + +- [#3878](https://github.com/udecode/plate/pull/3878) by [@zbeyens](https://github.com/zbeyens) – + - Add `useNodePath(node: TNode)`: memoized `findPath` (`useMemo`) + - Add `usePath(pluginKey?: string)`: memoized `findPath` (context) + - `PlateElementProps` now includes `path` prop, also accessible using `usePath` + ## 41.0.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index 7a9e1f4957..b6af384296 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-core", - "version": "41.0.0", + "version": "41.0.2", "description": "The core of Plate – a plugin system for slate", "keywords": [ "contentEditable", diff --git a/packages/csv/package.json b/packages/csv/package.json index f4db1bcef4..33cd6655a0 100644 --- a/packages/csv/package.json +++ b/packages/csv/package.json @@ -54,7 +54,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/cursor/package.json b/packages/cursor/package.json index 1e931eccab..4cd42c5eea 100644 --- a/packages/cursor/package.json +++ b/packages/cursor/package.json @@ -47,7 +47,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/date/package.json b/packages/date/package.json index 1fcf79b756..1d831bf7a1 100644 --- a/packages/date/package.json +++ b/packages/date/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.94.0", diff --git a/packages/diff/package.json b/packages/diff/package.json index ea44982941..0af8ba218d 100644 --- a/packages/diff/package.json +++ b/packages/diff/package.json @@ -50,7 +50,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/dnd/CHANGELOG.md b/packages/dnd/CHANGELOG.md index 7154c6be45..cade965687 100644 --- a/packages/dnd/CHANGELOG.md +++ b/packages/dnd/CHANGELOG.md @@ -1,5 +1,16 @@ # @udecode/plate-dnd +## 41.0.2 + +### Patch Changes + +- [#3878](https://github.com/udecode/plate/pull/3878) by [@zbeyens](https://github.com/zbeyens) – Additional breaking changes to v41: + + - Remove `useDraggableState`. Use `const { isDragging, previewRef, handleRef } = useDraggable` + - Remove `useDraggableGutter`. Set `contentEditable={false}` to your gutter element + - Remove `props` from `useDropLine`. Set `contentEditable={false}` to your drop line element + - Remove `withDraggable`, `useWithDraggable`. Use [`DraggableAboveNodes`](https://github.com/udecode/plate/pull/3878/files#diff-493c12ebed9c3ef9fd8c3a723909b18ad439a448c0132d2d93e5341ee0888ad2) instead + ## 41.0.0 ### Major Changes diff --git a/packages/dnd/package.json b/packages/dnd/package.json index 6d3dfbfd6e..f64e47d51d 100644 --- a/packages/dnd/package.json +++ b/packages/dnd/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-dnd", - "version": "41.0.0", + "version": "41.0.2", "description": "React drag and drop feature for Plate", "keywords": [ "plate", @@ -51,7 +51,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dnd": ">=14.0.0", "react-dnd-html5-backend": ">=14.0.0", diff --git a/packages/docx/package.json b/packages/docx/package.json index bcbe7ab181..4d3d389026 100644 --- a/packages/docx/package.json +++ b/packages/docx/package.json @@ -57,7 +57,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/emoji/package.json b/packages/emoji/package.json index 3066934349..4a8468b7bc 100644 --- a/packages/emoji/package.json +++ b/packages/emoji/package.json @@ -57,7 +57,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/excalidraw/package.json b/packages/excalidraw/package.json index cd15f00c71..b78fb23c7d 100644 --- a/packages/excalidraw/package.json +++ b/packages/excalidraw/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/find-replace/package.json b/packages/find-replace/package.json index d15e9bea2f..634741a106 100644 --- a/packages/find-replace/package.json +++ b/packages/find-replace/package.json @@ -47,7 +47,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/floating/package.json b/packages/floating/package.json index 82cbadcd7f..94431b8cf1 100644 --- a/packages/floating/package.json +++ b/packages/floating/package.json @@ -51,7 +51,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/font/package.json b/packages/font/package.json index 8c7725fc3f..59ff2117ca 100644 --- a/packages/font/package.json +++ b/packages/font/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/heading/package.json b/packages/heading/package.json index 481450c547..d8b166580a 100644 --- a/packages/heading/package.json +++ b/packages/heading/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/highlight/package.json b/packages/highlight/package.json index bc1f255ef7..be362bb9b4 100644 --- a/packages/highlight/package.json +++ b/packages/highlight/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/horizontal-rule/package.json b/packages/horizontal-rule/package.json index bab9fb19fc..ebf1e7208b 100644 --- a/packages/horizontal-rule/package.json +++ b/packages/horizontal-rule/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/indent-list/package.json b/packages/indent-list/package.json index c3248a6640..d0dbef6e61 100644 --- a/packages/indent-list/package.json +++ b/packages/indent-list/package.json @@ -58,7 +58,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/indent/package.json b/packages/indent/package.json index 11496f9154..f29b8266c5 100644 --- a/packages/indent/package.json +++ b/packages/indent/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/juice/package.json b/packages/juice/package.json index b3ae9c0d87..e20383cae7 100644 --- a/packages/juice/package.json +++ b/packages/juice/package.json @@ -50,7 +50,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/kbd/package.json b/packages/kbd/package.json index 602870f173..134cf662e2 100644 --- a/packages/kbd/package.json +++ b/packages/kbd/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/layout/CHANGELOG.md b/packages/layout/CHANGELOG.md index 4602ae6bf6..d56a0e5532 100644 --- a/packages/layout/CHANGELOG.md +++ b/packages/layout/CHANGELOG.md @@ -1,5 +1,21 @@ # @udecode/plate-layout +## 41.0.2 + +### Patch Changes + +- [#3878](https://github.com/udecode/plate/pull/3878) by [@zbeyens](https://github.com/zbeyens) – + + - Add `setColumns`: set any number of columns of any size to a column group. Decreasing the number of columns will move the removed columns' content to the last remaining column. + - `toggleColumnGroup`: now uses `setColumns` if we're already in a column group. + - Remove `layout` prop from `column_group` nodes. We're now only relying on `column` `width` prop. You can unset `layout` prop or just leave it as it is since it's not read anymore. + - `ColumnPlugin`: Added width normalization ensuring column widths always sum to 100% by automatically adjusting widths when columns are added or removed. If the sum of widths is not 100%, the difference is distributed evenly across all columns. + +- [#3878](https://github.com/udecode/plate/pull/3878) by [@zbeyens](https://github.com/zbeyens) – Additional breaking changes to v41: + + - `insertColumnGroup`: rename `layout` to `columns` + - Remove `setColumnWidth`, `useColumnState`. Use `setColumns` instead + ## 41.0.0 ### Patch Changes diff --git a/packages/layout/package.json b/packages/layout/package.json index 6ce17a2757..4c8e48a57c 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-layout", - "version": "41.0.0", + "version": "41.0.2", "description": "Layout plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/line-height/package.json b/packages/line-height/package.json index f6abc6db4e..d6b4fddb6d 100644 --- a/packages/line-height/package.json +++ b/packages/line-height/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/link/package.json b/packages/link/package.json index a145e1268f..f541d49be2 100644 --- a/packages/link/package.json +++ b/packages/link/package.json @@ -57,7 +57,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/list/package.json b/packages/list/package.json index ee8e89c0ca..e7205387d5 100644 --- a/packages/list/package.json +++ b/packages/list/package.json @@ -57,7 +57,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/markdown/package.json b/packages/markdown/package.json index 7c41926de7..079e78e30f 100644 --- a/packages/markdown/package.json +++ b/packages/markdown/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/math/package.json b/packages/math/package.json index e6f3766021..3a8050caee 100644 --- a/packages/math/package.json +++ b/packages/math/package.json @@ -57,7 +57,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/media/package.json b/packages/media/package.json index 9727563767..3f170e408c 100644 --- a/packages/media/package.json +++ b/packages/media/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/mention/package.json b/packages/mention/package.json index 0e3e2a047e..1fdce33a85 100644 --- a/packages/mention/package.json +++ b/packages/mention/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/node-id/package.json b/packages/node-id/package.json index f6c866ad0a..86cbb2a288 100644 --- a/packages/node-id/package.json +++ b/packages/node-id/package.json @@ -50,7 +50,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/normalizers/package.json b/packages/normalizers/package.json index 25b21c00be..37a4dceb63 100644 --- a/packages/normalizers/package.json +++ b/packages/normalizers/package.json @@ -50,7 +50,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/plate-utils/CHANGELOG.md b/packages/plate-utils/CHANGELOG.md index b9278efaf4..9266b002e6 100644 --- a/packages/plate-utils/CHANGELOG.md +++ b/packages/plate-utils/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-utils +## 41.0.2 + ## 41.0.0 ### Patch Changes diff --git a/packages/plate-utils/package.json b/packages/plate-utils/package.json index 8cf670bd79..4492d3f20c 100644 --- a/packages/plate-utils/package.json +++ b/packages/plate-utils/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-utils", - "version": "41.0.0", + "version": "41.0.2", "description": "Plate utils", "keywords": [ "plate", @@ -50,7 +50,7 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-core": "41.0.0", + "@udecode/plate-core": "41.0.2", "@udecode/react-utils": "40.2.8", "@udecode/slate": "41.0.0", "@udecode/slate-react": "41.0.0", diff --git a/packages/plate/CHANGELOG.md b/packages/plate/CHANGELOG.md index b0774192fe..c4010aa7d7 100644 --- a/packages/plate/CHANGELOG.md +++ b/packages/plate/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate +## 41.0.2 + ## 41.0.0 ## 40.3.4 diff --git a/packages/plate/package.json b/packages/plate/package.json index 7df100d3c0..45b1d95a67 100644 --- a/packages/plate/package.json +++ b/packages/plate/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate", - "version": "41.0.0", + "version": "41.0.2", "description": "Plate – a plugin system for slate", "keywords": [ "contentEditable", @@ -65,7 +65,7 @@ "@udecode/plate-code-block": "41.0.0", "@udecode/plate-combobox": "41.0.0", "@udecode/plate-comments": "41.0.0", - "@udecode/plate-common": "41.0.0", + "@udecode/plate-common": "41.0.2", "@udecode/plate-csv": "41.0.0", "@udecode/plate-diff": "41.0.0", "@udecode/plate-docx": "41.0.0", @@ -78,7 +78,7 @@ "@udecode/plate-indent": "41.0.0", "@udecode/plate-indent-list": "41.0.0", "@udecode/plate-kbd": "41.0.0", - "@udecode/plate-layout": "41.0.0", + "@udecode/plate-layout": "41.0.2", "@udecode/plate-line-height": "41.0.0", "@udecode/plate-link": "41.0.0", "@udecode/plate-list": "41.0.0", diff --git a/packages/playwright/package.json b/packages/playwright/package.json index 8de6ec106d..bc27a858e5 100644 --- a/packages/playwright/package.json +++ b/packages/playwright/package.json @@ -46,7 +46,7 @@ }, "peerDependencies": { "@playwright/test": ">=1.42.1", - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/reset-node/package.json b/packages/reset-node/package.json index dee9095431..20aa8b7fc8 100644 --- a/packages/reset-node/package.json +++ b/packages/reset-node/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/resizable/package.json b/packages/resizable/package.json index 27bf63cc5f..8e0b5fac3b 100644 --- a/packages/resizable/package.json +++ b/packages/resizable/package.json @@ -46,7 +46,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/select/package.json b/packages/select/package.json index 084bb0a30d..bc90009fd8 100644 --- a/packages/select/package.json +++ b/packages/select/package.json @@ -47,7 +47,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/selection/package.json b/packages/selection/package.json index aa569233c3..fafb07d94b 100644 --- a/packages/selection/package.json +++ b/packages/selection/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/slash-command/package.json b/packages/slash-command/package.json index e02a8f5c2e..40cabebfb7 100644 --- a/packages/slash-command/package.json +++ b/packages/slash-command/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/suggestion/package.json b/packages/suggestion/package.json index ae6ad4580d..dc5acd3e49 100644 --- a/packages/suggestion/package.json +++ b/packages/suggestion/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/tabbable/package.json b/packages/tabbable/package.json index 3f38d4adb8..b5eb2e06ba 100644 --- a/packages/tabbable/package.json +++ b/packages/tabbable/package.json @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/table/package.json b/packages/table/package.json index ba81575a07..160dfe65b2 100644 --- a/packages/table/package.json +++ b/packages/table/package.json @@ -57,7 +57,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/tag/package.json b/packages/tag/package.json index 67fe1a9b52..d21e7bdf07 100644 --- a/packages/tag/package.json +++ b/packages/tag/package.json @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/toggle/package.json b/packages/toggle/package.json index 17d12bc88d..a4a15a92ec 100644 --- a/packages/toggle/package.json +++ b/packages/toggle/package.json @@ -58,7 +58,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/trailing-block/package.json b/packages/trailing-block/package.json index 2ff8eaa36c..6a8986eeb9 100644 --- a/packages/trailing-block/package.json +++ b/packages/trailing-block/package.json @@ -47,7 +47,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/yjs/package.json b/packages/yjs/package.json index d8220830a3..d853d09193 100644 --- a/packages/yjs/package.json +++ b/packages/yjs/package.json @@ -59,7 +59,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=41.0.0", + "@udecode/plate-common": ">=41.0.2", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0",