@soomo/react-text-annotator 3.0.0-staging.4 → 3.0.0-staging.40

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.
Files changed (77) hide show
  1. package/dist/TextAnnotator.d.ts +3 -3
  2. package/dist/TextAnnotator.d.ts.map +1 -1
  3. package/dist/TextAnnotatorPlugin.d.ts +1 -2
  4. package/dist/TextAnnotatorPlugin.d.ts.map +1 -1
  5. package/dist/TextAnnotatorPopup/TextAnnotatorPopup.d.ts +16 -0
  6. package/dist/TextAnnotatorPopup/TextAnnotatorPopup.d.ts.map +1 -0
  7. package/dist/TextAnnotatorPopup/index.d.ts +2 -0
  8. package/dist/TextAnnotatorPopup/index.d.ts.map +1 -0
  9. package/dist/hooks/index.d.ts +3 -0
  10. package/dist/hooks/index.d.ts.map +1 -0
  11. package/dist/hooks/useAnnouncePopupNavigation.d.ts +10 -0
  12. package/dist/hooks/useAnnouncePopupNavigation.d.ts.map +1 -0
  13. package/dist/hooks/useRestoreSelectionCaret.d.ts +13 -0
  14. package/dist/hooks/useRestoreSelectionCaret.d.ts.map +1 -0
  15. package/dist/index.d.ts +7 -2
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/react-text-annotator.css +31 -1
  18. package/dist/react-text-annotator.es.js +14 -4
  19. package/dist/react-text-annotator.es.js.map +1 -1
  20. package/dist/react-text-annotator.es11.js +459 -861
  21. package/dist/react-text-annotator.es11.js.map +1 -1
  22. package/dist/react-text-annotator.es12.js +64 -2
  23. package/dist/react-text-annotator.es12.js.map +1 -1
  24. package/dist/react-text-annotator.es13.js +45 -2
  25. package/dist/react-text-annotator.es13.js.map +1 -1
  26. package/dist/react-text-annotator.es14.js +1444 -107
  27. package/dist/react-text-annotator.es14.js.map +1 -1
  28. package/dist/react-text-annotator.es16.js +228 -45
  29. package/dist/react-text-annotator.es16.js.map +1 -1
  30. package/dist/react-text-annotator.es17.js +565 -16
  31. package/dist/react-text-annotator.es17.js.map +1 -1
  32. package/dist/react-text-annotator.es18.js +5 -0
  33. package/dist/react-text-annotator.es18.js.map +1 -0
  34. package/dist/{react-text-annotator.es10.js → react-text-annotator.es19.js} +7 -11
  35. package/dist/{react-text-annotator.es10.js.map → react-text-annotator.es19.js.map} +1 -1
  36. package/dist/react-text-annotator.es2.js +2 -2
  37. package/dist/react-text-annotator.es20.js +901 -0
  38. package/dist/react-text-annotator.es20.js.map +1 -0
  39. package/dist/react-text-annotator.es21.js +117 -0
  40. package/dist/react-text-annotator.es21.js.map +1 -0
  41. package/dist/{react-text-annotator.es15.js → react-text-annotator.es22.js} +1 -1
  42. package/dist/{react-text-annotator.es15.js.map → react-text-annotator.es22.js.map} +1 -1
  43. package/dist/react-text-annotator.es23.js +61 -0
  44. package/dist/react-text-annotator.es23.js.map +1 -0
  45. package/dist/react-text-annotator.es24.js +23 -0
  46. package/dist/react-text-annotator.es24.js.map +1 -0
  47. package/dist/react-text-annotator.es25.js +5 -0
  48. package/dist/react-text-annotator.es25.js.map +1 -0
  49. package/dist/react-text-annotator.es26.js +5 -0
  50. package/dist/react-text-annotator.es26.js.map +1 -0
  51. package/dist/react-text-annotator.es27.js +130 -0
  52. package/dist/react-text-annotator.es27.js.map +1 -0
  53. package/dist/react-text-annotator.es28.js +155 -0
  54. package/dist/react-text-annotator.es28.js.map +1 -0
  55. package/dist/react-text-annotator.es29.js +314 -0
  56. package/dist/react-text-annotator.es29.js.map +1 -0
  57. package/dist/react-text-annotator.es3.js +2 -2
  58. package/dist/react-text-annotator.es30.js +152 -0
  59. package/dist/react-text-annotator.es30.js.map +1 -0
  60. package/dist/react-text-annotator.es31.js +563 -0
  61. package/dist/react-text-annotator.es31.js.map +1 -0
  62. package/dist/react-text-annotator.es4.js +29 -27
  63. package/dist/react-text-annotator.es4.js.map +1 -1
  64. package/dist/react-text-annotator.es5.js +38 -48
  65. package/dist/react-text-annotator.es5.js.map +1 -1
  66. package/dist/react-text-annotator.es6.js +25 -10
  67. package/dist/react-text-annotator.es6.js.map +1 -1
  68. package/dist/react-text-annotator.es7.js +134 -1
  69. package/dist/react-text-annotator.es7.js.map +1 -1
  70. package/dist/react-text-annotator.es8.js +177 -486
  71. package/dist/react-text-annotator.es8.js.map +1 -1
  72. package/dist/react-text-annotator.es9.js +10 -2
  73. package/dist/react-text-annotator.es9.js.map +1 -1
  74. package/dist/tei/TEIAnnotator.d.ts +2 -2
  75. package/package.json +23 -15
  76. package/dist/TextAnnotatorPopup.d.ts +0 -14
  77. package/dist/TextAnnotatorPopup.d.ts.map +0 -1
