slate-angular 17.2.2 → 17.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "slate-angular",
3
- "version": "17.2.2",
3
+ "version": "17.4.0",
4
4
  "description": "Angular view layer for Slate",
5
5
  "author": "pubuzhixing <pubuzhixing@gmail.com>",
6
6
  "homepage": "https://github.com/worktile/slate-angular#readme",
7
7
  "license": "MIT",
8
8
  "peerDependencies": {
9
- "slate": ">= 0.101.5",
9
+ "slate": ">=0.101.0 <=0.104.0",
10
10
  "slate-history": "^0.100.0",
11
11
  "debug": "^4.1.1",
12
12
  "direction": "^2.0.1",
@@ -14,7 +14,7 @@
14
14
  "scroll-into-view-if-needed": "^2.2.20"
15
15
  },
16
16
  "dependencies": {
17
- "slate": "^0.101.5",
17
+ "slate": ">=0.101.0 <=0.104.0",
18
18
  "slate-history": "^0.100.0",
19
19
  "direction": "^2.0.1",
20
20
  "is-hotkey": "^0.2.0",
@@ -106,7 +106,9 @@ export declare const AngularEditor: {
106
106
  /**
107
107
  * Find a native DOM selection point from a Slate point.
108
108
  */
109
- toDOMPoint(editor: AngularEditor, point: Point): DOMPoint;
109
+ toDOMPoint(editor: AngularEditor, point: Point, options: {
110
+ range: Range;
111
+ }): DOMPoint;
110
112
  /**
111
113
  * Find a native DOM range from a Slate `range`.
112
114
  */