mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-04-21 13:51:59 +02:00
Version Packages (#4594)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
87ab2efa41
commit
3678590ccf
.changeset
curly-timers-watch.mdfast-shrimps-begin.mdlovely-goats-argue.mdmany-baboons-stare.mdshy-brooms-notice.md
packages
slate-history
slate-hyperscript
slate-react
slate
@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed a bug that removed the selection when hovering over a non-selectable DOM element
|
@ -1,19 +0,0 @@
|
||||
---
|
||||
'slate-hyperscript': patch
|
||||
---
|
||||
|
||||
createEditor is now exported from slate-hyperscript, making it easier to set up custom editor tests
|
||||
|
||||
For example:
|
||||
|
||||
```
|
||||
const jsx = createHyperscript({
|
||||
creators: {
|
||||
editor: createEditor(aFunctionThatReturnsAnEditorObject)
|
||||
},
|
||||
elements: {
|
||||
block: { type: 'block' },
|
||||
inline: { type: 'inline' }
|
||||
}
|
||||
})
|
||||
```
|
@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': minor
|
||||
---
|
||||
|
||||
The Slate Provider's "value" prop is now only used as initial state for editor.children as was intended before. If your code relies on replacing editor.children you should do so by replacing it directly instead of relying on the "value" prop to do this for you.
|
@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
defer native events within Editable to avoid bugs with Editor
|
@ -1,5 +0,0 @@
|
||||
---
|
||||
'slate-react': patch
|
||||
---
|
||||
|
||||
Fixed bug: setting selection from `contentEditable:false` element causes crash
|
@ -20,7 +20,7 @@
|
||||
"@babel/runtime": "^7.7.4",
|
||||
"lodash": "^4.17.21",
|
||||
"slate": "^0.66.0",
|
||||
"slate-hyperscript": "^0.66.0",
|
||||
"slate-hyperscript": "^0.67.0",
|
||||
"source-map-loader": "^0.2.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
@ -1,5 +1,25 @@
|
||||
# slate-hyperscript
|
||||
|
||||
## 0.67.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#4555](https://github.com/ianstormtaylor/slate/pull/4555) [`c29eea02`](https://github.com/ianstormtaylor/slate/commit/c29eea022ec943f0c63278e9058fe1267f7dff01) Thanks [@bryanph](https://github.com/bryanph)! - createEditor is now exported from slate-hyperscript, making it easier to set up custom editor tests
|
||||
|
||||
For example:
|
||||
|
||||
```
|
||||
const jsx = createHyperscript({
|
||||
creators: {
|
||||
editor: createEditor(aFunctionThatReturnsAnEditorObject)
|
||||
},
|
||||
elements: {
|
||||
block: { type: 'block' },
|
||||
inline: { type: 'inline' }
|
||||
}
|
||||
})
|
||||
```
|
||||
|
||||
## 0.66.0
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "slate-hyperscript",
|
||||
"description": "A hyperscript helper for creating Slate documents.",
|
||||
"version": "0.66.0",
|
||||
"version": "0.67.0",
|
||||
"license": "MIT",
|
||||
"repository": "git://github.com/ianstormtaylor/slate.git",
|
||||
"main": "dist/index.js",
|
||||
|
@ -1,5 +1,19 @@
|
||||
# slate-react
|
||||
|
||||
## 0.67.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#4540](https://github.com/ianstormtaylor/slate/pull/4540) [`11ef83b4`](https://github.com/ianstormtaylor/slate/commit/11ef83b47fca84d1f908b5c9eeefada516fe9fed) Thanks [@bryanph](https://github.com/bryanph)! - The Slate Provider's "value" prop is now only used as initial state for editor.children as was intended before. If your code relies on replacing editor.children you should do so by replacing it directly instead of relying on the "value" prop to do this for you.
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#4577](https://github.com/ianstormtaylor/slate/pull/4577) [`4b2e4000`](https://github.com/ianstormtaylor/slate/commit/4b2e4000d6253bd86fab237b6f2c70e9f8d30f09) Thanks [@jameshfisher](https://github.com/jameshfisher)! - Fixed a bug that removed the selection when hovering over a non-selectable DOM element
|
||||
|
||||
* [#4605](https://github.com/ianstormtaylor/slate/pull/4605) [`87ab2efa`](https://github.com/ianstormtaylor/slate/commit/87ab2efa41a5b7a1324b3fc97117a1cdd3b41d66) Thanks [@jaked](https://github.com/jaked)! - defer native events within Editable to avoid bugs with Editor
|
||||
|
||||
- [#4584](https://github.com/ianstormtaylor/slate/pull/4584) [`f40e515d`](https://github.com/ianstormtaylor/slate/commit/f40e515dc7f956b7fd859688c0170f2c1763fecf) Thanks [@jameshfisher](https://github.com/jameshfisher)! - Fixed bug: setting selection from `contentEditable:false` element causes crash
|
||||
|
||||
## 0.66.7
|
||||
|
||||
### Patch Changes
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "slate-react",
|
||||
"description": "Tools for building completely customizable richtext editors with React.",
|
||||
"version": "0.66.7",
|
||||
"version": "0.67.0",
|
||||
"license": "MIT",
|
||||
"repository": "git://github.com/ianstormtaylor/slate.git",
|
||||
"main": "dist/index.js",
|
||||
@ -32,7 +32,7 @@
|
||||
"react-dom": ">=16.8.0",
|
||||
"react-test-renderer": ">=16.8.0",
|
||||
"slate": "^0.66.2",
|
||||
"slate-hyperscript": "^0.66.0",
|
||||
"slate-hyperscript": "^0.67.0",
|
||||
"source-map-loader": "^0.2.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
@ -21,7 +21,7 @@
|
||||
"devDependencies": {
|
||||
"@babel/runtime": "^7.7.4",
|
||||
"lodash": "^4.17.21",
|
||||
"slate-hyperscript": "^0.66.0",
|
||||
"slate-hyperscript": "^0.67.0",
|
||||
"source-map-loader": "^0.2.4"
|
||||
},
|
||||
"keywords": [
|
||||
|
@ -14312,14 +14312,14 @@ resolve@^2.0.0-next.3:
|
||||
is-plain-object: ^5.0.0
|
||||
lodash: ^4.17.21
|
||||
slate: ^0.66.0
|
||||
slate-hyperscript: ^0.66.0
|
||||
slate-hyperscript: ^0.67.0
|
||||
source-map-loader: ^0.2.4
|
||||
peerDependencies:
|
||||
slate: ">=0.65.3"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"slate-hyperscript@^0.66.0, slate-hyperscript@workspace:*, slate-hyperscript@workspace:packages/slate-hyperscript":
|
||||
"slate-hyperscript@^0.67.0, slate-hyperscript@workspace:*, slate-hyperscript@workspace:packages/slate-hyperscript":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "slate-hyperscript@workspace:packages/slate-hyperscript"
|
||||
dependencies:
|
||||
@ -14430,7 +14430,7 @@ resolve@^2.0.0-next.3:
|
||||
react-test-renderer: ">=16.8.0"
|
||||
scroll-into-view-if-needed: ^2.2.20
|
||||
slate: ^0.66.2
|
||||
slate-hyperscript: ^0.66.0
|
||||
slate-hyperscript: ^0.67.0
|
||||
source-map-loader: ^0.2.4
|
||||
tiny-invariant: 1.0.6
|
||||
peerDependencies:
|
||||
@ -14448,7 +14448,7 @@ resolve@^2.0.0-next.3:
|
||||
immer: ^9.0.6
|
||||
is-plain-object: ^5.0.0
|
||||
lodash: ^4.17.21
|
||||
slate-hyperscript: ^0.66.0
|
||||
slate-hyperscript: ^0.67.0
|
||||
source-map-loader: ^0.2.4
|
||||
tiny-warning: ^1.0.3
|
||||
languageName: unknown
|
||||
|
Loading…
x
Reference in New Issue
Block a user