@@ -1,7 +1,7 @@
1
- import { HighlightStyleExpression, TextAnnotation, TextAnnotatorOptions } from '@soomo/text-annotator';
2
- import { FormatAdapter } from '@annotorious/core';
3
- import { Filter } from '@annotorious/react';
4
1
  import { ReactNode } from 'react';
2
+ import { Filter } from '@annotorious/react';
3
+ import { FormatAdapter } from '@annotorious/core';
4
+ import { HighlightStyleExpression, TextAnnotation, TextAnnotatorOptions } from '@soomo/text-annotator';
5
5
 
6
6
  export interface TextAnnotatorProps<E extends unknown> extends Omit<TextAnnotatorOptions<E>, 'adapter'> {
7
7
  children?: ReactNode | JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"TextAnnotator.d.ts","sourceRoot":"","sources":["../src/TextAnnotator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAiC,MAAM,OAAO,CAAC;AACjE,OAAO,EAAsB,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,wBAAwB,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAG5G,OAAO,+CAA+C,CAAC;AAGvD,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,OAAO,CAAE,SAAQ,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC;IAErG,QAAQ,CAAC,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAAC;IAEnC,OAAO,CAAC,EAAE,aAAa,CAAC,cAAc,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,WAAW,KAAK,aAAa,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;IAEnH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,KAAK,CAAC,EAAE,wBAAwB,CAAC;IAEjC,SAAS,CAAC,EAAE,MAAM,CAAC;CAEpB;AAED,eAAO,MAAM,aAAa,6BAA8B,mBAAmB,CAAC,CAAC,4CAqC5E,CAAA"}
1
+ {"version":3,"file":"TextAnnotator.d.ts","sourceRoot":"","sources":["../src/TextAnnotator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAiC,MAAM,OAAO,CAAC;AACjE,OAAO,EAAsB,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,wBAAwB,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAG5G,OAAO,+CAA+C,CAAC;AAGvD,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,OAAO,CAAE,SAAQ,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC;IAErG,QAAQ,CAAC,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAAC;IAEnC,OAAO,CAAC,EAAE,aAAa,CAAC,cAAc,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,WAAW,KAAK,aAAa,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;IAEnH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,KAAK,CAAC,EAAE,wBAAwB,CAAC;IAEjC,SAAS,CAAC,EAAE,MAAM,CAAC;CAEpB;AAED,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,OAAO,SAAS,kBAAkB,CAAC,CAAC,CAAC,4CAoC5E,CAAC"}
@@ -1,6 +1,5 @@
1
+ import { AnnotatorPlugin } from '@annotorious/react';
1
2
  import { TextAnnotator } from '@soomo/text-annotator';
2
- import { AnnotatorPlugin, AnnotoriousPlugin } from '@annotorious/react';
3
3
 
4
4
  export type TextAnnotatorPlugin<T extends unknown = TextAnnotator> = AnnotatorPlugin<T>;
5
- export { AnnotoriousPlugin as TextAnnotatorPlugin };
6
5
  //# sourceMappingURL=TextAnnotatorPlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextAnnotatorPlugin.d.ts","sourceRoot":"","sources":["../src/TextAnnotatorPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3D,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,OAAO,GAAG,aAAa,IAAI,eAAe,CAAC,CAAC,CAAC,CAAC;AACxF,OAAO,EAAE,iBAAiB,IAAI,mBAAmB,EAAE,CAAA"}
1
+ {"version":3,"file":"TextAnnotatorPlugin.d.ts","sourceRoot":"","sources":["../src/TextAnnotatorPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3D,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,OAAO,GAAG,aAAa,IAAI,eAAe,CAAC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { TextAnnotation } from '@soomo/text-annotator';
3
+
4
+ interface TextAnnotationPopupProps {
5
+ popupNavigationMessage?: string;
6
+ popup(props: TextAnnotatorPopupProps): ReactNode;
7
+ }
8
+ export interface TextAnnotatorPopupProps {
9
+ selected: {
10
+ annotation: TextAnnotation;
11
+ editable?: boolean;
12
+ }[];
13
+ }
14
+ export declare const TextAnnotatorPopup: FC<TextAnnotationPopupProps>;
15
+ export {};
16
+ //# sourceMappingURL=TextAnnotatorPopup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextAnnotatorPopup.d.ts","sourceRoot":"","sources":["../../src/TextAnnotatorPopup/TextAnnotatorPopup.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAgB,SAAS,EAAoC,MAAM,OAAO,CAAC;AAgB7F,OAAO,EAGL,KAAK,cAAc,EAEpB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,0BAA0B,CAAC;AAElC,UAAU,wBAAwB;IAEhC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC,KAAK,CAAC,KAAK,EAAE,uBAAuB,GAAG,SAAS,CAAC;CAElD;AAED,MAAM,WAAW,uBAAuB;IAEtC,QAAQ,EAAE;QAAE,UAAU,EAAE,cAAc,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;CAEhE;AAED,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,wBAAwB,CAuJ3D,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './TextAnnotatorPopup';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/TextAnnotatorPopup/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './useRestoreSelectionCaret';
2
+ export * from './useAnnouncePopupNavigation';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,10 @@
1
+ interface AnnouncePopupOpeningArgs {
2
+ message?: string;
3
+ idle?: number;
4
+ floatingOpen: boolean;
5
+ floatingFocused?: boolean;
6
+ disabled?: boolean;
7
+ }
8
+ export declare const useAnnouncePopupNavigation: (args: AnnouncePopupOpeningArgs) => void;
9
+ export {};
10
+ //# sourceMappingURL=useAnnouncePopupNavigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAnnouncePopupNavigation.d.ts","sourceRoot":"","sources":["../../src/hooks/useAnnouncePopupNavigation.ts"],"names":[],"mappings":"AAOA,UAAU,wBAAwB;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,OAAO,CAAC;IACtB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,0BAA0B,SAAU,wBAAwB,SA2DxE,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Restores the caret position after the floating element gets closed
3
+ * and the selection is lost and moved to the `body`.
4
+ * The caret is placed at the start of the previous selection range.
5
+ *
6
+ * However, when the floating element is dismissed with intentional
7
+ * caret repositioning via the mouse click or arrow key navigation ->
8
+ * we shouldn't restore its position to the previous selection.
9
+ */
10
+ export declare const useRestoreSelectionCaret: (args: {
11
+ floatingOpen: boolean;
12
+ }) => void;
13
+ //# sourceMappingURL=useRestoreSelectionCaret.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRestoreSelectionCaret.d.ts","sourceRoot":"","sources":["../../src/hooks/useRestoreSelectionCaret.ts"],"names":[],"mappings":"AAKA;;;;;;;;GAQG;AACH,eAAO,MAAM,wBAAwB,SAAU;IAAE,YAAY,EAAE,OAAO,CAAA;CAAE,SAsCvE,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,7 +1,12 @@
1
1
  export * from './tei';
2
+ export * from './hooks';
2
3
  export * from './TextAnnotator';
3
4
  export * from './TextAnnotatorPopup';
4
5
  export * from './TextAnnotatorPlugin';
5
- export type { AnnotoriousPlugin } from '@annotorious/react';
6
- export type { TextAnnotation, TextAnnotator as RecogitoTextAnnotator } from '@soomo/text-annotator';
6
+ export type { Annotation, AnnotationBody, AnnotationTarget, Annotator, AnnotatorState, Color, Filter, FormatAdapter, HoverState, Selection, SelectionState, Store, StoreChangeEvent, StoreObserver, ParseResult, User, UserSelectActionExpression, W3CAnnotation, W3CAnnotationBody, W3CAnnotationTarget } from '@annotorious/core';
7
+ export { createBody, Origin, UserSelectAction } from '@annotorious/core';
8
+ export { AnnotoriousPlugin } from '@annotorious/react';
9
+ export type { HighlightStyle, HighlightStyleExpression, TextAnnotation, TextAnnotationTarget, TextSelector, W3CTextAnnotation, W3CTextAnnotationTarget, W3CTextSelector, W3CAnnotationStylesheet, TextAnnotator as RecogitoTextAnnotator, TextAnnotationStore } from '@soomo/text-annotator';
10
+ export { W3CTextFormat } from '@recogito/text-annotator';
11
+ export type { RecogitoTEIAnnotator, TEIAnnotation, TEIAnnotationTarget, TEIRangeSelector } from '@recogito/text-annotator-tei';
7
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AAGtC,YAAY,EACV,iBAAiB,EAClB,MAAM,oBAAoB,CAAC;AAE5B,YAAY,EACV,cAAc,EACd,aAAa,IAAI,qBAAqB,EACvC,MAAM,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AAGtC,YAAY,EACV,UAAU,EACV,cAAc,EACd,gBAAgB,EAChB,SAAS,EACT,cAAc,EACd,KAAK,EACL,MAAM,EACN,aAAa,EACb,UAAU,EACV,SAAS,EACT,cAAc,EACd,KAAK,EACL,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,IAAI,EACJ,0BAA0B,EAC1B,aAAa,EACb,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,UAAU,EACV,MAAM,EACN,gBAAgB,EACjB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EACN,iBAAiB,EACjB,MAAM,oBAAoB,CAAC;AAE5B,YAAY,EACV,cAAc,EACd,wBAAwB,EACxB,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACvB,eAAe,EACf,uBAAuB,EACvB,aAAa,IAAI,qBAAqB,EACtC,mBAAmB,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,aAAa,EACd,MAAM,0BAA0B,CAAC;AAElC,YAAY,EACV,oBAAoB,EACpB,aAAa,EACb,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,8BAA8B,CAAC"}
@@ -1 +1,31 @@
1
- .r6o-annotatable .r6o-span-highlight-layer{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.r6o-annotatable .r6o-span-highlight-layer.hidden{display:none}.r6o-annotatable .r6o-span-highlight-layer .r6o-annotation{border-style:solid;border-width:0;position:absolute;display:block}html,body{overscroll-behavior-y:none}.r6o-annotatable{-webkit-tap-highlight-color:transparent}.r6o-annotatable,.r6o-annotatable *{position:relative}.hovered *{cursor:pointer}.r6o-highlight-layer{left:0;position:fixed;top:0;bottom:0;width:100vw;pointer-events:none}*::selection,::selection{background:#0080ff2e}::-moz-selection{background:#0080ff2e}
1
+ .r6o-canvas-highlight-layer{position:fixed;top:0;bottom:0;left:0;width:100vw;height:100vh;pointer-events:none}.r6o-canvas-highlight-layer.bg{mix-blend-mode:multiply;z-index:1}.r6o-annotatable .r6o-span-highlight-layer{position:absolute;top:0;left:0;width:100%;height:100%;mix-blend-mode:multiply;pointer-events:none;z-index:1}.r6o-annotatable .r6o-span-highlight-layer.hidden{display:none}.r6o-annotatable .r6o-span-highlight-layer .r6o-annotation{border-style:solid;border-width:0;box-sizing:content-box;display:block;position:absolute}.r6o-annotation{box-sizing:content-box}.r6o-presence-layer{left:0;position:fixed;top:0;bottom:0;width:100vw;pointer-events:none}html,body{overscroll-behavior-y:none}.r6o-annotatable{position:relative;-webkit-tap-highlight-color:transparent}.r6o-annotatable.no-focus-outline{outline:none}.hovered *{cursor:pointer}*::selection,::selection{background:#0080ff2e}::-moz-selection{background:#0080ff2e}
2
+ /*
3
+ * Close message should be visible only to the keyboard
4
+ * or the screen reader users as the popup behavior hint
5
+ * Inspired by https://gist.github.com/ffoodd/000b59f431e3e64e4ce1a24d5bb36034
6
+ */
7
+ .popup-close-message {
8
+ border: 0 !important;
9
+ clip: rect(1px, 1px, 1px, 1px);
10
+ -webkit-clip-path: inset(50%);
11
+ clip-path: inset(50%);
12
+ height: 1px;
13
+ margin: -1px;
14
+ overflow: hidden;
15
+ padding: 0;
16
+ position: absolute;
17
+ width: 1px;
18
+ white-space: nowrap;
19
+ }
20
+
21
+ .popup-close-message:focus,
22
+ .popup-close-message:active {
23
+ clip: auto;
24
+ -webkit-clip-path: none;
25
+ clip-path: none;
26
+ height: auto;
27
+ margin: auto;
28
+ overflow: visible;
29
+ width: auto;
30
+ white-space: normal;
31
+ }
@@ -1,13 +1,23 @@
1
1
  import { CETEIcean } from "./react-text-annotator.es2.js";
2
2
  import { TEIAnnotator } from "./react-text-annotator.es3.js";
3
- import { TextAnnotator } from "./react-text-annotator.es4.js";
4
- import { TextAnnotatorPopup } from "./react-text-annotator.es5.js";
3
+ import { useRestoreSelectionCaret } from "./react-text-annotator.es4.js";
4
+ import { useAnnouncePopupNavigation } from "./react-text-annotator.es5.js";
5
+ import { TextAnnotator } from "./react-text-annotator.es6.js";
6
+ import { TextAnnotatorPopup } from "./react-text-annotator.es7.js";
7
+ import { Origin, UserSelectAction, createBody } from "@annotorious/core";
5
8
  import { AnnotoriousPlugin } from "@annotorious/react";
9
+ import { W3CTextFormat } from "./react-text-annotator.es8.js";
6
10
  export {
11
+ AnnotoriousPlugin,
7
12
  CETEIcean,
13
+ Origin,
8
14
  TEIAnnotator,
9
15
  TextAnnotator,
10
- AnnotoriousPlugin as TextAnnotatorPlugin,
11
- TextAnnotatorPopup
16
+ TextAnnotatorPopup,
17
+ UserSelectAction,
18
+ W3CTextFormat,
19
+ createBody,
20
+ useAnnouncePopupNavigation,
21
+ useRestoreSelectionCaret
12
22
  };
13
23
  //# sourceMappingURL=react-text-annotator.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-text-annotator.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
1
+ {"version":3,"file":"react-text-annotator.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}