From e903a3a9bbfed556dc6f1dad4e096baaa3a7fb13 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 19 Dec 2024 02:22:22 +0000 Subject: [PATCH] Version Packages --- .changeset/ai.md | 10 ---- .changeset/base.md | 6 -- .changeset/core-minor.md | 13 ----- .changeset/dnd-major.md | 12 ---- .changeset/dnd-minor.md | 11 ---- .changeset/findNodePath.md | 16 ----- .changeset/friendly-cooks-add.md | 5 -- .changeset/happy-buses-glow.md | 5 -- .changeset/link.md | 5 -- .changeset/list-major.md | 6 -- .changeset/list.md | 5 -- .changeset/slate-react major.md | 12 ---- .changeset/slate-react.md | 5 -- .changeset/slate.md | 9 --- .changeset/table-major.md | 27 --------- packages/ai/CHANGELOG.md | 12 ++++ packages/ai/package.json | 10 ++-- packages/alignment/CHANGELOG.md | 2 + packages/alignment/package.json | 4 +- packages/autoformat/CHANGELOG.md | 2 + packages/autoformat/package.json | 4 +- packages/basic-elements/CHANGELOG.md | 2 + packages/basic-elements/package.json | 10 ++-- packages/basic-marks/CHANGELOG.md | 2 + packages/basic-marks/package.json | 4 +- packages/block-quote/CHANGELOG.md | 2 + packages/block-quote/package.json | 4 +- packages/break/CHANGELOG.md | 2 + packages/break/package.json | 4 +- packages/callout/CHANGELOG.md | 2 + packages/callout/package.json | 4 +- packages/caption/CHANGELOG.md | 6 ++ packages/caption/package.json | 4 +- packages/cloud/CHANGELOG.md | 2 + packages/cloud/package.json | 4 +- packages/code-block/CHANGELOG.md | 6 ++ packages/code-block/package.json | 4 +- packages/combobox/CHANGELOG.md | 6 ++ packages/combobox/package.json | 4 +- packages/comments/CHANGELOG.md | 2 + packages/comments/package.json | 4 +- packages/common/CHANGELOG.md | 2 + packages/common/package.json | 12 ++-- packages/core/CHANGELOG.md | 14 +++++ packages/core/package.json | 8 +-- packages/csv/CHANGELOG.md | 2 + packages/csv/package.json | 6 +- packages/cursor/CHANGELOG.md | 2 + packages/cursor/package.json | 4 +- packages/date/CHANGELOG.md | 2 + packages/date/package.json | 4 +- packages/diff/CHANGELOG.md | 2 + packages/diff/package.json | 4 +- packages/dnd/CHANGELOG.md | 30 ++++++++++ packages/dnd/package.json | 4 +- packages/docx/CHANGELOG.md | 2 + packages/docx/package.json | 14 ++--- packages/emoji/CHANGELOG.md | 2 + packages/emoji/package.json | 6 +- packages/excalidraw/CHANGELOG.md | 2 + packages/excalidraw/package.json | 4 +- packages/find-replace/CHANGELOG.md | 2 + packages/find-replace/package.json | 4 +- packages/floating/CHANGELOG.md | 2 + packages/floating/package.json | 4 +- packages/font/CHANGELOG.md | 2 + packages/font/package.json | 4 +- packages/heading/CHANGELOG.md | 2 + packages/heading/package.json | 4 +- packages/highlight/CHANGELOG.md | 2 + packages/highlight/package.json | 4 +- packages/horizontal-rule/CHANGELOG.md | 2 + packages/horizontal-rule/package.json | 4 +- packages/indent-list/CHANGELOG.md | 14 +++++ packages/indent-list/package.json | 8 +-- packages/indent/CHANGELOG.md | 2 + packages/indent/package.json | 4 +- packages/juice/CHANGELOG.md | 2 + packages/juice/package.json | 4 +- packages/kbd/CHANGELOG.md | 2 + packages/kbd/package.json | 4 +- packages/layout/CHANGELOG.md | 6 ++ packages/layout/package.json | 4 +- packages/line-height/CHANGELOG.md | 2 + packages/line-height/package.json | 4 +- packages/link/CHANGELOG.md | 9 +++ packages/link/package.json | 8 +-- packages/list/CHANGELOG.md | 6 ++ packages/list/package.json | 6 +- packages/markdown/CHANGELOG.md | 2 + packages/markdown/package.json | 4 +- packages/math/CHANGELOG.md | 2 + packages/math/package.json | 4 +- packages/media/CHANGELOG.md | 2 + packages/media/package.json | 4 +- packages/mention/CHANGELOG.md | 2 + packages/mention/package.json | 6 +- packages/node-id/CHANGELOG.md | 2 + packages/node-id/package.json | 4 +- packages/normalizers/CHANGELOG.md | 2 + packages/normalizers/package.json | 4 +- packages/plate-utils/CHANGELOG.md | 6 ++ packages/plate-utils/package.json | 10 ++-- packages/plate/CHANGELOG.md | 2 + packages/plate/package.json | 84 +++++++++++++-------------- packages/playwright/CHANGELOG.md | 2 + packages/playwright/package.json | 4 +- packages/reset-node/CHANGELOG.md | 2 + packages/reset-node/package.json | 4 +- packages/resizable/CHANGELOG.md | 6 ++ packages/resizable/package.json | 4 +- packages/select/CHANGELOG.md | 2 + packages/select/package.json | 4 +- packages/selection/CHANGELOG.md | 6 ++ packages/selection/package.json | 4 +- packages/slash-command/CHANGELOG.md | 2 + packages/slash-command/package.json | 6 +- packages/slate-react/CHANGELOG.md | 17 ++++++ packages/slate-react/package.json | 4 +- packages/slate-utils/CHANGELOG.md | 6 ++ packages/slate-utils/package.json | 4 +- packages/slate/CHANGELOG.md | 14 +++++ packages/slate/package.json | 2 +- packages/suggestion/CHANGELOG.md | 2 + packages/suggestion/package.json | 6 +- packages/tabbable/CHANGELOG.md | 6 ++ packages/tabbable/package.json | 4 +- packages/table/CHANGELOG.md | 34 +++++++++++ packages/table/package.json | 6 +- packages/tag/CHANGELOG.md | 2 + packages/tag/package.json | 4 +- packages/toggle/CHANGELOG.md | 2 + packages/toggle/package.json | 8 +-- packages/trailing-block/CHANGELOG.md | 2 + packages/trailing-block/package.json | 4 +- packages/yjs/CHANGELOG.md | 2 + packages/yjs/package.json | 4 +- 137 files changed, 484 insertions(+), 341 deletions(-) delete mode 100644 .changeset/ai.md delete mode 100644 .changeset/base.md delete mode 100644 .changeset/core-minor.md delete mode 100644 .changeset/dnd-major.md delete mode 100644 .changeset/dnd-minor.md delete mode 100644 .changeset/findNodePath.md delete mode 100644 .changeset/friendly-cooks-add.md delete mode 100644 .changeset/happy-buses-glow.md delete mode 100644 .changeset/link.md delete mode 100644 .changeset/list-major.md delete mode 100644 .changeset/list.md delete mode 100644 .changeset/slate-react major.md delete mode 100644 .changeset/slate-react.md delete mode 100644 .changeset/slate.md delete mode 100644 .changeset/table-major.md diff --git a/.changeset/ai.md b/.changeset/ai.md deleted file mode 100644 index a329f1684b..0000000000 --- a/.changeset/ai.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@udecode/plate-ai': minor ---- - -- `api.aiChat.replaceSelection()` – new option `format: 'none' | 'single' | 'all'` - - `'single'` (default): - - Single block: Applies block's formatting to inserted content - - Multiple blocks: Preserves source formatting - - `'all'`: Forces first block's formatting on all inserted blocks - - `'none'`: Preserves source formatting completely diff --git a/.changeset/base.md b/.changeset/base.md deleted file mode 100644 index 0e33f334c2..0000000000 --- a/.changeset/base.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@udecode/plate-table': patch -'@udecode/plate-link': patch ---- - -Move `node.props` plugin attributes from `/react` to `/` diff --git a/.changeset/core-minor.md b/.changeset/core-minor.md deleted file mode 100644 index 22bbd75a62..0000000000 --- a/.changeset/core-minor.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'@udecode/plate-core': minor ---- - -## @udecode/plate-core@40.1.0 - -### Minor Changes - -- [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – - - Add `PlateStatic`, `SlateElement`, `SlateLeaf` components for static rendering and server-side HTML serialization - - Add `serializeHtml` function to serialize editor content to HTML. Deprecating `@udecode/plate-html` in favor of core serialization. - - Move from `PlatePlugin` (`/react`) to `BasePlugin` (`/`): `node.component`, `render.aboveEditable`, `render.aboveSlate`, `render.node` - - Add to `SlatePlugin`: `node.props`, `render.aboveNodes`, `render.belowNodes`, `render.afterEditable`, `render.beforeEditable`, `render.node` diff --git a/.changeset/dnd-major.md b/.changeset/dnd-major.md deleted file mode 100644 index bd2cef4d9d..0000000000 --- a/.changeset/dnd-major.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@udecode/plate-dnd': major ---- - -- Removed `useDndBlock`, `useDragBlock`, and `useDropBlock` hooks in favor of `useDndNode`, `useDragNode`, and `useDropNode`. -- Removed `DndProvider` and `useDraggableStore`. Drop line state is now managed by `DndPlugin` as a single state object `dropTarget` containing both `id` and `line`. -- `useDropNode`: removed `onChangeDropLine` and `dropLine` options - -Migration steps: - -- Remove `DndProvider` from your draggable component (e.g. `draggable.tsx`) -- Replace `useDraggableStore` with `useEditorPlugin(DndPlugin).useOption` diff --git a/.changeset/dnd-minor.md b/.changeset/dnd-minor.md deleted file mode 100644 index 2adbe2dbfd..0000000000 --- a/.changeset/dnd-minor.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@udecode/plate-dnd': minor ---- - -- `useDndNode` now supports horizontal orientation. New option is `orientation?: 'horizontal' | 'vertical'`. Default is `vertical`. -- `useDraggableState`, `useDndNode`: add `canDropNode` callback option to query if a dragged node can be dropped onto a hovered node. -- `useDropLine`: - - Added `id` option to show dropline only for hovered element. Default is `useElement().id`. - - Added `orientation` option to filter droplines by orientation (`'horizontal' | 'vertical'`). Default is `vertical`. - - Returns empty dropline if orientation doesn't match (e.g., horizontal dropline in vertical orientation) - - Returns empty dropline if elementId doesn't match current hovered element diff --git a/.changeset/findNodePath.md b/.changeset/findNodePath.md deleted file mode 100644 index 7d258abf31..0000000000 --- a/.changeset/findNodePath.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -'@udecode/plate-indent-list': patch -'@udecode/plate-utils': patch -'@udecode/plate-code-block': patch -'@udecode/plate-resizable': patch -'@udecode/plate-selection': patch -'@udecode/plate-combobox': patch -'@udecode/plate-tabbable': patch -'@udecode/plate-caption': patch -'@udecode/plate-layout': patch -'@udecode/plate-table': patch -'@udecode/plate-list': patch -'@udecode/plate-dnd': patch ---- - -Replace `findNodePath` with `findPath` diff --git a/.changeset/friendly-cooks-add.md b/.changeset/friendly-cooks-add.md deleted file mode 100644 index 4d7b6c72d6..0000000000 --- a/.changeset/friendly-cooks-add.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@udecode/slate-utils': patch ---- - -Add `getFirstNodeText` diff --git a/.changeset/happy-buses-glow.md b/.changeset/happy-buses-glow.md deleted file mode 100644 index b6386419e4..0000000000 --- a/.changeset/happy-buses-glow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@udecode/slate': patch ---- - -export type NodeTextsOptions diff --git a/.changeset/link.md b/.changeset/link.md deleted file mode 100644 index c4fd20ee5b..0000000000 --- a/.changeset/link.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@udecode/plate-link': patch ---- - -- Fix floating link url input being focused when focusing the placeholder input diff --git a/.changeset/list-major.md b/.changeset/list-major.md deleted file mode 100644 index 1ca8cdb1df..0000000000 --- a/.changeset/list-major.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@udecode/plate-indent-list': major ---- - -- Move `render.belowNodes` from `IndentListPlugin` to `BaseIndentListPlugin`. Props type for `listStyleTypes.liComponent` and `listStyleTypes.markerComponent` options is now `SlateRenderElementProps` instead of `PlateRenderElementProps` -- Move `someIndentList`, `someIndentTodo` from `@udecode/plate-indent-list/react` to `@udecode/plate-indent-list` diff --git a/.changeset/list.md b/.changeset/list.md deleted file mode 100644 index 9b43cd4f38..0000000000 --- a/.changeset/list.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@udecode/plate-indent-list': patch ---- - -Fix todo list: insert break should inherit format diff --git a/.changeset/slate-react major.md b/.changeset/slate-react major.md deleted file mode 100644 index bcf288cd76..0000000000 --- a/.changeset/slate-react major.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@udecode/slate-react': major ---- - -Rename `findNodePath` to `findPath` since the addition of `findNodePath` in the headless lib. - -We recommend using `findPath` mostly when subscribing to its value (e.g. in a React component) as it has O(path.length) complexity, compared to O(n) for the traversal-based `findNodePath`. This optimization is particularly important in: - -- Render functions of Plate components where using `findNodePath` would increase the initial render time by O(n²) -- Key press handlers where using `findNodePath` would increase the handling time by O(n) - -where n is the number of nodes in the editor. diff --git a/.changeset/slate-react.md b/.changeset/slate-react.md deleted file mode 100644 index 756b598010..0000000000 --- a/.changeset/slate-react.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@udecode/slate-react': patch ---- - -Update `TRenderElementProps`, `TRenderLeafProps` types diff --git a/.changeset/slate.md b/.changeset/slate.md deleted file mode 100644 index 395aca53fa..0000000000 --- a/.changeset/slate.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@udecode/slate': minor ---- - -Add `findNodePath` - a traversal-based node path finder with O(n) complexity. This is the headless alternative to `findPath` from `@udecode/slate-react`, recommended for: - -- Non-React contexts -- Plugin logic that doesn't require React dependencies -- Non-performance-critical paths where O(n) traversal is acceptable diff --git a/.changeset/table-major.md b/.changeset/table-major.md deleted file mode 100644 index 7d552d02ad..0000000000 --- a/.changeset/table-major.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -'@udecode/plate-table': major ---- - -Move from `@udecode/plate-table/react` to `@udecode/plate-table`: - -- `deleteColumn` -- `deleteColumnWhenExpanded` -- `deleteRow` -- `deleteRowWhenExpanded` -- `getTableColumn` -- `getTableGridAbove` -- `getTableGridByRange` -- `getTableRow` -- `insertTable` -- `mergeTableCells` -- `moveSelectionFromCell` -- `overrideSelectionFromCell` -- `unmergeTableCells` -- `withDeleteTable` -- `withGetFragmentlable` -- `withInsertFragmentTable` -- `withInsertTextTable` -- `withMarkTable` -- `withSelectionTable` -- `withSetFragmentDataTable` -- `withTable` diff --git a/packages/ai/CHANGELOG.md b/packages/ai/CHANGELOG.md index b2bf8f1676..5eec03fe57 100644 --- a/packages/ai/CHANGELOG.md +++ b/packages/ai/CHANGELOG.md @@ -1,5 +1,17 @@ # @udecode/plate-ai +## 41.0.0 + +### Minor Changes + +- [#3868](https://github.com/udecode/plate/pull/3868) by [@zbeyens](https://github.com/zbeyens) – + - `api.aiChat.replaceSelection()` – new option `format: 'none' | 'single' | 'all'` + - `'single'` (default): + - Single block: Applies block's formatting to inserted content + - Multiple blocks: Preserves source formatting + - `'all'`: Forces first block's formatting on all inserted blocks + - `'none'`: Preserves source formatting completely + ## 40.3.2 ### Patch Changes diff --git a/packages/ai/package.json b/packages/ai/package.json index d80405d814..e64fd22468 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-ai", - "version": "40.3.2", + "version": "41.0.0", "description": "Text AI plugin for Plate", "keywords": [ "plate", @@ -50,16 +50,16 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-markdown": "40.2.2", - "@udecode/plate-selection": "40.2.9", + "@udecode/plate-markdown": "41.0.0", + "@udecode/plate-selection": "41.0.0", "lodash": "^4.17.21" }, "devDependencies": { - "@udecode/plate-combobox": "40.0.0", + "@udecode/plate-combobox": "41.0.0", "ai": "^3.4.10" }, "peerDependencies": { - "@udecode/plate-common": ">=40.0.0", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/alignment/CHANGELOG.md b/packages/alignment/CHANGELOG.md index 8571b6050c..81f1b0e221 100644 --- a/packages/alignment/CHANGELOG.md +++ b/packages/alignment/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-alignment +## 41.0.0 + ## 40.0.0 ### Patch Changes diff --git a/packages/alignment/package.json b/packages/alignment/package.json index 0c87813f4d..5d92de1b6e 100644 --- a/packages/alignment/package.json +++ b/packages/alignment/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-alignment", - "version": "40.0.0", + "version": "41.0.0", "description": "Text alignment plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/autoformat/CHANGELOG.md b/packages/autoformat/CHANGELOG.md index a8ffa5582f..a341e4734a 100644 --- a/packages/autoformat/CHANGELOG.md +++ b/packages/autoformat/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-autoformat +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/autoformat/package.json b/packages/autoformat/package.json index 30fd45bf6d..b5f9a9f6ac 100644 --- a/packages/autoformat/package.json +++ b/packages/autoformat/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-autoformat", - "version": "40.0.0", + "version": "41.0.0", "description": "Autoformatting plugin for Plate", "keywords": [ "plate", @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/basic-elements/CHANGELOG.md b/packages/basic-elements/CHANGELOG.md index eccc406fbd..6a1bb7671e 100644 --- a/packages/basic-elements/CHANGELOG.md +++ b/packages/basic-elements/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-basic-elements +## 41.0.0 + ## 40.3.4 ## 40.2.6 diff --git a/packages/basic-elements/package.json b/packages/basic-elements/package.json index 333eb366c9..6c899a3cb1 100644 --- a/packages/basic-elements/package.json +++ b/packages/basic-elements/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-basic-elements", - "version": "40.3.4", + "version": "41.0.0", "description": "Basic elements plugin for Plate", "keywords": [ "plate", @@ -50,15 +50,15 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-block-quote": "40.0.0", - "@udecode/plate-code-block": "40.3.4", - "@udecode/plate-heading": "40.2.6" + "@udecode/plate-block-quote": "41.0.0", + "@udecode/plate-code-block": "41.0.0", + "@udecode/plate-heading": "41.0.0" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/basic-marks/CHANGELOG.md b/packages/basic-marks/CHANGELOG.md index 144038a3cb..179047fb00 100644 --- a/packages/basic-marks/CHANGELOG.md +++ b/packages/basic-marks/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-basic-marks +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/basic-marks/package.json b/packages/basic-marks/package.json index fa811c2972..067e9b2e83 100644 --- a/packages/basic-marks/package.json +++ b/packages/basic-marks/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-basic-marks", - "version": "40.0.0", + "version": "41.0.0", "description": "Basic marks plugin for Plate", "keywords": [ "plate", @@ -52,7 +52,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/block-quote/CHANGELOG.md b/packages/block-quote/CHANGELOG.md index 68f58452eb..9e185146f5 100644 --- a/packages/block-quote/CHANGELOG.md +++ b/packages/block-quote/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-block-quote +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/block-quote/package.json b/packages/block-quote/package.json index d461d02976..7488e0be8a 100644 --- a/packages/block-quote/package.json +++ b/packages/block-quote/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-block-quote", - "version": "40.0.0", + "version": "41.0.0", "description": "Block quote plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/break/CHANGELOG.md b/packages/break/CHANGELOG.md index 3dee5d16de..2a48fd49be 100644 --- a/packages/break/CHANGELOG.md +++ b/packages/break/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-break +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/break/package.json b/packages/break/package.json index 40b6921613..ff226c4531 100644 --- a/packages/break/package.json +++ b/packages/break/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-break", - "version": "40.0.0", + "version": "41.0.0", "description": "Insert break plugins for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/callout/CHANGELOG.md b/packages/callout/CHANGELOG.md index 5183b3a14c..4f72fe0790 100644 --- a/packages/callout/CHANGELOG.md +++ b/packages/callout/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-callout +## 41.0.0 + ## 40.0.0 ## 39.2.18 diff --git a/packages/callout/package.json b/packages/callout/package.json index 037ea62658..a7f037ba24 100644 --- a/packages/callout/package.json +++ b/packages/callout/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-callout", - "version": "40.0.0", + "version": "41.0.0", "description": "Callout plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/caption/CHANGELOG.md b/packages/caption/CHANGELOG.md index 894fdb611d..4e08d6d3de 100644 --- a/packages/caption/CHANGELOG.md +++ b/packages/caption/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-caption +## 41.0.0 + +### Patch Changes + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – Replace `findNodePath` with `findPath` + ## 40.2.5 ### Patch Changes diff --git a/packages/caption/package.json b/packages/caption/package.json index 6e5be9f897..e10b20679c 100644 --- a/packages/caption/package.json +++ b/packages/caption/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-caption", - "version": "40.2.5", + "version": "41.0.0", "description": "Primitive components for caption.", "keywords": [ "plate", @@ -55,7 +55,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/cloud/CHANGELOG.md b/packages/cloud/CHANGELOG.md index a74f487c80..c2d5c8f244 100644 --- a/packages/cloud/CHANGELOG.md +++ b/packages/cloud/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-cloud +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/cloud/package.json b/packages/cloud/package.json index f9471e469a..a1417f9bb6 100644 --- a/packages/cloud/package.json +++ b/packages/cloud/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-cloud", - "version": "40.0.0", + "version": "41.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": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/code-block/CHANGELOG.md b/packages/code-block/CHANGELOG.md index f846da0e71..06296204e9 100644 --- a/packages/code-block/CHANGELOG.md +++ b/packages/code-block/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-code-block +## 41.0.0 + +### Patch Changes + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – Replace `findNodePath` with `findPath` + ## 40.3.4 ### Patch Changes diff --git a/packages/code-block/package.json b/packages/code-block/package.json index 387c25682a..3d6b28e791 100644 --- a/packages/code-block/package.json +++ b/packages/code-block/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-code-block", - "version": "40.3.4", + "version": "41.0.0", "description": "Code block plugin for Plate", "keywords": [ "plate", @@ -54,7 +54,7 @@ "prismjs": "^1.29.0" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/combobox/CHANGELOG.md b/packages/combobox/CHANGELOG.md index ef9e3d06bb..ef459fe20a 100644 --- a/packages/combobox/CHANGELOG.md +++ b/packages/combobox/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-combobox +## 41.0.0 + +### Patch Changes + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – Replace `findNodePath` with `findPath` + ## 40.0.0 ## 39.0.0 diff --git a/packages/combobox/package.json b/packages/combobox/package.json index dfa360277d..95658fbc07 100644 --- a/packages/combobox/package.json +++ b/packages/combobox/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-combobox", - "version": "40.0.0", + "version": "41.0.0", "description": "Combobox for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/comments/CHANGELOG.md b/packages/comments/CHANGELOG.md index bb6ecfad61..72d0334a56 100644 --- a/packages/comments/CHANGELOG.md +++ b/packages/comments/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-comments +## 41.0.0 + ## 40.3.0 ### Minor Changes diff --git a/packages/comments/package.json b/packages/comments/package.json index 9c2a3bd5ff..88e9a16a6f 100644 --- a/packages/comments/package.json +++ b/packages/comments/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-comments", - "version": "40.3.0", + "version": "41.0.0", "description": "Plate plugin for comments", "keywords": [ "plate", @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "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 a74676120c..210d0a4592 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-common +## 41.0.0 + ## 40.3.1 ## 40.2.8 diff --git a/packages/common/package.json b/packages/common/package.json index 3441b76d52..4918dee63f 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-common", - "version": "40.3.1", + "version": "41.0.0", "description": "Plate common packages for plugins", "keywords": [ "plate", @@ -50,13 +50,13 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-core": "40.3.1", - "@udecode/plate-utils": "40.3.1", + "@udecode/plate-core": "41.0.0", + "@udecode/plate-utils": "41.0.0", "@udecode/react-hotkeys": "37.0.0", "@udecode/react-utils": "40.2.8", - "@udecode/slate": "40.3.1", - "@udecode/slate-react": "40.3.1", - "@udecode/slate-utils": "40.3.1", + "@udecode/slate": "41.0.0", + "@udecode/slate-react": "41.0.0", + "@udecode/slate-utils": "41.0.0", "@udecode/utils": "37.0.0" }, "peerDependencies": { diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index ea09d0ea99..e3bc27bc3a 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,19 @@ # @udecode/plate-core +## 41.0.0 + +### Minor Changes + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – ## @udecode/plate-core@40.1.0 + + ### Minor Changes + + - [#3744](https://github.com/udecode/plate/pull/3744) by [@zbeyens](https://github.com/zbeyens) – + - Add `PlateStatic`, `SlateElement`, `SlateLeaf` components for static rendering and server-side HTML serialization + - Add `serializeHtml` function to serialize editor content to HTML. Deprecating `@udecode/plate-html` in favor of core serialization. + - Move from `PlatePlugin` (`/react`) to `BasePlugin` (`/`): `node.component`, `render.aboveEditable`, `render.aboveSlate`, `render.node` + - Add to `SlatePlugin`: `node.props`, `render.aboveNodes`, `render.belowNodes`, `render.afterEditable`, `render.beforeEditable`, `render.node` + ## 40.3.1 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index d66b22d1bf..7a9e1f4957 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-core", - "version": "40.3.1", + "version": "41.0.0", "description": "The core of Plate – a plugin system for slate", "keywords": [ "contentEditable", @@ -58,9 +58,9 @@ "dependencies": { "@udecode/react-hotkeys": "37.0.0", "@udecode/react-utils": "40.2.8", - "@udecode/slate": "40.3.1", - "@udecode/slate-react": "40.3.1", - "@udecode/slate-utils": "40.3.1", + "@udecode/slate": "41.0.0", + "@udecode/slate-react": "41.0.0", + "@udecode/slate-utils": "41.0.0", "@udecode/utils": "37.0.0", "clsx": "^2.1.1", "html-entities": "^2.5.2", diff --git a/packages/csv/CHANGELOG.md b/packages/csv/CHANGELOG.md index e7083217fa..ae2da247b1 100644 --- a/packages/csv/CHANGELOG.md +++ b/packages/csv/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-serializer-csv +## 41.0.0 + ## 40.0.0 ## 39.1.6 diff --git a/packages/csv/package.json b/packages/csv/package.json index b0515163b3..f4db1bcef4 100644 --- a/packages/csv/package.json +++ b/packages/csv/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-csv", - "version": "40.0.0", + "version": "41.0.0", "description": "CSV serializer plugin for Plate", "keywords": [ "csv", @@ -46,7 +46,7 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-table": "40.0.0", + "@udecode/plate-table": "41.0.0", "papaparse": "^5.4.1" }, "devDependencies": { @@ -54,7 +54,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/cursor/CHANGELOG.md b/packages/cursor/CHANGELOG.md index 96129c0763..c2786d74a4 100644 --- a/packages/cursor/CHANGELOG.md +++ b/packages/cursor/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-cursor +## 41.0.0 + ## 40.0.0 ### Patch Changes diff --git a/packages/cursor/package.json b/packages/cursor/package.json index bc8bd46bed..1e931eccab 100644 --- a/packages/cursor/package.json +++ b/packages/cursor/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-cursor", - "version": "40.0.0", + "version": "41.0.0", "description": "Cursor for Plate React", "keywords": [ "plate", @@ -47,7 +47,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/date/CHANGELOG.md b/packages/date/CHANGELOG.md index 2f9a5bc88a..b4aeb8c23f 100644 --- a/packages/date/CHANGELOG.md +++ b/packages/date/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-date +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/date/package.json b/packages/date/package.json index aa5f89b2af..1fcf79b756 100644 --- a/packages/date/package.json +++ b/packages/date/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-date", - "version": "40.0.0", + "version": "41.0.0", "description": "Date plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.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 5fc92e8509..df0a083663 100644 --- a/packages/diff/CHANGELOG.md +++ b/packages/diff/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-diff +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/diff/package.json b/packages/diff/package.json index 1b26949d39..ea44982941 100644 --- a/packages/diff/package.json +++ b/packages/diff/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-diff", - "version": "40.0.0", + "version": "41.0.0", "description": "Compute a diff of two Slate documents", "keywords": [ "plate", @@ -50,7 +50,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "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 bf0d0582af..7154c6be45 100644 --- a/packages/dnd/CHANGELOG.md +++ b/packages/dnd/CHANGELOG.md @@ -1,5 +1,35 @@ # @udecode/plate-dnd +## 41.0.0 + +### Major Changes + +- [#3861](https://github.com/udecode/plate/pull/3861) by [@zbeyens](https://github.com/zbeyens) – + + - Removed `useDndBlock`, `useDragBlock`, and `useDropBlock` hooks in favor of `useDndNode`, `useDragNode`, and `useDropNode`. + - Removed `DndProvider` and `useDraggableStore`. Drop line state is now managed by `DndPlugin` as a single state object `dropTarget` containing both `id` and `line`. + - `useDropNode`: removed `onChangeDropLine` and `dropLine` options + + Migration steps: + + - Remove `DndProvider` from your draggable component (e.g. `draggable.tsx`) + - Replace `useDraggableStore` with `useEditorPlugin(DndPlugin).useOption` + +### Minor Changes + +- [#3861](https://github.com/udecode/plate/pull/3861) by [@zbeyens](https://github.com/zbeyens) – + - `useDndNode` now supports horizontal orientation. New option is `orientation?: 'horizontal' | 'vertical'`. Default is `vertical`. + - `useDraggableState`, `useDndNode`: add `canDropNode` callback option to query if a dragged node can be dropped onto a hovered node. + - `useDropLine`: + - Added `id` option to show dropline only for hovered element. Default is `useElement().id`. + - Added `orientation` option to filter droplines by orientation (`'horizontal' | 'vertical'`). Default is `vertical`. + - Returns empty dropline if orientation doesn't match (e.g., horizontal dropline in vertical orientation) + - Returns empty dropline if elementId doesn't match current hovered element + +### Patch Changes + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – Replace `findNodePath` with `findPath` + ## 40.0.0 ### Minor Changes diff --git a/packages/dnd/package.json b/packages/dnd/package.json index 19b7e4aa20..6d3dfbfd6e 100644 --- a/packages/dnd/package.json +++ b/packages/dnd/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-dnd", - "version": "40.0.0", + "version": "41.0.0", "description": "React drag and drop feature for Plate", "keywords": [ "plate", @@ -51,7 +51,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.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 3bc8d6e33c..e05ea8d3a8 100644 --- a/packages/docx/CHANGELOG.md +++ b/packages/docx/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-docx-serializer +## 41.0.0 + ## 40.2.7 ## 40.2.6 diff --git a/packages/docx/package.json b/packages/docx/package.json index 1a07921ec7..bcbe7ab181 100644 --- a/packages/docx/package.json +++ b/packages/docx/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-docx", - "version": "40.2.7", + "version": "41.0.0", "description": "Docx serializer plugin for Plate", "keywords": [ "docx", @@ -46,18 +46,18 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-heading": "40.2.6", - "@udecode/plate-indent": "40.0.0", - "@udecode/plate-indent-list": "40.0.0", - "@udecode/plate-media": "40.2.7", - "@udecode/plate-table": "40.0.0", + "@udecode/plate-heading": "41.0.0", + "@udecode/plate-indent": "41.0.0", + "@udecode/plate-indent-list": "41.0.0", + "@udecode/plate-media": "41.0.0", + "@udecode/plate-table": "41.0.0", "validator": "^13.12.0" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/emoji/CHANGELOG.md b/packages/emoji/CHANGELOG.md index 83f69d1fde..9b06fe3628 100644 --- a/packages/emoji/CHANGELOG.md +++ b/packages/emoji/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-emoji +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/emoji/package.json b/packages/emoji/package.json index ba68ac5713..3066934349 100644 --- a/packages/emoji/package.json +++ b/packages/emoji/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-emoji", - "version": "40.0.0", + "version": "41.0.0", "description": "Emoji plugin for Plate", "keywords": [ "plate", @@ -51,13 +51,13 @@ }, "dependencies": { "@emoji-mart/data": "^1.2.1", - "@udecode/plate-combobox": "40.0.0" + "@udecode/plate-combobox": "41.0.0" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/excalidraw/CHANGELOG.md b/packages/excalidraw/CHANGELOG.md index 9467f16dcf..6dc8e359f2 100644 --- a/packages/excalidraw/CHANGELOG.md +++ b/packages/excalidraw/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-excalidraw +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/excalidraw/package.json b/packages/excalidraw/package.json index eff832c085..cd15f00c71 100644 --- a/packages/excalidraw/package.json +++ b/packages/excalidraw/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-excalidraw", - "version": "40.0.0", + "version": "41.0.0", "description": "Excalidraw plugin for Plate", "keywords": [ "plate", @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/find-replace/CHANGELOG.md b/packages/find-replace/CHANGELOG.md index 49ddca6f2c..40ac189f2c 100644 --- a/packages/find-replace/CHANGELOG.md +++ b/packages/find-replace/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-find-replace +## 41.0.0 + ## 40.2.8 ### Patch Changes diff --git a/packages/find-replace/package.json b/packages/find-replace/package.json index 8ce7d962c7..d15e9bea2f 100644 --- a/packages/find-replace/package.json +++ b/packages/find-replace/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-find-replace", - "version": "40.2.8", + "version": "41.0.0", "description": "Find and replace plugin for Plate", "keywords": [ "plate", @@ -47,7 +47,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/floating/CHANGELOG.md b/packages/floating/CHANGELOG.md index 9ab312465e..37427edc7b 100644 --- a/packages/floating/CHANGELOG.md +++ b/packages/floating/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-floating +## 41.0.0 + ## 40.0.0 ## 39.1.6 diff --git a/packages/floating/package.json b/packages/floating/package.json index 54229882b9..82cbadcd7f 100644 --- a/packages/floating/package.json +++ b/packages/floating/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-floating", - "version": "40.0.0", + "version": "41.0.0", "description": "React floating UI for Plate", "keywords": [ "plate", @@ -51,7 +51,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/font/CHANGELOG.md b/packages/font/CHANGELOG.md index 4b531304b1..f126cd9c4c 100644 --- a/packages/font/CHANGELOG.md +++ b/packages/font/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-font +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/font/package.json b/packages/font/package.json index b81d82f286..8c7725fc3f 100644 --- a/packages/font/package.json +++ b/packages/font/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-font", - "version": "40.0.0", + "version": "41.0.0", "description": "Font plugins for Plate", "keywords": [ "plate", @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/heading/CHANGELOG.md b/packages/heading/CHANGELOG.md index 45866a018e..d6d147947e 100644 --- a/packages/heading/CHANGELOG.md +++ b/packages/heading/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-heading +## 41.0.0 + ## 40.2.6 ### Patch Changes diff --git a/packages/heading/package.json b/packages/heading/package.json index cc4b3bf303..481450c547 100644 --- a/packages/heading/package.json +++ b/packages/heading/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-heading", - "version": "40.2.6", + "version": "41.0.0", "description": "Headings plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/highlight/CHANGELOG.md b/packages/highlight/CHANGELOG.md index 2ef7a57a94..5ed71a801f 100644 --- a/packages/highlight/CHANGELOG.md +++ b/packages/highlight/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-highlight +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/highlight/package.json b/packages/highlight/package.json index 7ebb521de9..bc1f255ef7 100644 --- a/packages/highlight/package.json +++ b/packages/highlight/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-highlight", - "version": "40.0.0", + "version": "41.0.0", "description": "Highlight plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/horizontal-rule/CHANGELOG.md b/packages/horizontal-rule/CHANGELOG.md index a09c599606..44b7bc9633 100644 --- a/packages/horizontal-rule/CHANGELOG.md +++ b/packages/horizontal-rule/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-horizontal-rule +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/horizontal-rule/package.json b/packages/horizontal-rule/package.json index 9e7d776d34..bab9fb19fc 100644 --- a/packages/horizontal-rule/package.json +++ b/packages/horizontal-rule/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-horizontal-rule", - "version": "40.0.0", + "version": "41.0.0", "description": "Horizontal rule plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/indent-list/CHANGELOG.md b/packages/indent-list/CHANGELOG.md index 90826f171f..455edf92bd 100644 --- a/packages/indent-list/CHANGELOG.md +++ b/packages/indent-list/CHANGELOG.md @@ -1,5 +1,19 @@ # @udecode/plate-indent-list +## 41.0.0 + +### Major Changes + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – + - Move `render.belowNodes` from `IndentListPlugin` to `BaseIndentListPlugin`. Props type for `listStyleTypes.liComponent` and `listStyleTypes.markerComponent` options is now `SlateRenderElementProps` instead of `PlateRenderElementProps` + - Move `someIndentList`, `someIndentTodo` from `@udecode/plate-indent-list/react` to `@udecode/plate-indent-list` + +### Patch Changes + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – Replace `findNodePath` with `findPath` + +- [#3868](https://github.com/udecode/plate/pull/3868) by [@zbeyens](https://github.com/zbeyens) – Fix todo list: insert break should inherit format + ## 40.0.0 ## 39.1.10 diff --git a/packages/indent-list/package.json b/packages/indent-list/package.json index 68ebd756ac..c3248a6640 100644 --- a/packages/indent-list/package.json +++ b/packages/indent-list/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-indent-list", - "version": "40.0.0", + "version": "41.0.0", "description": "Indent list plugin for Plate", "keywords": [ "plate", @@ -50,15 +50,15 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-indent": "40.0.0", - "@udecode/plate-list": "40.0.0", + "@udecode/plate-indent": "41.0.0", + "@udecode/plate-list": "41.0.0", "clsx": "^2.1.1" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/indent/CHANGELOG.md b/packages/indent/CHANGELOG.md index 3c055058f8..e7e2ca6ed1 100644 --- a/packages/indent/CHANGELOG.md +++ b/packages/indent/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-indent +## 41.0.0 + ## 40.0.0 ### Patch Changes diff --git a/packages/indent/package.json b/packages/indent/package.json index e73f127a12..11496f9154 100644 --- a/packages/indent/package.json +++ b/packages/indent/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-indent", - "version": "40.0.0", + "version": "41.0.0", "description": "Indent plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/juice/CHANGELOG.md b/packages/juice/CHANGELOG.md index d4d5c58fd8..ff35638c8b 100644 --- a/packages/juice/CHANGELOG.md +++ b/packages/juice/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-juice +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/juice/package.json b/packages/juice/package.json index d19ef0b0ec..b3ae9c0d87 100644 --- a/packages/juice/package.json +++ b/packages/juice/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-juice", - "version": "40.0.0", + "version": "41.0.0", "description": "HTML juice plugin for Plate", "keywords": [ "plate", @@ -50,7 +50,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/kbd/CHANGELOG.md b/packages/kbd/CHANGELOG.md index 0387ab18ad..3ca84fd94f 100644 --- a/packages/kbd/CHANGELOG.md +++ b/packages/kbd/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-kbd +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/kbd/package.json b/packages/kbd/package.json index 429c57d622..602870f173 100644 --- a/packages/kbd/package.json +++ b/packages/kbd/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-kbd", - "version": "40.0.0", + "version": "41.0.0", "description": "Keyboard input plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "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 82d2d7d630..4602ae6bf6 100644 --- a/packages/layout/CHANGELOG.md +++ b/packages/layout/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-layout +## 41.0.0 + +### Patch Changes + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – Replace `findNodePath` with `findPath` + ## 40.0.0 ### Major Changes diff --git a/packages/layout/package.json b/packages/layout/package.json index 207a145dda..6ce17a2757 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-layout", - "version": "40.0.0", + "version": "41.0.0", "description": "Layout plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/line-height/CHANGELOG.md b/packages/line-height/CHANGELOG.md index 513f32e0aa..753f6b1365 100644 --- a/packages/line-height/CHANGELOG.md +++ b/packages/line-height/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-line-height +## 41.0.0 + ## 40.0.0 ### Patch Changes diff --git a/packages/line-height/package.json b/packages/line-height/package.json index f103b7873a..f6abc6db4e 100644 --- a/packages/line-height/package.json +++ b/packages/line-height/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-line-height", - "version": "40.0.0", + "version": "41.0.0", "description": "Line height plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/link/CHANGELOG.md b/packages/link/CHANGELOG.md index 848317540f..e677c4a62e 100644 --- a/packages/link/CHANGELOG.md +++ b/packages/link/CHANGELOG.md @@ -1,5 +1,14 @@ # @udecode/plate-link +## 41.0.0 + +### Patch Changes + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – Move `node.props` plugin attributes from `/react` to `/` + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – + - Fix floating link url input being focused when focusing the placeholder input + ## 40.0.0 ## 39.1.9 diff --git a/packages/link/package.json b/packages/link/package.json index 69394ba588..a145e1268f 100644 --- a/packages/link/package.json +++ b/packages/link/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-link", - "version": "40.0.0", + "version": "41.0.0", "description": "Link plugin for Plate", "keywords": [ "plate", @@ -50,14 +50,14 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-floating": "40.0.0", - "@udecode/plate-normalizers": "40.0.0" + "@udecode/plate-floating": "41.0.0", + "@udecode/plate-normalizers": "41.0.0" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/list/CHANGELOG.md b/packages/list/CHANGELOG.md index 115140f8e5..646997687d 100644 --- a/packages/list/CHANGELOG.md +++ b/packages/list/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-list +## 41.0.0 + +### Patch Changes + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – Replace `findNodePath` with `findPath` + ## 40.0.0 ## 39.0.0 diff --git a/packages/list/package.json b/packages/list/package.json index 4888cf73be..ee8e89c0ca 100644 --- a/packages/list/package.json +++ b/packages/list/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-list", - "version": "40.0.0", + "version": "41.0.0", "description": "List plugin for Plate", "keywords": [ "plate", @@ -50,14 +50,14 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-reset-node": "40.0.0", + "@udecode/plate-reset-node": "41.0.0", "lodash": "^4.17.21" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/markdown/CHANGELOG.md b/packages/markdown/CHANGELOG.md index 24198fa882..828e40604d 100644 --- a/packages/markdown/CHANGELOG.md +++ b/packages/markdown/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-md-serializer +## 41.0.0 + ## 40.2.2 ### Patch Changes diff --git a/packages/markdown/package.json b/packages/markdown/package.json index 95850e1618..7c41926de7 100644 --- a/packages/markdown/package.json +++ b/packages/markdown/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-markdown", - "version": "40.2.2", + "version": "41.0.0", "description": "Markdown serializer plugin for Plate", "keywords": [ "markdown", @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/math/CHANGELOG.md b/packages/math/CHANGELOG.md index 9035cc5eb0..640f0b3c31 100644 --- a/packages/math/CHANGELOG.md +++ b/packages/math/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-math +## 41.0.0 + ## 40.3.3 ### Patch Changes diff --git a/packages/math/package.json b/packages/math/package.json index 7ab1d8c122..e6f3766021 100644 --- a/packages/math/package.json +++ b/packages/math/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-math", - "version": "40.3.3", + "version": "41.0.0", "description": "Math plugin for Plate", "keywords": [ "plate", @@ -57,7 +57,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/media/CHANGELOG.md b/packages/media/CHANGELOG.md index d13b50e1f7..7c66162dbd 100644 --- a/packages/media/CHANGELOG.md +++ b/packages/media/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-media +## 41.0.0 + ## 40.2.7 ### Patch Changes diff --git a/packages/media/package.json b/packages/media/package.json index 9bb21d6a93..9727563767 100644 --- a/packages/media/package.json +++ b/packages/media/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-media", - "version": "40.2.7", + "version": "41.0.0", "description": "Plate Media plugin", "keywords": [ "plate", @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/mention/CHANGELOG.md b/packages/mention/CHANGELOG.md index eae5ddf65e..f8aca1ff8b 100644 --- a/packages/mention/CHANGELOG.md +++ b/packages/mention/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-mention +## 41.0.0 + ## 40.0.0 ## 39.3.4 diff --git a/packages/mention/package.json b/packages/mention/package.json index 81750162e7..0e3e2a047e 100644 --- a/packages/mention/package.json +++ b/packages/mention/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-mention", - "version": "40.0.0", + "version": "41.0.0", "description": "Mention plugin for Plate", "keywords": [ "plate", @@ -50,13 +50,13 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-combobox": "40.0.0" + "@udecode/plate-combobox": "41.0.0" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/node-id/CHANGELOG.md b/packages/node-id/CHANGELOG.md index 5259e78fbf..6997848078 100644 --- a/packages/node-id/CHANGELOG.md +++ b/packages/node-id/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-node-id +## 41.0.0 + ## 40.0.0 ### Minor Changes diff --git a/packages/node-id/package.json b/packages/node-id/package.json index 59e3f199c6..f6c866ad0a 100644 --- a/packages/node-id/package.json +++ b/packages/node-id/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-node-id", - "version": "40.0.0", + "version": "41.0.0", "description": "Node ID plugin for Plate", "keywords": [ "plate", @@ -50,7 +50,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/normalizers/CHANGELOG.md b/packages/normalizers/CHANGELOG.md index 302516e98b..2709708a2b 100644 --- a/packages/normalizers/CHANGELOG.md +++ b/packages/normalizers/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-normalizers +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/normalizers/package.json b/packages/normalizers/package.json index 622d19e022..25b21c00be 100644 --- a/packages/normalizers/package.json +++ b/packages/normalizers/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-normalizers", - "version": "40.0.0", + "version": "41.0.0", "description": "Normalizer plugins for Plate", "keywords": [ "plate", @@ -50,7 +50,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "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 6af17aafb9..b9278efaf4 100644 --- a/packages/plate-utils/CHANGELOG.md +++ b/packages/plate-utils/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-utils +## 41.0.0 + +### Patch Changes + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – Replace `findNodePath` with `findPath` + ## 40.3.1 ## 40.2.8 diff --git a/packages/plate-utils/package.json b/packages/plate-utils/package.json index 4b03d39b2d..8cf670bd79 100644 --- a/packages/plate-utils/package.json +++ b/packages/plate-utils/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-utils", - "version": "40.3.1", + "version": "41.0.0", "description": "Plate utils", "keywords": [ "plate", @@ -50,11 +50,11 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-core": "40.3.1", + "@udecode/plate-core": "41.0.0", "@udecode/react-utils": "40.2.8", - "@udecode/slate": "40.3.1", - "@udecode/slate-react": "40.3.1", - "@udecode/slate-utils": "40.3.1", + "@udecode/slate": "41.0.0", + "@udecode/slate-react": "41.0.0", + "@udecode/slate-utils": "41.0.0", "@udecode/utils": "37.0.0", "clsx": "^2.1.1", "lodash": "^4.17.21" diff --git a/packages/plate/CHANGELOG.md b/packages/plate/CHANGELOG.md index 33cf9acdce..b0774192fe 100644 --- a/packages/plate/CHANGELOG.md +++ b/packages/plate/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate +## 41.0.0 + ## 40.3.4 ## 40.3.1 diff --git a/packages/plate/package.json b/packages/plate/package.json index 1c74bceda1..7df100d3c0 100644 --- a/packages/plate/package.json +++ b/packages/plate/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate", - "version": "40.3.4", + "version": "41.0.0", "description": "Plate – a plugin system for slate", "keywords": [ "contentEditable", @@ -56,47 +56,47 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-alignment": "40.0.0", - "@udecode/plate-autoformat": "40.0.0", - "@udecode/plate-basic-elements": "40.3.4", - "@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.3.4", - "@udecode/plate-combobox": "40.0.0", - "@udecode/plate-comments": "40.3.0", - "@udecode/plate-common": "40.3.1", - "@udecode/plate-csv": "40.0.0", - "@udecode/plate-diff": "40.0.0", - "@udecode/plate-docx": "40.2.7", - "@udecode/plate-find-replace": "40.2.8", - "@udecode/plate-floating": "40.0.0", - "@udecode/plate-font": "40.0.0", - "@udecode/plate-heading": "40.2.6", - "@udecode/plate-highlight": "40.0.0", - "@udecode/plate-horizontal-rule": "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.2.2", - "@udecode/plate-media": "40.2.7", - "@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.2.9", - "@udecode/plate-slash-command": "40.0.0", - "@udecode/plate-suggestion": "40.2.8", - "@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" + "@udecode/plate-alignment": "41.0.0", + "@udecode/plate-autoformat": "41.0.0", + "@udecode/plate-basic-elements": "41.0.0", + "@udecode/plate-basic-marks": "41.0.0", + "@udecode/plate-block-quote": "41.0.0", + "@udecode/plate-break": "41.0.0", + "@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-csv": "41.0.0", + "@udecode/plate-diff": "41.0.0", + "@udecode/plate-docx": "41.0.0", + "@udecode/plate-find-replace": "41.0.0", + "@udecode/plate-floating": "41.0.0", + "@udecode/plate-font": "41.0.0", + "@udecode/plate-heading": "41.0.0", + "@udecode/plate-highlight": "41.0.0", + "@udecode/plate-horizontal-rule": "41.0.0", + "@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-line-height": "41.0.0", + "@udecode/plate-link": "41.0.0", + "@udecode/plate-list": "41.0.0", + "@udecode/plate-markdown": "41.0.0", + "@udecode/plate-media": "41.0.0", + "@udecode/plate-mention": "41.0.0", + "@udecode/plate-node-id": "41.0.0", + "@udecode/plate-normalizers": "41.0.0", + "@udecode/plate-reset-node": "41.0.0", + "@udecode/plate-resizable": "41.0.0", + "@udecode/plate-select": "41.0.0", + "@udecode/plate-selection": "41.0.0", + "@udecode/plate-slash-command": "41.0.0", + "@udecode/plate-suggestion": "41.0.0", + "@udecode/plate-tabbable": "41.0.0", + "@udecode/plate-table": "41.0.0", + "@udecode/plate-toggle": "41.0.0", + "@udecode/plate-trailing-block": "41.0.0" }, "peerDependencies": { "react": ">=16.8.0", diff --git a/packages/playwright/CHANGELOG.md b/packages/playwright/CHANGELOG.md index a91ed29a17..e7f7c94250 100644 --- a/packages/playwright/CHANGELOG.md +++ b/packages/playwright/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-playwright +## 41.0.0 + ## 40.2.8 ### Patch Changes diff --git a/packages/playwright/package.json b/packages/playwright/package.json index fbad0bfc15..8de6ec106d 100644 --- a/packages/playwright/package.json +++ b/packages/playwright/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-playwright", - "version": "40.2.8", + "version": "41.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": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/reset-node/CHANGELOG.md b/packages/reset-node/CHANGELOG.md index f99d13a07b..1959f1e4ed 100644 --- a/packages/reset-node/CHANGELOG.md +++ b/packages/reset-node/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-reset-node +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/reset-node/package.json b/packages/reset-node/package.json index 36e17048f0..dee9095431 100644 --- a/packages/reset-node/package.json +++ b/packages/reset-node/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-reset-node", - "version": "40.0.0", + "version": "41.0.0", "description": "Reset node plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/resizable/CHANGELOG.md b/packages/resizable/CHANGELOG.md index a76b026eb5..0912c21f38 100644 --- a/packages/resizable/CHANGELOG.md +++ b/packages/resizable/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-resizable +## 41.0.0 + +### Patch Changes + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – Replace `findNodePath` with `findPath` + ## 40.0.0 ## 39.1.6 diff --git a/packages/resizable/package.json b/packages/resizable/package.json index 5802f4f934..27bf63cc5f 100644 --- a/packages/resizable/package.json +++ b/packages/resizable/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-resizable", - "version": "40.0.0", + "version": "41.0.0", "description": "Plate React resize components", "keywords": [ "plate", @@ -46,7 +46,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/select/CHANGELOG.md b/packages/select/CHANGELOG.md index 0ace49dff0..c60db611b5 100644 --- a/packages/select/CHANGELOG.md +++ b/packages/select/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-select +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/select/package.json b/packages/select/package.json index ab201263b4..084bb0a30d 100644 --- a/packages/select/package.json +++ b/packages/select/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-select", - "version": "40.0.0", + "version": "41.0.0", "description": "Select plugins for Plate", "keywords": [ "plate", @@ -47,7 +47,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/selection/CHANGELOG.md b/packages/selection/CHANGELOG.md index 46c369c967..d31f011a61 100644 --- a/packages/selection/CHANGELOG.md +++ b/packages/selection/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-selection +## 41.0.0 + +### Patch Changes + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – Replace `findNodePath` with `findPath` + ## 40.2.9 ### Patch Changes diff --git a/packages/selection/package.json b/packages/selection/package.json index 90eb9039e5..aa569233c3 100644 --- a/packages/selection/package.json +++ b/packages/selection/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-selection", - "version": "40.2.9", + "version": "41.0.0", "description": "Plate selection plugins", "keywords": [ "plate", @@ -56,7 +56,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/slash-command/CHANGELOG.md b/packages/slash-command/CHANGELOG.md index 5b5800ef8e..c7336a335c 100644 --- a/packages/slash-command/CHANGELOG.md +++ b/packages/slash-command/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-slash-command +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/slash-command/package.json b/packages/slash-command/package.json index 1e47525aaa..e02a8f5c2e 100644 --- a/packages/slash-command/package.json +++ b/packages/slash-command/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-slash-command", - "version": "40.0.0", + "version": "41.0.0", "description": "Slash commands plugin for Plate", "keywords": [ "plate", @@ -50,13 +50,13 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-combobox": "40.0.0" + "@udecode/plate-combobox": "41.0.0" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/slate-react/CHANGELOG.md b/packages/slate-react/CHANGELOG.md index 93540b8674..5f950a3945 100644 --- a/packages/slate-react/CHANGELOG.md +++ b/packages/slate-react/CHANGELOG.md @@ -1,5 +1,22 @@ # @udecode/slate-react +## 41.0.0 + +### Major Changes + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – Rename `findNodePath` to `findPath` since the addition of `findNodePath` in the headless lib. + + We recommend using `findPath` mostly when subscribing to its value (e.g. in a React component) as it has O(path.length) complexity, compared to O(n) for the traversal-based `findNodePath`. This optimization is particularly important in: + + - Render functions of Plate components where using `findNodePath` would increase the initial render time by O(n²) + - Key press handlers where using `findNodePath` would increase the handling time by O(n) + + where n is the number of nodes in the editor. + +### Patch Changes + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – Update `TRenderElementProps`, `TRenderLeafProps` types + ## 40.3.1 ## 40.2.8 diff --git a/packages/slate-react/package.json b/packages/slate-react/package.json index cee55be708..c66f38d4ee 100644 --- a/packages/slate-react/package.json +++ b/packages/slate-react/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/slate-react", - "version": "40.3.1", + "version": "41.0.0", "description": "Slate extension", "keywords": [ "slate" @@ -43,7 +43,7 @@ }, "dependencies": { "@udecode/react-utils": "40.2.8", - "@udecode/slate": "40.3.1", + "@udecode/slate": "41.0.0", "@udecode/utils": "37.0.0" }, "peerDependencies": { diff --git a/packages/slate-utils/CHANGELOG.md b/packages/slate-utils/CHANGELOG.md index 431c618d95..3e66de756f 100644 --- a/packages/slate-utils/CHANGELOG.md +++ b/packages/slate-utils/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/slate-utils +## 41.0.0 + +### Patch Changes + +- [#3868](https://github.com/udecode/plate/pull/3868) by [@zbeyens](https://github.com/zbeyens) – Add `getFirstNodeText` + ## 40.3.1 ## 40.2.7 diff --git a/packages/slate-utils/package.json b/packages/slate-utils/package.json index 2ac0702779..d4a6e49b57 100644 --- a/packages/slate-utils/package.json +++ b/packages/slate-utils/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/slate-utils", - "version": "40.3.1", + "version": "41.0.0", "description": "Slate utils", "keywords": [ "slate" @@ -42,7 +42,7 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/slate": "40.3.1", + "@udecode/slate": "41.0.0", "@udecode/utils": "37.0.0", "lodash": "^4.17.21" }, diff --git a/packages/slate/CHANGELOG.md b/packages/slate/CHANGELOG.md index e61a88be67..3059031da1 100644 --- a/packages/slate/CHANGELOG.md +++ b/packages/slate/CHANGELOG.md @@ -1,5 +1,19 @@ # @udecode/slate +## 41.0.0 + +### Minor Changes + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – Add `findNodePath` - a traversal-based node path finder with O(n) complexity. This is the headless alternative to `findPath` from `@udecode/slate-react`, recommended for: + + - Non-React contexts + - Plugin logic that doesn't require React dependencies + - Non-performance-critical paths where O(n) traversal is acceptable + +### Patch Changes + +- [#3868](https://github.com/udecode/plate/pull/3868) by [@zbeyens](https://github.com/zbeyens) – export type NodeTextsOptions + ## 40.3.1 ### Patch Changes diff --git a/packages/slate/package.json b/packages/slate/package.json index 193f3feb3d..96a5f5ab65 100644 --- a/packages/slate/package.json +++ b/packages/slate/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/slate", - "version": "40.3.1", + "version": "41.0.0", "description": "Slate extension", "keywords": [ "slate" diff --git a/packages/suggestion/CHANGELOG.md b/packages/suggestion/CHANGELOG.md index bd1becc240..d43c9a3f85 100644 --- a/packages/suggestion/CHANGELOG.md +++ b/packages/suggestion/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-suggestion +## 41.0.0 + ## 40.2.8 ### Patch Changes diff --git a/packages/suggestion/package.json b/packages/suggestion/package.json index c961949847..ae6ad4580d 100644 --- a/packages/suggestion/package.json +++ b/packages/suggestion/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-suggestion", - "version": "40.2.8", + "version": "41.0.0", "description": "Plate plugin for suggestions", "keywords": [ "plate", @@ -49,14 +49,14 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-diff": "40.0.0", + "@udecode/plate-diff": "41.0.0", "lodash": "^4.17.21" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/tabbable/CHANGELOG.md b/packages/tabbable/CHANGELOG.md index fcf523c40d..1e9f4cd741 100644 --- a/packages/tabbable/CHANGELOG.md +++ b/packages/tabbable/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-tabbable +## 41.0.0 + +### Patch Changes + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – Replace `findNodePath` with `findPath` + ## 40.0.0 ## 39.0.0 diff --git a/packages/tabbable/package.json b/packages/tabbable/package.json index 0ee8704d53..3f38d4adb8 100644 --- a/packages/tabbable/package.json +++ b/packages/tabbable/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-tabbable", - "version": "40.0.0", + "version": "41.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": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/table/CHANGELOG.md b/packages/table/CHANGELOG.md index f1cc0be81c..dec18d1fff 100644 --- a/packages/table/CHANGELOG.md +++ b/packages/table/CHANGELOG.md @@ -1,5 +1,39 @@ # @udecode/plate-table +## 41.0.0 + +### Major Changes + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – Move from `@udecode/plate-table/react` to `@udecode/plate-table`: + + - `deleteColumn` + - `deleteColumnWhenExpanded` + - `deleteRow` + - `deleteRowWhenExpanded` + - `getTableColumn` + - `getTableGridAbove` + - `getTableGridByRange` + - `getTableRow` + - `insertTable` + - `mergeTableCells` + - `moveSelectionFromCell` + - `overrideSelectionFromCell` + - `unmergeTableCells` + - `withDeleteTable` + - `withGetFragmentlable` + - `withInsertFragmentTable` + - `withInsertTextTable` + - `withMarkTable` + - `withSelectionTable` + - `withSetFragmentDataTable` + - `withTable` + +### Patch Changes + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – Move `node.props` plugin attributes from `/react` to `/` + +- [#3830](https://github.com/udecode/plate/pull/3830) by [@felixfeng33](https://github.com/felixfeng33) – Replace `findNodePath` with `findPath` + ## 40.0.0 ### Patch Changes diff --git a/packages/table/package.json b/packages/table/package.json index 967c329da6..ba81575a07 100644 --- a/packages/table/package.json +++ b/packages/table/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-table", - "version": "40.0.0", + "version": "41.0.0", "description": "Table plugin for Plate", "keywords": [ "plate", @@ -50,14 +50,14 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-resizable": "40.0.0", + "@udecode/plate-resizable": "41.0.0", "lodash": "^4.17.21" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/tag/CHANGELOG.md b/packages/tag/CHANGELOG.md index 134b9a2b55..02f0805ff8 100644 --- a/packages/tag/CHANGELOG.md +++ b/packages/tag/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-tag +## 41.0.0 + ## 40.2.7 ### Patch Changes diff --git a/packages/tag/package.json b/packages/tag/package.json index bb37d8af12..67fe1a9b52 100644 --- a/packages/tag/package.json +++ b/packages/tag/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-tag", - "version": "40.2.7", + "version": "41.0.0", "description": "Tag plugin for Plate", "keywords": [ "plate", @@ -53,7 +53,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/toggle/CHANGELOG.md b/packages/toggle/CHANGELOG.md index 3a96924a29..a0e10513e3 100644 --- a/packages/toggle/CHANGELOG.md +++ b/packages/toggle/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-toggle +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/toggle/package.json b/packages/toggle/package.json index d208157d26..17d12bc88d 100644 --- a/packages/toggle/package.json +++ b/packages/toggle/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-toggle", - "version": "40.0.0", + "version": "41.0.0", "description": "Toggle plugin for Plate", "keywords": [ "plate", @@ -50,15 +50,15 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-indent": "40.0.0", - "@udecode/plate-node-id": "40.0.0", + "@udecode/plate-indent": "41.0.0", + "@udecode/plate-node-id": "41.0.0", "lodash": "^4.17.21" }, "devDependencies": { "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/trailing-block/CHANGELOG.md b/packages/trailing-block/CHANGELOG.md index ea4e1b180b..32800b3c87 100644 --- a/packages/trailing-block/CHANGELOG.md +++ b/packages/trailing-block/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-trailing-block +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/trailing-block/package.json b/packages/trailing-block/package.json index 26ac248cad..2ff8eaa36c 100644 --- a/packages/trailing-block/package.json +++ b/packages/trailing-block/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-trailing-block", - "version": "40.0.0", + "version": "41.0.0", "description": "Trailing-block plugin for Plate", "keywords": [ "plate", @@ -47,7 +47,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0", diff --git a/packages/yjs/CHANGELOG.md b/packages/yjs/CHANGELOG.md index c6c1b6efc0..a7bf855f5d 100644 --- a/packages/yjs/CHANGELOG.md +++ b/packages/yjs/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-yjs +## 41.0.0 + ## 40.0.0 ## 39.0.0 diff --git a/packages/yjs/package.json b/packages/yjs/package.json index 1363861b54..d8220830a3 100644 --- a/packages/yjs/package.json +++ b/packages/yjs/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-yjs", - "version": "40.0.0", + "version": "41.0.0", "description": "Yjs plugin for Plate", "keywords": [ "plate", @@ -59,7 +59,7 @@ "@udecode/plate-common": "workspace:^" }, "peerDependencies": { - "@udecode/plate-common": ">=40.3.1", + "@udecode/plate-common": ">=41.0.0", "react": ">=16.8.0", "react-dom": ">=16.8.0", "slate": ">=0.112.0",