Skip to content

Commit

Permalink
Merge pull request #3879 from udecode/changeset-release/main
Browse files Browse the repository at this point in the history
[Release] Version packages
  • Loading branch information
felixfeng33 authored Dec 20, 2024
2 parents d703840 + 3bc69bf commit 1015a36
Show file tree
Hide file tree
Showing 66 changed files with 105 additions and 96 deletions.
8 changes: 0 additions & 8 deletions .changeset/dnd-major copy 2.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/dnd-major copy 3.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/dnd-major copy.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/dnd-major.md

This file was deleted.

2 changes: 1 addition & 1 deletion packages/alignment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/autoformat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/basic-elements/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/basic-marks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/block-quote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/break/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/callout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/caption/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/code-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"prismjs": "^1.29.0"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/combobox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/comments/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @udecode/plate-common

## 41.0.2

## 41.0.0

## 40.3.1
Expand Down
6 changes: 3 additions & 3 deletions packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@udecode/plate-common",
"version": "41.0.0",
"version": "41.0.2",
"description": "Plate common packages for plugins",
"keywords": [
"plate",
Expand Down Expand Up @@ -50,8 +50,8 @@
"typecheck": "yarn p:typecheck"
},
"dependencies": {
"@udecode/plate-core": "41.0.0",
"@udecode/plate-utils": "41.0.0",
"@udecode/plate-core": "41.0.2",
"@udecode/plate-utils": "41.0.2",
"@udecode/react-hotkeys": "37.0.0",
"@udecode/react-utils": "40.2.8",
"@udecode/slate": "41.0.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @udecode/plate-core

## 41.0.2

### Patch Changes

- [#3878](https://github.com/udecode/plate/pull/3878) by [@zbeyens](https://github.com/zbeyens)
- Add `useNodePath(node: TNode)`: memoized `findPath` (`useMemo`)
- Add `usePath(pluginKey?: string)`: memoized `findPath` (context)
- `PlateElementProps` now includes `path` prop, also accessible using `usePath`

## 41.0.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@udecode/plate-core",
"version": "41.0.0",
"version": "41.0.2",
"description": "The core of Plate – a plugin system for slate",
"keywords": [
"contentEditable",
Expand Down
2 changes: 1 addition & 1 deletion packages/csv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/cursor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/date/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.94.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
11 changes: 11 additions & 0 deletions packages/dnd/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @udecode/plate-dnd

## 41.0.2

### Patch Changes

- [#3878](https://github.com/udecode/plate/pull/3878) by [@zbeyens](https://github.com/zbeyens) – Additional breaking changes to v41:

- Remove `useDraggableState`. Use `const { isDragging, previewRef, handleRef } = useDraggable`
- Remove `useDraggableGutter`. Set `contentEditable={false}` to your gutter element
- Remove `props` from `useDropLine`. Set `contentEditable={false}` to your drop line element
- Remove `withDraggable`, `useWithDraggable`. Use [`DraggableAboveNodes`](https://github.com/udecode/plate/pull/3878/files#diff-493c12ebed9c3ef9fd8c3a723909b18ad439a448c0132d2d93e5341ee0888ad2) instead

## 41.0.0

### Major Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/dnd/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@udecode/plate-dnd",
"version": "41.0.0",
"version": "41.0.2",
"description": "React drag and drop feature for Plate",
"keywords": [
"plate",
Expand Down Expand Up @@ -51,7 +51,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dnd": ">=14.0.0",
"react-dnd-html5-backend": ">=14.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/docx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/emoji/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/excalidraw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/find-replace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/floating/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/font/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/heading/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/highlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/horizontal-rule/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/indent-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/indent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/juice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/kbd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@udecode/plate-common": "workspace:^"
},
"peerDependencies": {
"@udecode/plate-common": ">=41.0.0",
"@udecode/plate-common": ">=41.0.2",
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"slate": ">=0.112.0",
Expand Down
16 changes: 16 additions & 0 deletions packages/layout/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @udecode/plate-layout

## 41.0.2

### Patch Changes

- [#3878](https://github.com/udecode/plate/pull/3878) by [@zbeyens](https://github.com/zbeyens)

- Add `setColumns`: set any number of columns of any size to a column group. Decreasing the number of columns will move the removed columns' content to the last remaining column.
- `toggleColumnGroup`: now uses `setColumns` if we're already in a column group.
- Remove `layout` prop from `column_group` nodes. We're now only relying on `column` `width` prop. You can unset `layout` prop or just leave it as it is since it's not read anymore.
- `ColumnPlugin`: Added width normalization ensuring column widths always sum to 100% by automatically adjusting widths when columns are added or removed. If the sum of widths is not 100%, the difference is distributed evenly across all columns.

- [#3878](https://github.com/udecode/plate/pull/3878) by [@zbeyens](https://github.com/zbeyens) – Additional breaking changes to v41:

- `insertColumnGroup`: rename `layout` to `columns`
- Remove `setColumnWidth`, `useColumnState`. Use `setColumns` instead

## 41.0.0

### Patch Changes
Expand Down
Loading

0 comments on commit 1015a36

Please sign in to comment.