From 6be95f8885665cc0469c598f26d21450a7b7fcae Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 10 Nov 2023 09:53:24 -0700 Subject: [PATCH] Version Packages (#5552) Co-authored-by: github-actions[bot] --- .changeset/chatty-chefs-sneeze.md | 5 ----- .changeset/pink-lemons-guess.md | 5 ----- .changeset/thick-fishes-dance.md | 7 ------- packages/slate-react/CHANGELOG.md | 14 ++++++++++++++ packages/slate-react/package.json | 2 +- 5 files changed, 15 insertions(+), 18 deletions(-) delete mode 100644 .changeset/chatty-chefs-sneeze.md delete mode 100644 .changeset/pink-lemons-guess.md delete mode 100644 .changeset/thick-fishes-dance.md diff --git a/.changeset/chatty-chefs-sneeze.md b/.changeset/chatty-chefs-sneeze.md deleted file mode 100644 index 40478e09b..000000000 --- a/.changeset/chatty-chefs-sneeze.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'slate-react': patch ---- - -Firefox compat: Fix incorrect focus.offset when text node ends with \n diff --git a/.changeset/pink-lemons-guess.md b/.changeset/pink-lemons-guess.md deleted file mode 100644 index 54338a4af..000000000 --- a/.changeset/pink-lemons-guess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'slate-react': patch ---- - -Revert #5542 diff --git a/.changeset/thick-fishes-dance.md b/.changeset/thick-fishes-dance.md deleted file mode 100644 index a9aa4d92b..000000000 --- a/.changeset/thick-fishes-dance.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'slate-react': minor ---- - -Fixes a bug with `ReactEditor.focus` where it would throw an error if the editor was in the middle of applying pending operations. -With this change, setting focus will be retried until the editor no longer has any pending operations. -Calling `ReactEditor.focus` on a editor without a current selection, will now make a selection in the top of the document. diff --git a/packages/slate-react/CHANGELOG.md b/packages/slate-react/CHANGELOG.md index 901be2c1b..b678a8c56 100644 --- a/packages/slate-react/CHANGELOG.md +++ b/packages/slate-react/CHANGELOG.md @@ -1,5 +1,19 @@ # slate-react +## 0.101.0 + +### Minor Changes + +- [#5527](https://github.com/ianstormtaylor/slate/pull/5527) [`fc081816`](https://github.com/ianstormtaylor/slate/commit/fc081816e08ade6838d05a96f84088de9f2734ce) Thanks [@skogsmaskin](https://github.com/skogsmaskin)! - Fixes a bug with `ReactEditor.focus` where it would throw an error if the editor was in the middle of applying pending operations. + With this change, setting focus will be retried until the editor no longer has any pending operations. + Calling `ReactEditor.focus` on a editor without a current selection, will now make a selection in the top of the document. + +### Patch Changes + +- [#5549](https://github.com/ianstormtaylor/slate/pull/5549) [`f9cca97f`](https://github.com/ianstormtaylor/slate/commit/f9cca97f00e4b7827f7056cd7f1644345a4be953) Thanks [@12joan](https://github.com/12joan)! - Firefox compat: Fix incorrect focus.offset when text node ends with \n + +- [#5556](https://github.com/ianstormtaylor/slate/pull/5556) [`22495e14`](https://github.com/ianstormtaylor/slate/commit/22495e143d81fd602ff3efa0b5f6339a4b05b6c0) Thanks [@dylans](https://github.com/dylans)! - Revert #5542 + ## 0.100.1 ### Patch Changes diff --git a/packages/slate-react/package.json b/packages/slate-react/package.json index f091eb21b..50e64e953 100644 --- a/packages/slate-react/package.json +++ b/packages/slate-react/package.json @@ -1,7 +1,7 @@ { "name": "slate-react", "description": "Tools for building completely customizable richtext editors with React.", - "version": "0.100.1", + "version": "0.101.0", "license": "MIT", "repository": "git://github.com/ianstormtaylor/slate.git", "main": "dist/index.js",