@soomo/react-text-annotator 3.0.0-staging.5 → 3.0.0-staging.7

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/index.d.ts CHANGED
@@ -1,14 +1,9 @@
1
- import { Origin as _Origin, PointerSelectAction as _PointerSelectAction } from '@annotorious/core';
2
1
  export * from './tei';
3
2
  export * from './TextAnnotator';
4
3
  export * from './TextAnnotatorPopup';
5
4
  export * from './TextAnnotatorPlugin';
6
5
  export type { Annotation, AnnotationBody, AnnotationTarget, Annotator, AnnotatorState, Color, Filter, FormatAdapter, HoverState, Selection, SelectionState, Store, StoreChangeEvent, StoreObserver, ParseResult, User, W3CAnnotation, W3CAnnotationBody, W3CAnnotationTarget } from '@annotorious/core';
7
- export declare const PointerSelectAction: typeof _PointerSelectAction;
8
- export declare const createBody: (annotation: import('@annotorious/core').Annotation, payload: {
9
- [key: string]: any;
10
- }, created?: Date, creator?: import('@annotorious/core').User) => import('@annotorious/core').AnnotationBody;
11
- export declare const Origin: typeof _Origin;
12
- export type { AnnotoriousPlugin } from '@annotorious/react';
13
- export type { TextAnnotation, TextAnnotationTarget, TextAnnotator as RecogitoTextAnnotator, TextSelector } from '@soomo/text-annotator';
6
+ export { createBody, Origin, PointerSelectAction } from '@annotorious/core';
7
+ export { AnnotoriousPlugin } from '@annotorious/react';
8
+ export type { TextAnnotation, TextAnnotationTarget, TextSelector, W3CTextAnnotation, W3CTextAnnotationTarget, W3CTextSelector, W3CAnnotationStylesheet, HighlightStyle, TextAnnotator as RecogitoTextAnnotator, TextAnnotationStore } from '@soomo/text-annotator';
14
9
  //# 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,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,aAAa,EACb,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAEL,MAAM,IAAI,OAAO,EACjB,mBAAmB,IAAI,oBAAoB,EAC5C,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,mBAAmB,6BAAuB,CAAC;AACxD,eAAO,MAAM,UAAU;;4GAAc,CAAC;AACtC,eAAO,MAAM,MAAM,gBAAU,CAAC;AAG9B,YAAY,EACV,iBAAiB,EAClB,MAAM,oBAAoB,CAAC;AAE5B,YAAY,EACV,cAAc,EACd,oBAAoB,EACpB,aAAa,IAAI,qBAAqB,EACtC,YAAY,EACb,MAAM,uBAAuB,CAAC"}
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,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,aAAa,EACb,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,UAAU,EACV,MAAM,EACN,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EACN,iBAAiB,EACjB,MAAM,oBAAoB,CAAC;AAE5B,YAAY,EACV,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACvB,eAAe,EACf,uBAAuB,EACvB,cAAc,EACd,aAAa,IAAI,qBAAqB,EACtC,mBAAmB,EACpB,MAAM,uBAAuB,CAAC"}
@@ -2,11 +2,10 @@ import { CETEIcean } from "./react-text-annotator.es2.js";
2
2
  import { TEIAnnotator } from "./react-text-annotator.es3.js";
3
3
  import { TextAnnotator } from "./react-text-annotator.es4.js";
4
4
  import { TextAnnotatorPopup } from "./react-text-annotator.es5.js";
5
- import { PointerSelectAction as PointerSelectAction$1, createBody as createBody$1, Origin as Origin$1 } from "@annotorious/core";
6
- const PointerSelectAction = PointerSelectAction$1;
7
- const createBody = createBody$1;
8
- const Origin = Origin$1;
5
+ import { Origin, PointerSelectAction, createBody } from "@annotorious/core";
6
+ import { AnnotoriousPlugin } from "@annotorious/react";
9
7
  export {
8
+ AnnotoriousPlugin,
10
9
  CETEIcean,
11
10
  Origin,
12
11
  PointerSelectAction,
@@ -1 +1 @@
1
- {"version":3,"file":"react-text-annotator.es.js","sources":["../src/index.ts"],"sourcesContent":["export * from './tei';\nexport * from './TextAnnotator';\nexport * from './TextAnnotatorPopup';\nexport * from './TextAnnotatorPlugin';\n\n// Essential re-exports from @annotorious/core\nexport type {\n Annotation,\n AnnotationBody,\n AnnotationTarget,\n Annotator,\n AnnotatorState,\n Color,\n Filter,\n FormatAdapter,\n HoverState,\n Selection,\n SelectionState,\n Store,\n StoreChangeEvent,\n StoreObserver,\n ParseResult,\n User,\n W3CAnnotation,\n W3CAnnotationBody,\n W3CAnnotationTarget\n} from '@annotorious/core';\n\nimport {\n createBody as _createBody,\n Origin as _Origin,\n PointerSelectAction as _PointerSelectAction\n} from '@annotorious/core';\n\nexport const PointerSelectAction = _PointerSelectAction;\nexport const createBody = _createBody;\nexport const Origin = _Origin;\n\n// Essential re-exports from @annotorious/react\nexport type {\n AnnotoriousPlugin\n} from '@annotorious/react';\n\nexport type { \n TextAnnotation,\n TextAnnotationTarget,\n TextAnnotator as RecogitoTextAnnotator,\n TextSelector\n} from '@soomo/text-annotator';\n"],"names":["_PointerSelectAction","_createBody","_Origin"],"mappings":";;;;;AAkCO,MAAM,sBAAsBA;AAC5B,MAAM,aAAaC;AACnB,MAAM,SAASC;"}
1
+ {"version":3,"file":"react-text-annotator.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soomo/react-text-annotator",
3
- "version": "3.0.0-staging.5",
3
+ "version": "3.0.0-staging.7",
4
4
  "description": "Recogito Text Annotator React bindings",
5
5
  "author": "Rainer Simon",
6
6
  "license": "BSD-3-Clause",
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "@annotorious/core": "^3.0.0-rc.23",
43
43
  "@annotorious/react": "^3.0.0-rc.23",
44
- "@soomo/text-annotator": "^3.0.0-staging.3",
44
+ "@soomo/text-annotator": "^3.0.0-staging.7",
45
45
  "@recogito/text-annotator-tei": "3.0.0-rc.23",
46
46
  "@neodrag/react": "^2.0.4",
47
47
  "CETEIcean": "^1.9.2"