Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .changeset/rich-cheetahs-battle.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/slate-dom/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# slate-dom

## 0.121.0

### Patch Changes

- [#5982](https://github.com/ianstormtaylor/slate/pull/5982) [`dd4a77b3`](https://github.com/ianstormtaylor/slate/commit/dd4a77b3c5bb5d2d3cd6a62f49d6f318d30d6727) Thanks [@nabbydude](https://github.com/nabbydude)! - Add `Node.isEditor`, `Node.isElement`, and `Node.isText` as alternative type guards for when we already know the object is a node.
Use these new functions instead of `Editor.isEditor`, `Element.isElement`, and `Text.isText` whenever possible, the classic functions are only necessary for typechecking an entirely unknown object.
===

## 0.119.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/slate-dom/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "slate-dom",
"description": "Tools for building completely customizable richtext editors with React.",
"version": "0.119.0",
"version": "0.121.0",
"license": "MIT",
"repository": "git://github.com/ianstormtaylor/slate.git",
"main": "dist/index.js",
Expand Down Expand Up @@ -29,7 +29,7 @@
"@types/jsdom": "^21.1.4",
"@types/lodash": "^4.14.200",
"@types/resize-observer-browser": "^0.1.8",
"slate": "^0.120.0",
"slate": "^0.121.0",
"slate-hyperscript": "^0.115.0",
"source-map-loader": "^4.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/slate-history/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"devDependencies": {
"@babel/runtime": "^7.23.2",
"lodash": "^4.17.21",
"slate": "^0.120.0",
"slate": "^0.121.0",
"slate-hyperscript": "^0.115.0",
"source-map-loader": "^4.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/slate-hyperscript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
"devDependencies": {
"@babel/runtime": "^7.23.2",
"slate": "^0.120.0",
"slate": "^0.121.0",
"source-map-loader": "^4.0.1"
},
"peerDependencies": {
Expand Down
8 changes: 8 additions & 0 deletions packages/slate-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# slate-react

## 0.121.0

### Patch Changes

- [#5982](https://github.com/ianstormtaylor/slate/pull/5982) [`dd4a77b3`](https://github.com/ianstormtaylor/slate/commit/dd4a77b3c5bb5d2d3cd6a62f49d6f318d30d6727) Thanks [@nabbydude](https://github.com/nabbydude)! - Add `Node.isEditor`, `Node.isElement`, and `Node.isText` as alternative type guards for when we already know the object is a node.
Use these new functions instead of `Editor.isEditor`, `Element.isElement`, and `Text.isText` whenever possible, the classic functions are only necessary for typechecking an entirely unknown object.
===

## 0.120.2

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/slate-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "slate-react",
"description": "Tools for building completely customizable richtext editors with React.",
"version": "0.120.2",
"version": "0.121.0",
"license": "MIT",
"repository": "git://github.com/ianstormtaylor/slate.git",
"main": "dist/index.js",
Expand Down Expand Up @@ -34,8 +34,8 @@
"@types/resize-observer-browser": "^0.1.8",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"slate": "^0.120.0",
"slate-dom": "^0.119.0",
"slate": "^0.121.0",
"slate-dom": "^0.121.0",
"slate-hyperscript": "^0.115.0",
"source-map-loader": "^4.0.1"
},
Expand Down
8 changes: 8 additions & 0 deletions packages/slate/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# slate

## 0.121.0

### Minor Changes

- [#5982](https://github.com/ianstormtaylor/slate/pull/5982) [`dd4a77b3`](https://github.com/ianstormtaylor/slate/commit/dd4a77b3c5bb5d2d3cd6a62f49d6f318d30d6727) Thanks [@nabbydude](https://github.com/nabbydude)! - Add `Node.isEditor`, `Node.isElement`, and `Node.isText` as alternative type guards for when we already know the object is a node.
Use these new functions instead of `Editor.isEditor`, `Element.isElement`, and `Text.isText` whenever possible, the classic functions are only necessary for typechecking an entirely unknown object.
===

## 0.120.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/slate/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "slate",
"description": "A completely customizable framework for building rich text editors.",
"version": "0.120.0",
"version": "0.121.0",
"license": "MIT",
"repository": "git://github.com/ianstormtaylor/slate.git",
"main": "dist/index.js",
Expand Down
14 changes: 7 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13569,7 +13569,7 @@ __metadata:
languageName: node
linkType: hard

"slate-dom@npm:^0.119.0, slate-dom@workspace:*, slate-dom@workspace:packages/slate-dom":
"slate-dom@npm:^0.121.0, slate-dom@workspace:*, slate-dom@workspace:packages/slate-dom":
version: 0.0.0-use.local
resolution: "slate-dom@workspace:packages/slate-dom"
dependencies:
Expand All @@ -13585,7 +13585,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.120.0"
slate: "npm:^0.121.0"
slate-hyperscript: "npm:^0.115.0"
source-map-loader: "npm:^4.0.1"
tiny-invariant: "npm:1.3.1"
Expand All @@ -13600,7 +13600,7 @@ __metadata:
dependencies:
"@babel/runtime": "npm:^7.23.2"
lodash: "npm:^4.17.21"
slate: "npm:^0.120.0"
slate: "npm:^0.121.0"
slate-hyperscript: "npm:^0.115.0"
source-map-loader: "npm:^4.0.1"
peerDependencies:
Expand All @@ -13613,7 +13613,7 @@ __metadata:
resolution: "slate-hyperscript@workspace:packages/slate-hyperscript"
dependencies:
"@babel/runtime": "npm:^7.23.2"
slate: "npm:^0.120.0"
slate: "npm:^0.121.0"
source-map-loader: "npm:^4.0.1"
peerDependencies:
slate: ">=0.114.3"
Expand Down Expand Up @@ -13727,8 +13727,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.120.0"
slate-dom: "npm:^0.119.0"
slate: "npm:^0.121.0"
slate-dom: "npm:^0.121.0"
slate-hyperscript: "npm:^0.115.0"
source-map-loader: "npm:^4.0.1"
tiny-invariant: "npm:1.3.1"
Expand All @@ -13740,7 +13740,7 @@ __metadata:
languageName: unknown
linkType: soft

"slate@npm:^0.120.0, slate@workspace:*, slate@workspace:packages/slate":
"slate@npm:^0.121.0, slate@workspace:*, slate@workspace:packages/slate":
version: 0.0.0-use.local
resolution: "slate@workspace:packages/slate"
dependencies:
Expand Down