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

refactor: Split out slate dom package (#5734)

* Copied some things from slate-react into new react-dom package

* Refactor slate-react to use slate-dom

* Fixed failing tests

* Created changeset

* Ran fix:prettier

* Fixed name

* Removed duplicate code

* Fixed import

* Restored linting rule

* Bumped slate-dom version

* Bumped slate dependency version

* Added export of IS_NODE_MAP_DIRTY after rebase
This commit is contained in:
Brian Ingles
2024-10-31 09:20:34 -05:00
committed by GitHub
parent 7e1608018b
commit 9a21251270
37 changed files with 1847 additions and 1559 deletions

View File

@@ -13258,6 +13258,31 @@ __metadata:
languageName: node
linkType: hard
"slate-dom@npm:^0.110.2, slate-dom@workspace:packages/slate-dom":
version: 0.0.0-use.local
resolution: "slate-dom@workspace:packages/slate-dom"
dependencies:
"@babel/runtime": "npm:^7.23.2"
"@juggle/resize-observer": "npm:^3.4.0"
"@types/is-hotkey": "npm:^0.1.8"
"@types/jest": "npm:29.5.6"
"@types/jsdom": "npm:^21.1.4"
"@types/lodash": "npm:^4.14.200"
"@types/resize-observer-browser": "npm:^0.1.8"
direction: "npm:^1.0.4"
is-hotkey: "npm:^0.2.0"
is-plain-object: "npm:^5.0.0"
lodash: "npm:^4.17.21"
scroll-into-view-if-needed: "npm:^3.1.0"
slate: "npm:^0.110.2"
slate-hyperscript: "npm:^0.100.0"
source-map-loader: "npm:^4.0.1"
tiny-invariant: "npm:1.3.1"
peerDependencies:
slate: ">=0.99.0"
languageName: unknown
linkType: soft
"slate-history@workspace:*, slate-history@workspace:packages/slate-history":
version: 0.0.0-use.local
resolution: "slate-history@workspace:packages/slate-history"
@@ -13391,6 +13416,7 @@ __metadata:
react-dom: "npm:^18.2.0"
scroll-into-view-if-needed: "npm:^3.1.0"
slate: "npm:^0.110.2"
slate-dom: "npm:^0.110.2"
slate-hyperscript: "npm:^0.100.0"
source-map-loader: "npm:^4.0.1"
tiny-invariant: "npm:1.3.1"
@@ -13398,6 +13424,7 @@ __metadata:
react: ">=18.2.0"
react-dom: ">=18.2.0"
slate: ">=0.99.0"
slate-dom: ">=0.110.2"
languageName: unknown
linkType: soft