@recogito/text-annotator 3.0.0-rc.14 → 3.0.0-rc.15
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/dist/src/highlight/css/index.d.ts +0 -1
- package/dist/src/presence/index.d.ts +1 -1
- package/dist/src/utils/reviveSelector.d.ts +4 -5
- package/dist/text-annotator.es.js +183 -184
- package/dist/text-annotator.es.js.map +1 -1
- package/dist/text-annotator.umd.js +2 -2
- package/dist/text-annotator.umd.js.map +1 -1
- package/package.json +1 -1
- /package/dist/src/presence/{presencePainter.d.ts → PresencePainter.d.ts} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './PresencePainter';
|
|
2
2
|
export * from './PresencePainterOptions';
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import type { TextSelector } from '../model';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Creates a new selector object with the revived DOM range from the given text annotation position
|
|
4
4
|
* Only the annotatable elements are processed and counted towards the range
|
|
5
5
|
*
|
|
6
|
-
* @param
|
|
7
|
-
* @param
|
|
8
|
-
* @param offsetReference the HTML container of the annotated content
|
|
6
|
+
* @param selector annotation selector with start and end positions
|
|
7
|
+
* @param container the HTML container of the annotated content
|
|
9
8
|
*
|
|
10
|
-
* @returns the
|
|
9
|
+
* @returns the revived selector
|
|
11
10
|
*/
|
|
12
11
|
export declare const reviveSelector: (selector: TextSelector, container: HTMLElement) => TextSelector;
|