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

Version Packages (#4594)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2021-10-18 14:05:11 -07:00
committed by GitHub
parent 87ab2efa41
commit 3678590ccf
12 changed files with 43 additions and 48 deletions

View File

@@ -1,5 +0,0 @@
---
'slate-react': patch
---
Fixed a bug that removed the selection when hovering over a non-selectable DOM element

View File

@@ -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' }
}
})
```

View File

@@ -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.

View File

@@ -1,5 +0,0 @@
---
'slate-react': patch
---
defer native events within Editable to avoid bugs with Editor

View File

@@ -1,5 +0,0 @@
---
'slate-react': patch
---
Fixed bug: setting selection from `contentEditable:false` element causes crash

View File

@@ -20,7 +20,7 @@
"@babel/runtime": "^7.7.4", "@babel/runtime": "^7.7.4",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"slate": "^0.66.0", "slate": "^0.66.0",
"slate-hyperscript": "^0.66.0", "slate-hyperscript": "^0.67.0",
"source-map-loader": "^0.2.4" "source-map-loader": "^0.2.4"
}, },
"peerDependencies": { "peerDependencies": {

View File

@@ -1,5 +1,25 @@
# slate-hyperscript # 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 ## 0.66.0
### Patch Changes ### Patch Changes

View File

@@ -1,7 +1,7 @@
{ {
"name": "slate-hyperscript", "name": "slate-hyperscript",
"description": "A hyperscript helper for creating Slate documents.", "description": "A hyperscript helper for creating Slate documents.",
"version": "0.66.0", "version": "0.67.0",
"license": "MIT", "license": "MIT",
"repository": "git://github.com/ianstormtaylor/slate.git", "repository": "git://github.com/ianstormtaylor/slate.git",
"main": "dist/index.js", "main": "dist/index.js",

View File

@@ -1,5 +1,19 @@
# slate-react # 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 ## 0.66.7
### Patch Changes ### Patch Changes

View File

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

View File

@@ -21,7 +21,7 @@
"devDependencies": { "devDependencies": {
"@babel/runtime": "^7.7.4", "@babel/runtime": "^7.7.4",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"slate-hyperscript": "^0.66.0", "slate-hyperscript": "^0.67.0",
"source-map-loader": "^0.2.4" "source-map-loader": "^0.2.4"
}, },
"keywords": [ "keywords": [

View File

@@ -14312,14 +14312,14 @@ resolve@^2.0.0-next.3:
is-plain-object: ^5.0.0 is-plain-object: ^5.0.0
lodash: ^4.17.21 lodash: ^4.17.21
slate: ^0.66.0 slate: ^0.66.0
slate-hyperscript: ^0.66.0 slate-hyperscript: ^0.67.0
source-map-loader: ^0.2.4 source-map-loader: ^0.2.4
peerDependencies: peerDependencies:
slate: ">=0.65.3" slate: ">=0.65.3"
languageName: unknown languageName: unknown
linkType: soft 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 version: 0.0.0-use.local
resolution: "slate-hyperscript@workspace:packages/slate-hyperscript" resolution: "slate-hyperscript@workspace:packages/slate-hyperscript"
dependencies: dependencies:
@@ -14430,7 +14430,7 @@ resolve@^2.0.0-next.3:
react-test-renderer: ">=16.8.0" react-test-renderer: ">=16.8.0"
scroll-into-view-if-needed: ^2.2.20 scroll-into-view-if-needed: ^2.2.20
slate: ^0.66.2 slate: ^0.66.2
slate-hyperscript: ^0.66.0 slate-hyperscript: ^0.67.0
source-map-loader: ^0.2.4 source-map-loader: ^0.2.4
tiny-invariant: 1.0.6 tiny-invariant: 1.0.6
peerDependencies: peerDependencies:
@@ -14448,7 +14448,7 @@ resolve@^2.0.0-next.3:
immer: ^9.0.6 immer: ^9.0.6
is-plain-object: ^5.0.0 is-plain-object: ^5.0.0
lodash: ^4.17.21 lodash: ^4.17.21
slate-hyperscript: ^0.66.0 slate-hyperscript: ^0.67.0
source-map-loader: ^0.2.4 source-map-loader: ^0.2.4
tiny-warning: ^1.0.3 tiny-warning: ^1.0.3
languageName: unknown languageName: unknown