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

Version Packages (#5851)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-04-29 08:37:35 -07:00
committed by GitHub
parent 22a3dda36d
commit ee2cea9ea1
13 changed files with 37 additions and 36 deletions

View File

@@ -1,5 +0,0 @@
---
'slate-dom': patch
---
Fix: Deleting backward by a line misses 1 character (belated changeset for https://github.com/ianstormtaylor/slate/pull/5827)

View File

@@ -1,6 +0,0 @@
---
'slate-react': minor
---
- Update `RenderLeafProps` interface to add `leafPosition` property containing `start`, `end`, `isFirst`, and `isLast` when a text node is split by decorations.
- Add optional `renderText` prop to `<Editable />` component for customizing text node rendering.

View File

@@ -1,5 +0,0 @@
---
'slate': minor
---
- Update `Text.decorations` to return the positions in addition to the leaf nodes: `{ leaf: Text, position?: { start: number, end: number, isFirst: boolean, isLast: boolean } }[]`.

View File

@@ -1,5 +0,0 @@
---
'slate-react': minor
---
Use equalityFn in useSlateSelector during render as well

View File

@@ -1,5 +1,11 @@
# slate-dom
## 0.114.0
### Patch Changes
- [#5849](https://github.com/ianstormtaylor/slate/pull/5849) [`0fde537b`](https://github.com/ianstormtaylor/slate/commit/0fde537b52c23dd374721501e31e9aab56ce6477) Thanks [@12joan](https://github.com/12joan)! - Fix: Deleting backward by a line misses 1 character (belated changeset for https://github.com/ianstormtaylor/slate/pull/5827)
## 0.112.2
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "slate-dom",
"description": "Tools for building completely customizable richtext editors with React.",
"version": "0.112.2",
"version": "0.114.0",
"license": "MIT",
"repository": "git://github.com/ianstormtaylor/slate.git",
"main": "dist/index.js",
@@ -29,7 +29,7 @@
"@types/jsdom": "^21.1.4",
"@types/lodash": "^4.14.200",
"@types/resize-observer-browser": "^0.1.8",
"slate": "^0.113.0",
"slate": "^0.114.0",
"slate-hyperscript": "^0.100.0",
"source-map-loader": "^4.0.1"
},

View File

@@ -19,7 +19,7 @@
"devDependencies": {
"@babel/runtime": "^7.23.2",
"lodash": "^4.17.21",
"slate": "^0.113.0",
"slate": "^0.114.0",
"slate-hyperscript": "^0.100.0",
"source-map-loader": "^4.0.1"
},

View File

@@ -18,7 +18,7 @@
},
"devDependencies": {
"@babel/runtime": "^7.23.2",
"slate": "^0.113.0",
"slate": "^0.114.0",
"source-map-loader": "^4.0.1"
},
"peerDependencies": {

View File

@@ -1,5 +1,15 @@
# slate-react
## 0.114.0
### Minor Changes
- [#5850](https://github.com/ianstormtaylor/slate/pull/5850) [`22a3dda3`](https://github.com/ianstormtaylor/slate/commit/22a3dda36d4362d5dfdb9a75836297dae8cd7f9e) Thanks [@zbeyens](https://github.com/zbeyens)! - - Update `RenderLeafProps` interface to add `leafPosition` property containing `start`, `end`, `isFirst`, and `isLast` when a text node is split by decorations.
- Add optional `renderText` prop to `<Editable />` component for customizing text node rendering.
- [#5848](https://github.com/ianstormtaylor/slate/pull/5848) [`2c62e017`](https://github.com/ianstormtaylor/slate/commit/2c62e0179734871369ac23d38ebfc1378ec9ad68) Thanks [@dpolugic](https://github.com/dpolugic)! - Use equalityFn in useSlateSelector during render as well
## 0.113.0
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "slate-react",
"description": "Tools for building completely customizable richtext editors with React.",
"version": "0.113.0",
"version": "0.114.0",
"license": "MIT",
"repository": "git://github.com/ianstormtaylor/slate.git",
"main": "dist/index.js",
@@ -34,8 +34,8 @@
"@types/resize-observer-browser": "^0.1.8",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"slate": "^0.113.0",
"slate-dom": "^0.112.2",
"slate": "^0.114.0",
"slate-dom": "^0.114.0",
"slate-hyperscript": "^0.100.0",
"source-map-loader": "^4.0.1"
},

View File

@@ -1,5 +1,11 @@
# slate
## 0.114.0
### Minor Changes
- [#5850](https://github.com/ianstormtaylor/slate/pull/5850) [`22a3dda3`](https://github.com/ianstormtaylor/slate/commit/22a3dda36d4362d5dfdb9a75836297dae8cd7f9e) Thanks [@zbeyens](https://github.com/zbeyens)! - - Update `Text.decorations` to return the positions in addition to the leaf nodes: `{ leaf: Text, position?: { start: number, end: number, isFirst: boolean, isLast: boolean } }[]`.
## 0.113.0
### Minor Changes

View File

@@ -1,7 +1,7 @@
{
"name": "slate",
"description": "A completely customizable framework for building rich text editors.",
"version": "0.113.0",
"version": "0.114.0",
"license": "MIT",
"repository": "git://github.com/ianstormtaylor/slate.git",
"main": "dist/index.js",

View File

@@ -13272,7 +13272,7 @@ __metadata:
languageName: node
linkType: hard
"slate-dom@npm:^0.112.2, slate-dom@workspace:*, slate-dom@workspace:packages/slate-dom":
"slate-dom@npm:^0.114.0, slate-dom@workspace:*, slate-dom@workspace:packages/slate-dom":
version: 0.0.0-use.local
resolution: "slate-dom@workspace:packages/slate-dom"
dependencies:
@@ -13288,7 +13288,7 @@ __metadata:
is-plain-object: "npm:^5.0.0"
lodash: "npm:^4.17.21"
scroll-into-view-if-needed: "npm:^3.1.0"
slate: "npm:^0.113.0"
slate: "npm:^0.114.0"
slate-hyperscript: "npm:^0.100.0"
source-map-loader: "npm:^4.0.1"
tiny-invariant: "npm:1.3.1"
@@ -13304,7 +13304,7 @@ __metadata:
"@babel/runtime": "npm:^7.23.2"
is-plain-object: "npm:^5.0.0"
lodash: "npm:^4.17.21"
slate: "npm:^0.113.0"
slate: "npm:^0.114.0"
slate-hyperscript: "npm:^0.100.0"
source-map-loader: "npm:^4.0.1"
peerDependencies:
@@ -13318,7 +13318,7 @@ __metadata:
dependencies:
"@babel/runtime": "npm:^7.23.2"
is-plain-object: "npm:^5.0.0"
slate: "npm:^0.113.0"
slate: "npm:^0.114.0"
source-map-loader: "npm:^4.0.1"
peerDependencies:
slate: ">=0.65.3"
@@ -13432,8 +13432,8 @@ __metadata:
react: "npm:^18.2.0"
react-dom: "npm:^18.2.0"
scroll-into-view-if-needed: "npm:^3.1.0"
slate: "npm:^0.113.0"
slate-dom: "npm:^0.112.2"
slate: "npm:^0.114.0"
slate-dom: "npm:^0.114.0"
slate-hyperscript: "npm:^0.100.0"
source-map-loader: "npm:^4.0.1"
tiny-invariant: "npm:1.3.1"
@@ -13445,7 +13445,7 @@ __metadata:
languageName: unknown
linkType: soft
"slate@npm:^0.113.0, slate@workspace:*, slate@workspace:packages/slate":
"slate@npm:^0.114.0, slate@workspace:*, slate@workspace:packages/slate":
version: 0.0.0-use.local
resolution: "slate@workspace:packages/slate"
dependencies: