@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.
@@ -1,2 +1 @@
1
1
  export * from './highlightRenderer';
2
- export * from '../../presence/presencePainter';
@@ -1,2 +1,2 @@
1
- export * from './presencePainter';
1
+ export * from './PresencePainter';
2
2
  export * from './PresencePainterOptions';
@@ -1,12 +1,11 @@
1
1
  import type { TextSelector } from '../model';
2
2
  /**
3
- * Retrieves the DOM range from the given text annotation position
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 start start of the annotated content
7
- * @param end end of the annotated content
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 DOM range
9
+ * @returns the revived selector
11
10
  */
12
11
  export declare const reviveSelector: (selector: TextSelector, container: HTMLElement) => TextSelector;