@prose-reader/core 1.254.0 → 1.256.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.
@@ -9,6 +9,9 @@ import { ReactiveEntity } from '../../utils/ReactiveEntity';
9
9
  import { Viewport } from '../../viewport/Viewport';
10
10
  export declare class ScrollPosition extends AbstractPosition {
11
11
  }
12
+ export declare class UnboundScrollPosition extends AbstractPosition {
13
+ readonly __symbol: symbol;
14
+ }
12
15
  export type ScrollNavigationViewportNavigationEntry = {
13
16
  position: UnboundSpinePosition | SpinePosition;
14
17
  };
@@ -31,7 +34,7 @@ export declare class ScrollNavigationController extends ReactiveEntity<{
31
34
  element: HTMLElement | undefined;
32
35
  }>): void;
33
36
  navigate(navigation: ScrollNavigationViewportNavigationEntry): void;
34
- fromScrollPosition(position: ScrollPosition): UnboundSpinePosition;
37
+ fromScrollPosition(position: UnboundScrollPosition | ScrollPosition): UnboundSpinePosition;
35
38
  fromSpinePosition(position: UnboundSpinePosition | SpinePosition): ScrollPosition;
36
39
  get scrollPosition(): ScrollPosition;
37
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prose-reader/core",
3
- "version": "1.254.0",
3
+ "version": "1.256.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.cjs",
6
6
  "module": "./dist/index.js",
@@ -23,8 +23,8 @@
23
23
  "tsc": "tsc"
24
24
  },
25
25
  "dependencies": {
26
- "@prose-reader/cfi": "^1.254.0",
27
- "@prose-reader/shared": "^1.254.0"
26
+ "@prose-reader/cfi": "^1.256.0",
27
+ "@prose-reader/shared": "^1.256.0"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "rxjs": "*"
@@ -40,5 +40,5 @@
40
40
  }
41
41
  }
42
42
  },
43
- "gitHead": "26e5b5632bfe135e3b94de0f2323b4b093dc3736"
43
+ "gitHead": "6a375d0f5be4abe0220fb37c1eef757d80afcef7"
44
44
  }