From 7f86a89ab3fe04542d6a642ca9e2814e892b7112 Mon Sep 17 00:00:00 2001 From: Dzmitry Tamashevich Date: Tue, 28 Nov 2023 17:30:25 +0300 Subject: [PATCH 01/12] fix unmerge --- packages/table/src/merge/unmergeTableCells.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/table/src/merge/unmergeTableCells.ts b/packages/table/src/merge/unmergeTableCells.ts index 400e34f21d..1a3e9323d8 100644 --- a/packages/table/src/merge/unmergeTableCells.ts +++ b/packages/table/src/merge/unmergeTableCells.ts @@ -13,6 +13,7 @@ import { import { ELEMENT_TABLE, ELEMENT_TR } from '../createTablePlugin'; import { getTableGridAbove } from '../queries'; import { getColSpan } from '../queries/getColSpan'; +import { getRowSpan } from '../queries/getRowSpan'; import { TablePlugin, TTableCellElement, TTableRowElement } from '../types'; import { getEmptyCellNode } from '../utils'; import { getCellIndices } from './getCellIndices'; @@ -45,8 +46,8 @@ export const unmergeTableCells = ( const cellPath = path.slice(-2); const [rowPath, colPath] = cellPath; - const colSpan = cellElem.colSpan as number; - const rowSpan = cellElem.rowSpan as number; + const colSpan = getColSpan(cellElem as TTableCellElement); + const rowSpan = getRowSpan(cellElem as TTableCellElement); // Generate an array of column paths from the colspan const colPaths: number[] = []; From 1e200727288cc252dfdb19f5cd9d707876e5cdeb Mon Sep 17 00:00:00 2001 From: Dzmitry Tamashevich Date: Tue, 28 Nov 2023 17:35:52 +0300 Subject: [PATCH 02/12] prevent another errors --- packages/table/src/merge/computeCellIndices.ts | 8 +++++--- packages/table/src/merge/isTableRectangular.ts | 3 ++- packages/table/src/merge/useTableMergeState.ts | 12 +++++++----- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/packages/table/src/merge/computeCellIndices.ts b/packages/table/src/merge/computeCellIndices.ts index 57c727f86c..c1e1efdc45 100644 --- a/packages/table/src/merge/computeCellIndices.ts +++ b/packages/table/src/merge/computeCellIndices.ts @@ -1,6 +1,7 @@ import { getPluginOptions, PlateEditor, Value } from '@udecode/plate-common'; import { ELEMENT_TABLE } from '../createTablePlugin'; +import { getRowSpan } from '../queries/getRowSpan'; import { TablePlugin, TTableCellElement, @@ -40,15 +41,16 @@ export function computeCellIndices( prevRow.children.forEach((pC) => { const prevCell = pC as TTableCellElement; const prevIndices = options?._cellIndices?.get(prevCell); + const _rowSpan = getRowSpan(prevCell); if (prevIndices) { const { col: prevColIndex } = prevIndices; if ( // colIndex affects prevColIndex <= colIndex && // rowSpan affects - prevCell.rowSpan && - prevCell.rowSpan > 1 && - rowIndex - _rowIndex < prevCell.rowSpan + _rowSpan && + _rowSpan > 1 && + rowIndex - _rowIndex < _rowSpan ) { colIndex += prevCell.colSpan || 1; } diff --git a/packages/table/src/merge/isTableRectangular.ts b/packages/table/src/merge/isTableRectangular.ts index ff3b216712..d0f3d42fff 100644 --- a/packages/table/src/merge/isTableRectangular.ts +++ b/packages/table/src/merge/isTableRectangular.ts @@ -1,3 +1,4 @@ +import { getRowSpan } from '../queries/getRowSpan'; import { TTableCellElement, TTableElement, TTableRowElement } from '../types'; const allEqual = (arr: number[]) => arr.every((val) => val === arr[0]); @@ -14,7 +15,7 @@ export const isTableRectangular = (table?: TTableElement) => { const cellElem = cell as TTableCellElement; Array.from({ - length: cellElem?.rowSpan || 1, + length: getRowSpan(cellElem) || 1, } as ArrayLike).forEach((_, i) => { if (!arr[rI + i]) { arr[rI + i] = 0; diff --git a/packages/table/src/merge/useTableMergeState.ts b/packages/table/src/merge/useTableMergeState.ts index 32e8806e92..a8d279b629 100644 --- a/packages/table/src/merge/useTableMergeState.ts +++ b/packages/table/src/merge/useTableMergeState.ts @@ -11,6 +11,8 @@ import { useReadOnly, useSelected } from 'slate-react'; import { ELEMENT_TABLE } from '../createTablePlugin'; import { getTableGridAbove } from '../queries'; +import { getColSpan } from '../queries/getColSpan'; +import { getRowSpan } from '../queries/getRowSpan'; import { useTableStore } from '../stores'; import { TablePlugin } from '../types'; import { isTableRectangular } from './isTableRectangular'; @@ -53,11 +55,11 @@ export const useTableMergeState = () => { }, [readOnly, selected, editor.selection, selectedTable]); const canUnmerge = - collapsed && - selectedCellEntries && - selectedCellEntries.length === 1 && - ((selectedCellEntries[0][0] as any)?.colSpan > 1 || - (selectedCellEntries[0][0] as any)?.rowSpan > 1); + (collapsed && + selectedCellEntries && + selectedCellEntries.length === 1 && + getColSpan(selectedCellEntries[0][0] as any) > 1) || + getRowSpan(selectedCellEntries[0][0] as any) > 1; return { canMerge, canUnmerge }; }; From 6b94e63d3d0ebca383818a1abe032519077ea090 Mon Sep 17 00:00:00 2001 From: zbeyens Date: Tue, 28 Nov 2023 16:15:10 +0100 Subject: [PATCH 03/12] =?UTF-8?q?=E2=9A=B0=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/floating/package.json | 1 - packages/floating/src/libs/index.ts | 1 - packages/floating/src/libs/radix-ui.ts | 1 - yarn.lock | 17 ++++++++--------- 4 files changed, 8 insertions(+), 12 deletions(-) delete mode 100644 packages/floating/src/libs/radix-ui.ts diff --git a/packages/floating/package.json b/packages/floating/package.json index 412cceca40..a18a615342 100644 --- a/packages/floating/package.json +++ b/packages/floating/package.json @@ -41,7 +41,6 @@ "dependencies": { "@floating-ui/core": "^1.3.1", "@floating-ui/react": "^0.22.3", - "@radix-ui/react-dropdown-menu": "^2.0.5", "@udecode/plate-common": "25.0.1" }, "peerDependencies": { diff --git a/packages/floating/src/libs/index.ts b/packages/floating/src/libs/index.ts index 2bb0fa2c92..3d40627f8c 100644 --- a/packages/floating/src/libs/index.ts +++ b/packages/floating/src/libs/index.ts @@ -3,4 +3,3 @@ */ export * from './floating-ui'; -export * from './radix-ui'; diff --git a/packages/floating/src/libs/radix-ui.ts b/packages/floating/src/libs/radix-ui.ts deleted file mode 100644 index d04e965c65..0000000000 --- a/packages/floating/src/libs/radix-ui.ts +++ /dev/null @@ -1 +0,0 @@ -export * as DropdownMenu from '@radix-ui/react-dropdown-menu'; diff --git a/yarn.lock b/yarn.lock index 75ad3e314c..4d3522b532 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7420,7 +7420,6 @@ __metadata: dependencies: "@floating-ui/core": "npm:^1.3.1" "@floating-ui/react": "npm:^0.22.3" - "@radix-ui/react-dropdown-menu": "npm:^2.0.5" "@udecode/plate-common": "npm:25.0.1" peerDependencies: react: ">=16.8.0" @@ -7747,13 +7746,13 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-serializer-csv@npm:26.0.2, @udecode/plate-serializer-csv@workspace:^, @udecode/plate-serializer-csv@workspace:packages/serializer-csv": +"@udecode/plate-serializer-csv@npm:26.0.3, @udecode/plate-serializer-csv@workspace:^, @udecode/plate-serializer-csv@workspace:packages/serializer-csv": version: 0.0.0-use.local resolution: "@udecode/plate-serializer-csv@workspace:packages/serializer-csv" dependencies: "@types/papaparse": "npm:^5.3.7" "@udecode/plate-common": "npm:25.0.1" - "@udecode/plate-table": "npm:26.0.2" + "@udecode/plate-table": "npm:26.0.3" papaparse: "npm:^5.4.1" peerDependencies: react: ">=16.8.0" @@ -7765,7 +7764,7 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-serializer-docx@npm:26.0.2, @udecode/plate-serializer-docx@workspace:^, @udecode/plate-serializer-docx@workspace:packages/serializer-docx": +"@udecode/plate-serializer-docx@npm:26.0.3, @udecode/plate-serializer-docx@workspace:^, @udecode/plate-serializer-docx@workspace:packages/serializer-docx": version: 0.0.0-use.local resolution: "@udecode/plate-serializer-docx@workspace:packages/serializer-docx" dependencies: @@ -7775,7 +7774,7 @@ __metadata: "@udecode/plate-indent-list": "npm:25.0.1" "@udecode/plate-media": "npm:25.0.1" "@udecode/plate-paragraph": "npm:25.0.1" - "@udecode/plate-table": "npm:26.0.2" + "@udecode/plate-table": "npm:26.0.3" validator: "npm:^13.9.0" peerDependencies: react: ">=16.8.0" @@ -7861,7 +7860,7 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-table@npm:26.0.2, @udecode/plate-table@workspace:^, @udecode/plate-table@workspace:packages/table": +"@udecode/plate-table@npm:26.0.3, @udecode/plate-table@workspace:^, @udecode/plate-table@workspace:packages/table": version: 0.0.0-use.local resolution: "@udecode/plate-table@workspace:packages/table" dependencies: @@ -8004,13 +8003,13 @@ __metadata: "@udecode/plate-reset-node": "npm:25.0.1" "@udecode/plate-resizable": "npm:25.0.1" "@udecode/plate-select": "npm:25.0.1" - "@udecode/plate-serializer-csv": "npm:26.0.2" - "@udecode/plate-serializer-docx": "npm:26.0.2" + "@udecode/plate-serializer-csv": "npm:26.0.3" + "@udecode/plate-serializer-docx": "npm:26.0.3" "@udecode/plate-serializer-html": "npm:26.0.0" "@udecode/plate-serializer-md": "npm:25.0.1" "@udecode/plate-suggestion": "npm:25.0.1" "@udecode/plate-tabbable": "npm:25.0.1" - "@udecode/plate-table": "npm:26.0.2" + "@udecode/plate-table": "npm:26.0.3" "@udecode/plate-trailing-block": "npm:25.0.1" peerDependencies: react: ">=16.8.0" From d68b081b73659d022b6602a0aa7cfedbf1dc6ded Mon Sep 17 00:00:00 2001 From: Ziad Beyens Date: Tue, 28 Nov 2023 16:16:15 +0100 Subject: [PATCH 04/12] Create eighty-berries-study.md --- .changeset/eighty-berries-study.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/eighty-berries-study.md diff --git a/.changeset/eighty-berries-study.md b/.changeset/eighty-berries-study.md new file mode 100644 index 0000000000..b79290fec5 --- /dev/null +++ b/.changeset/eighty-berries-study.md @@ -0,0 +1,5 @@ +--- +"@udecode/plate-floating": patch +--- + +Vendor: remove radix-ui package From c452bbd8f77ed24ffd718320f03cad27907aa19d Mon Sep 17 00:00:00 2001 From: zbeyens Date: Wed, 29 Nov 2023 12:32:36 +0100 Subject: [PATCH 05/12] =?UTF-8?q?=F0=9F=93=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/www/content/docs/link.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/www/content/docs/link.mdx b/apps/www/content/docs/link.mdx index 90cf24d0d9..3da66442e9 100644 --- a/apps/www/content/docs/link.mdx +++ b/apps/www/content/docs/link.mdx @@ -33,7 +33,9 @@ import { createLinkPlugin } from '@udecode/plate-link'; const plugins = [ // ...otherPlugins, - createLinkPlugin(), + createLinkPlugin({ + renderAfterEditable: LinkFloatingToolbar + }), ]; ``` From fad078e94f54b13b040e2885ad0d87dc73cabc1a Mon Sep 17 00:00:00 2001 From: Dzmitry Tamashevich Date: Wed, 29 Nov 2023 15:02:13 +0300 Subject: [PATCH 06/12] fix some other stuff --- packages/table/src/merge/unmergeTableCells.ts | 37 ++++++++++++++++--- .../table/src/merge/useTableMergeState.ts | 10 ++--- 2 files changed, 37 insertions(+), 10 deletions(-) diff --git a/packages/table/src/merge/unmergeTableCells.ts b/packages/table/src/merge/unmergeTableCells.ts index 1a3e9323d8..a0451d9768 100644 --- a/packages/table/src/merge/unmergeTableCells.ts +++ b/packages/table/src/merge/unmergeTableCells.ts @@ -70,8 +70,12 @@ export const unmergeTableCells = ( at: [...tablePath, row], match: { type: getPluginType(editor, ELEMENT_TR) }, })!; // TODO: improve typing - const rowEl = rowEntry[0] as TTableRowElement; + if (!rowEntry) { + return newColPath; + } + + const rowEl = rowEntry[0] as TTableRowElement; for (const item of rowEl.children) { const { col: c } = getCellIndices( cellIndices!, @@ -94,16 +98,39 @@ export const unmergeTableCells = ( for (let i = 0; i < rowSpan; i++) { const currentRowPath = rowPath + i; const pathForNextRows = getColPathForRow(currentRowPath); - for (let j = 0; j < colPaths.length; j++) { - const currentColPath = i === 0 ? colPaths[j] : pathForNextRows; + const newRowChildren = []; + const _rowPath = [...tablePath, currentRowPath]; + const rowEntry = findNode(editor, { + at: _rowPath, + match: { type: getPluginType(editor, ELEMENT_TABLE) }, + }); - const pathForNewCell = [...tablePath, currentRowPath, currentColPath]; + for (let j = 0; j < colPaths.length; j++) { const cellToInsert = i === 0 && j === 0 ? createEmptyCell(cellElem.children) : createEmptyCell(); - insertElements(editor, cellToInsert, { at: pathForNewCell }); + // if row exists, insert into it, otherwise insert row + if (rowEntry) { + const currentColPath = i === 0 ? colPaths[j] : pathForNextRows; + const pathForNewCell = [...tablePath, currentRowPath, currentColPath]; + + insertElements(editor, cellToInsert, { at: pathForNewCell }); + } else { + newRowChildren.push(cellToInsert); + } + } + + if (!rowEntry) { + insertElements( + editor, + { + type: getPluginType(editor, ELEMENT_TR), + children: newRowChildren, + }, + { at: _rowPath } + ); } } }); diff --git a/packages/table/src/merge/useTableMergeState.ts b/packages/table/src/merge/useTableMergeState.ts index a8d279b629..f142dd8f37 100644 --- a/packages/table/src/merge/useTableMergeState.ts +++ b/packages/table/src/merge/useTableMergeState.ts @@ -55,11 +55,11 @@ export const useTableMergeState = () => { }, [readOnly, selected, editor.selection, selectedTable]); const canUnmerge = - (collapsed && - selectedCellEntries && - selectedCellEntries.length === 1 && - getColSpan(selectedCellEntries[0][0] as any) > 1) || - getRowSpan(selectedCellEntries[0][0] as any) > 1; + collapsed && + selectedCellEntries && + selectedCellEntries.length === 1 && + (getColSpan(selectedCellEntries[0][0] as any) > 1 || + getRowSpan(selectedCellEntries[0][0] as any) > 1); return { canMerge, canUnmerge }; }; From 3c6672949b82cc946f2affd402adf819b53470c2 Mon Sep 17 00:00:00 2001 From: Ziad Beyens Date: Wed, 29 Nov 2023 13:59:31 +0100 Subject: [PATCH 07/12] Create slimy-suns-joke.md --- .changeset/slimy-suns-joke.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/slimy-suns-joke.md diff --git a/.changeset/slimy-suns-joke.md b/.changeset/slimy-suns-joke.md new file mode 100644 index 0000000000..1d3f0dcfde --- /dev/null +++ b/.changeset/slimy-suns-joke.md @@ -0,0 +1,5 @@ +--- +"@udecode/plate-table": patch +--- + +Fix unmerging a single column From ef7316b1796a4048d9c1af0458ae6fcd8e6b8296 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 29 Nov 2023 13:04:45 +0000 Subject: [PATCH 08/12] Version Packages --- .changeset/eighty-berries-study.md | 5 ----- .changeset/slimy-suns-joke.md | 5 ----- packages/floating/CHANGELOG.md | 6 ++++++ packages/floating/package.json | 2 +- packages/link/CHANGELOG.md | 2 ++ packages/link/package.json | 4 ++-- packages/plate/CHANGELOG.md | 2 ++ packages/plate/package.json | 14 +++++++------- packages/serializer-csv/CHANGELOG.md | 2 ++ packages/serializer-csv/package.json | 4 ++-- packages/serializer-docx/CHANGELOG.md | 2 ++ packages/serializer-docx/package.json | 4 ++-- packages/serializer-md/CHANGELOG.md | 2 ++ packages/serializer-md/package.json | 4 ++-- packages/table/CHANGELOG.md | 6 ++++++ packages/table/package.json | 2 +- 16 files changed, 39 insertions(+), 27 deletions(-) delete mode 100644 .changeset/eighty-berries-study.md delete mode 100644 .changeset/slimy-suns-joke.md diff --git a/.changeset/eighty-berries-study.md b/.changeset/eighty-berries-study.md deleted file mode 100644 index b79290fec5..0000000000 --- a/.changeset/eighty-berries-study.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@udecode/plate-floating": patch ---- - -Vendor: remove radix-ui package diff --git a/.changeset/slimy-suns-joke.md b/.changeset/slimy-suns-joke.md deleted file mode 100644 index 1d3f0dcfde..0000000000 --- a/.changeset/slimy-suns-joke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@udecode/plate-table": patch ---- - -Fix unmerging a single column diff --git a/packages/floating/CHANGELOG.md b/packages/floating/CHANGELOG.md index 498a76018c..5386300dc9 100644 --- a/packages/floating/CHANGELOG.md +++ b/packages/floating/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-floating +## 26.0.4 + +### Patch Changes + +- [#2777](https://github.com/udecode/plate/pull/2777) by [@zbeyens](https://github.com/zbeyens) – Vendor: remove radix-ui package + ## 25.0.1 ## 25.0.0 diff --git a/packages/floating/package.json b/packages/floating/package.json index a18a615342..a765a92777 100644 --- a/packages/floating/package.json +++ b/packages/floating/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-floating", - "version": "25.0.1", + "version": "26.0.4", "description": "Floating UI for Plate", "license": "MIT", "homepage": "https://platejs.org", diff --git a/packages/link/CHANGELOG.md b/packages/link/CHANGELOG.md index bffcf88b30..6c09e22e0b 100644 --- a/packages/link/CHANGELOG.md +++ b/packages/link/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-link +## 26.0.4 + ## 25.0.1 ## 25.0.0 diff --git a/packages/link/package.json b/packages/link/package.json index 8bccecbe38..8e16064877 100644 --- a/packages/link/package.json +++ b/packages/link/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-link", - "version": "25.0.1", + "version": "26.0.4", "description": "Link plugin for Plate", "license": "MIT", "homepage": "https://platejs.org", @@ -40,7 +40,7 @@ }, "dependencies": { "@udecode/plate-common": "25.0.1", - "@udecode/plate-floating": "25.0.1", + "@udecode/plate-floating": "26.0.4", "@udecode/plate-normalizers": "25.0.1" }, "peerDependencies": { diff --git a/packages/plate/CHANGELOG.md b/packages/plate/CHANGELOG.md index f73beb1cd9..c28f2a63d5 100644 --- a/packages/plate/CHANGELOG.md +++ b/packages/plate/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate +## 26.0.4 + ## 26.0.3 ## 26.0.2 diff --git a/packages/plate/package.json b/packages/plate/package.json index 0f3252efd5..7930b66007 100644 --- a/packages/plate/package.json +++ b/packages/plate/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate", - "version": "26.0.3", + "version": "26.0.4", "description": "Plate – a plugin system for slate", "license": "MIT", "homepage": "https://platejs.org", @@ -53,7 +53,7 @@ "@udecode/plate-comments": "26.0.0", "@udecode/plate-common": "25.0.1", "@udecode/plate-find-replace": "25.0.1", - "@udecode/plate-floating": "25.0.1", + "@udecode/plate-floating": "26.0.4", "@udecode/plate-font": "25.0.1", "@udecode/plate-heading": "25.0.1", "@udecode/plate-highlight": "25.0.1", @@ -62,7 +62,7 @@ "@udecode/plate-indent-list": "25.0.1", "@udecode/plate-kbd": "25.0.1", "@udecode/plate-line-height": "25.0.1", - "@udecode/plate-link": "25.0.1", + "@udecode/plate-link": "26.0.4", "@udecode/plate-list": "25.0.1", "@udecode/plate-media": "25.0.1", "@udecode/plate-mention": "25.0.1", @@ -72,13 +72,13 @@ "@udecode/plate-reset-node": "25.0.1", "@udecode/plate-resizable": "25.0.1", "@udecode/plate-select": "25.0.1", - "@udecode/plate-serializer-csv": "26.0.3", - "@udecode/plate-serializer-docx": "26.0.3", + "@udecode/plate-serializer-csv": "26.0.4", + "@udecode/plate-serializer-docx": "26.0.4", "@udecode/plate-serializer-html": "26.0.0", - "@udecode/plate-serializer-md": "25.0.1", + "@udecode/plate-serializer-md": "26.0.4", "@udecode/plate-suggestion": "25.0.1", "@udecode/plate-tabbable": "25.0.1", - "@udecode/plate-table": "26.0.3", + "@udecode/plate-table": "26.0.4", "@udecode/plate-trailing-block": "25.0.1" }, "peerDependencies": { diff --git a/packages/serializer-csv/CHANGELOG.md b/packages/serializer-csv/CHANGELOG.md index 5488e7425d..6af703266f 100644 --- a/packages/serializer-csv/CHANGELOG.md +++ b/packages/serializer-csv/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-serializer-csv +## 26.0.4 + ## 26.0.3 ## 26.0.2 diff --git a/packages/serializer-csv/package.json b/packages/serializer-csv/package.json index 7183d8a6d2..1b53e5161b 100644 --- a/packages/serializer-csv/package.json +++ b/packages/serializer-csv/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-serializer-csv", - "version": "26.0.3", + "version": "26.0.4", "description": "CSV serializer plugin for Plate", "license": "MIT", "homepage": "https://platejs.org", @@ -40,7 +40,7 @@ }, "dependencies": { "@udecode/plate-common": "25.0.1", - "@udecode/plate-table": "26.0.3", + "@udecode/plate-table": "26.0.4", "papaparse": "^5.4.1" }, "peerDependencies": { diff --git a/packages/serializer-docx/CHANGELOG.md b/packages/serializer-docx/CHANGELOG.md index 5ec2d73ed2..44c1b42212 100644 --- a/packages/serializer-docx/CHANGELOG.md +++ b/packages/serializer-docx/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-docx-serializer +## 26.0.4 + ## 26.0.3 ## 26.0.2 diff --git a/packages/serializer-docx/package.json b/packages/serializer-docx/package.json index ce07c7f61d..3692cde02d 100644 --- a/packages/serializer-docx/package.json +++ b/packages/serializer-docx/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-serializer-docx", - "version": "26.0.3", + "version": "26.0.4", "description": "Docx serializer plugin for Plate", "license": "MIT", "homepage": "https://platejs.org", @@ -45,7 +45,7 @@ "@udecode/plate-indent-list": "25.0.1", "@udecode/plate-media": "25.0.1", "@udecode/plate-paragraph": "25.0.1", - "@udecode/plate-table": "26.0.3", + "@udecode/plate-table": "26.0.4", "validator": "^13.9.0" }, "peerDependencies": { diff --git a/packages/serializer-md/CHANGELOG.md b/packages/serializer-md/CHANGELOG.md index fae42b2a25..5ff5274e53 100644 --- a/packages/serializer-md/CHANGELOG.md +++ b/packages/serializer-md/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-md-serializer +## 26.0.4 + ## 25.0.1 ## 25.0.0 diff --git a/packages/serializer-md/package.json b/packages/serializer-md/package.json index 11d603fb44..34a455f3ac 100644 --- a/packages/serializer-md/package.json +++ b/packages/serializer-md/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-serializer-md", - "version": "25.0.1", + "version": "26.0.4", "description": "Markdown serializer plugin for Plate", "license": "MIT", "homepage": "https://platejs.org", @@ -45,7 +45,7 @@ "@udecode/plate-common": "25.0.1", "@udecode/plate-heading": "25.0.1", "@udecode/plate-horizontal-rule": "25.0.1", - "@udecode/plate-link": "25.0.1", + "@udecode/plate-link": "26.0.4", "@udecode/plate-list": "25.0.1", "@udecode/plate-media": "25.0.1", "@udecode/plate-paragraph": "25.0.1", diff --git a/packages/table/CHANGELOG.md b/packages/table/CHANGELOG.md index 9d42306d55..2e7f91aa1c 100644 --- a/packages/table/CHANGELOG.md +++ b/packages/table/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-table +## 26.0.4 + +### Patch Changes + +- [#2776](https://github.com/udecode/plate/pull/2776) by [@dimaanj](https://github.com/dimaanj) – Fix unmerging a single column + ## 26.0.3 ### Patch Changes diff --git a/packages/table/package.json b/packages/table/package.json index 1406f65a8d..19e0f2886e 100644 --- a/packages/table/package.json +++ b/packages/table/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-table", - "version": "26.0.3", + "version": "26.0.4", "description": "Table plugin for Plate", "license": "MIT", "homepage": "https://platejs.org", From a1359141a16adbfa1eb254cd4bf1520b2a0016d2 Mon Sep 17 00:00:00 2001 From: Dzmitry Tamashevich Date: Wed, 29 Nov 2023 17:33:06 +0300 Subject: [PATCH 09/12] add changeset for resizable --- .changeset/tasty-kiwis-raise.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/tasty-kiwis-raise.md diff --git a/.changeset/tasty-kiwis-raise.md b/.changeset/tasty-kiwis-raise.md new file mode 100644 index 0000000000..11f1ffb140 --- /dev/null +++ b/.changeset/tasty-kiwis-raise.md @@ -0,0 +1,5 @@ +--- +'@udecode/plate-resizable': major +--- + +Add initial size for resize handle From 95652ea733db9d2b4f60aac618f0fceef5e1c1ce Mon Sep 17 00:00:00 2001 From: Dzmitry Tamashevich Date: Wed, 29 Nov 2023 17:33:49 +0300 Subject: [PATCH 10/12] change status --- .changeset/tasty-kiwis-raise.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/tasty-kiwis-raise.md b/.changeset/tasty-kiwis-raise.md index 11f1ffb140..ec841b298a 100644 --- a/.changeset/tasty-kiwis-raise.md +++ b/.changeset/tasty-kiwis-raise.md @@ -1,5 +1,5 @@ --- -'@udecode/plate-resizable': major +'@udecode/plate-resizable': minor --- Add initial size for resize handle From e9ad94040fcb9d1af52416e63f7bec9afd35e530 Mon Sep 17 00:00:00 2001 From: Ziad Beyens Date: Wed, 29 Nov 2023 16:06:46 +0100 Subject: [PATCH 11/12] Update tasty-kiwis-raise.md --- .changeset/tasty-kiwis-raise.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/tasty-kiwis-raise.md b/.changeset/tasty-kiwis-raise.md index ec841b298a..5e9a8b1f2a 100644 --- a/.changeset/tasty-kiwis-raise.md +++ b/.changeset/tasty-kiwis-raise.md @@ -1,5 +1,5 @@ --- -'@udecode/plate-resizable': minor +'@udecode/plate-resizable': patch --- Add initial size for resize handle From 312afdef88394c637ea17e0ed26e133e925e26e2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 29 Nov 2023 15:11:44 +0000 Subject: [PATCH 12/12] Version Packages --- .changeset/tasty-kiwis-raise.md | 5 ----- packages/plate/CHANGELOG.md | 2 ++ packages/plate/package.json | 10 +++++----- packages/resizable/CHANGELOG.md | 6 ++++++ packages/resizable/package.json | 2 +- packages/serializer-csv/CHANGELOG.md | 2 ++ packages/serializer-csv/package.json | 4 ++-- packages/serializer-docx/CHANGELOG.md | 2 ++ packages/serializer-docx/package.json | 4 ++-- packages/table/CHANGELOG.md | 2 ++ packages/table/package.json | 4 ++-- 11 files changed, 26 insertions(+), 17 deletions(-) delete mode 100644 .changeset/tasty-kiwis-raise.md diff --git a/.changeset/tasty-kiwis-raise.md b/.changeset/tasty-kiwis-raise.md deleted file mode 100644 index 5e9a8b1f2a..0000000000 --- a/.changeset/tasty-kiwis-raise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@udecode/plate-resizable': patch ---- - -Add initial size for resize handle diff --git a/packages/plate/CHANGELOG.md b/packages/plate/CHANGELOG.md index c28f2a63d5..9ca613fdbd 100644 --- a/packages/plate/CHANGELOG.md +++ b/packages/plate/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate +## 26.0.5 + ## 26.0.4 ## 26.0.3 diff --git a/packages/plate/package.json b/packages/plate/package.json index 7930b66007..734c72ae77 100644 --- a/packages/plate/package.json +++ b/packages/plate/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate", - "version": "26.0.4", + "version": "26.0.5", "description": "Plate – a plugin system for slate", "license": "MIT", "homepage": "https://platejs.org", @@ -70,15 +70,15 @@ "@udecode/plate-normalizers": "25.0.1", "@udecode/plate-paragraph": "25.0.1", "@udecode/plate-reset-node": "25.0.1", - "@udecode/plate-resizable": "25.0.1", + "@udecode/plate-resizable": "26.0.5", "@udecode/plate-select": "25.0.1", - "@udecode/plate-serializer-csv": "26.0.4", - "@udecode/plate-serializer-docx": "26.0.4", + "@udecode/plate-serializer-csv": "26.0.5", + "@udecode/plate-serializer-docx": "26.0.5", "@udecode/plate-serializer-html": "26.0.0", "@udecode/plate-serializer-md": "26.0.4", "@udecode/plate-suggestion": "25.0.1", "@udecode/plate-tabbable": "25.0.1", - "@udecode/plate-table": "26.0.4", + "@udecode/plate-table": "26.0.5", "@udecode/plate-trailing-block": "25.0.1" }, "peerDependencies": { diff --git a/packages/resizable/CHANGELOG.md b/packages/resizable/CHANGELOG.md index 6db0c7996d..bd82f0fe09 100644 --- a/packages/resizable/CHANGELOG.md +++ b/packages/resizable/CHANGELOG.md @@ -1,5 +1,11 @@ # @udecode/plate-resizable +## 26.0.5 + +### Patch Changes + +- [#2781](https://github.com/udecode/plate/pull/2781) by [@dimaanj](https://github.com/dimaanj) – Add initial size for resize handle + ## 25.0.1 ## 25.0.0 diff --git a/packages/resizable/package.json b/packages/resizable/package.json index 1f3927fb8d..112aab508f 100644 --- a/packages/resizable/package.json +++ b/packages/resizable/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-resizable", - "version": "25.0.1", + "version": "26.0.5", "description": "Resize components", "license": "MIT", "homepage": "https://platejs.org", diff --git a/packages/serializer-csv/CHANGELOG.md b/packages/serializer-csv/CHANGELOG.md index 6af703266f..b6592bafa8 100644 --- a/packages/serializer-csv/CHANGELOG.md +++ b/packages/serializer-csv/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-serializer-csv +## 26.0.5 + ## 26.0.4 ## 26.0.3 diff --git a/packages/serializer-csv/package.json b/packages/serializer-csv/package.json index 1b53e5161b..4437527333 100644 --- a/packages/serializer-csv/package.json +++ b/packages/serializer-csv/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-serializer-csv", - "version": "26.0.4", + "version": "26.0.5", "description": "CSV serializer plugin for Plate", "license": "MIT", "homepage": "https://platejs.org", @@ -40,7 +40,7 @@ }, "dependencies": { "@udecode/plate-common": "25.0.1", - "@udecode/plate-table": "26.0.4", + "@udecode/plate-table": "26.0.5", "papaparse": "^5.4.1" }, "peerDependencies": { diff --git a/packages/serializer-docx/CHANGELOG.md b/packages/serializer-docx/CHANGELOG.md index 44c1b42212..fad6215435 100644 --- a/packages/serializer-docx/CHANGELOG.md +++ b/packages/serializer-docx/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-docx-serializer +## 26.0.5 + ## 26.0.4 ## 26.0.3 diff --git a/packages/serializer-docx/package.json b/packages/serializer-docx/package.json index 3692cde02d..eb5eeef084 100644 --- a/packages/serializer-docx/package.json +++ b/packages/serializer-docx/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-serializer-docx", - "version": "26.0.4", + "version": "26.0.5", "description": "Docx serializer plugin for Plate", "license": "MIT", "homepage": "https://platejs.org", @@ -45,7 +45,7 @@ "@udecode/plate-indent-list": "25.0.1", "@udecode/plate-media": "25.0.1", "@udecode/plate-paragraph": "25.0.1", - "@udecode/plate-table": "26.0.4", + "@udecode/plate-table": "26.0.5", "validator": "^13.9.0" }, "peerDependencies": { diff --git a/packages/table/CHANGELOG.md b/packages/table/CHANGELOG.md index 2e7f91aa1c..599e446927 100644 --- a/packages/table/CHANGELOG.md +++ b/packages/table/CHANGELOG.md @@ -1,5 +1,7 @@ # @udecode/plate-table +## 26.0.5 + ## 26.0.4 ### Patch Changes diff --git a/packages/table/package.json b/packages/table/package.json index 19e0f2886e..5cfc075cfa 100644 --- a/packages/table/package.json +++ b/packages/table/package.json @@ -1,6 +1,6 @@ { "name": "@udecode/plate-table", - "version": "26.0.4", + "version": "26.0.5", "description": "Table plugin for Plate", "license": "MIT", "homepage": "https://platejs.org", @@ -40,7 +40,7 @@ }, "dependencies": { "@udecode/plate-common": "25.0.1", - "@udecode/plate-resizable": "25.0.1", + "@udecode/plate-resizable": "26.0.5", "lodash": "^4.17.21" }, "peerDependencies": {