1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-11 17:53:59 +02:00

Version Packages (#5058)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2022-07-29 04:08:20 -07:00
committed by GitHub
parent fbab6331a5
commit 1d5984cccd
9 changed files with 25 additions and 22 deletions

View File

@@ -1,5 +1,15 @@
# slate-react
## 0.82.0
### Minor Changes
- [#5041](https://github.com/ianstormtaylor/slate/pull/5041) [`9bc0b613`](https://github.com/ianstormtaylor/slate/commit/9bc0b6132aa288a37ae9a85d0e59a9d5a75ebdd7) Thanks [@bryanph](https://github.com/bryanph)! - - Introduces a `useSlateSelection` hook that triggers whenever the selection changes.
- This also changes the implementation of SlateContext to use an incrementing value instead of an array replace to trigger updates
- Introduces a `useSlateWithV` hook that includes the version counter which can be used to prevent re-renders
* [#4988](https://github.com/ianstormtaylor/slate/pull/4988) [`fbab6331`](https://github.com/ianstormtaylor/slate/commit/fbab6331a5ecebd9e98c6c8c87d6f4b3b7c43bd0) Thanks [@BitPhinix](https://github.com/BitPhinix)! - Android input handling rewrite, replace composition insert prefixes with decoration based mark placeholders
## 0.81.3
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "slate-react",
"description": "Tools for building completely customizable richtext editors with React.",
"version": "0.81.3",
"version": "0.82.0",
"license": "MIT",
"repository": "git://github.com/ianstormtaylor/slate.git",
"main": "dist/index.js",
@@ -33,7 +33,7 @@
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"react-test-renderer": ">=16.8.0",
"slate": "^0.81.3",
"slate": "^0.82.0",
"slate-hyperscript": "^0.81.3",
"source-map-loader": "^4.0.0"
},