@recogito/react-text-annotator 4.1.0 → 4.2.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.
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export * from './hooks';
|
|
|
3
3
|
export * from './text-annotator';
|
|
4
4
|
export * from './text-annotation-popup';
|
|
5
5
|
export * from './text-annotator-plugin';
|
|
6
|
-
export type { Annotation, AnnotationBody, AnnotationTarget, Annotator, AnnotatorState,
|
|
6
|
+
export type { Annotation, AnnotationBody, AnnotationTarget, Annotator, AnnotatorState, Filter, FormatAdapter, HoverState, Selection, SelectionState, Store, StoreChangeEvent, StoreObserver, ParseResult, User, UserSelectActionExpression, W3CAnnotation, W3CAnnotationBody, W3CAnnotationTarget } from '@annotorious/core';
|
|
7
7
|
export { createBody, Origin, UserSelectAction } from '@annotorious/core';
|
|
8
8
|
export { AnnotoriousPlugin } from '@annotorious/react';
|
|
9
9
|
export type { AnnotatingMode, HighlightStyle, HighlightStyleExpression, TextAnnotation, TextAnnotationTarget, TextSelector, W3CTextAnnotation, W3CTextAnnotationTarget, W3CTextSelector, W3CAnnotationStylesheet, TextAnnotator as RecogitoTextAnnotator, TextAnnotationStore } from '@recogito/text-annotator';
|
package/dist/tei/ceteicean.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ interface CETEIceanProps {
|
|
|
4
4
|
onLoad?(element: Element): void;
|
|
5
5
|
behaviors?: any;
|
|
6
6
|
}
|
|
7
|
-
export declare const CETEIcean: (props: CETEIceanProps) => import("react
|
|
7
|
+
export declare const CETEIcean: (props: CETEIceanProps) => import("react").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -7,4 +7,4 @@ export type TEIAnnotatorProps = TextAnnotatorOptions & {
|
|
|
7
7
|
annotatingMode?: AnnotatingMode;
|
|
8
8
|
filter?: Filter;
|
|
9
9
|
};
|
|
10
|
-
export declare const TEIAnnotator: (props: TEIAnnotatorProps) =>
|
|
10
|
+
export declare const TEIAnnotator: (props: TEIAnnotatorProps) => JSX.Element;
|
|
@@ -21,8 +21,8 @@ export interface TextAnnotationPopupContentProps<T extends TextAnnotation = Text
|
|
|
21
21
|
editable?: boolean;
|
|
22
22
|
event?: PointerEvent | KeyboardEvent;
|
|
23
23
|
}
|
|
24
|
-
export declare const TextAnnotationPopup: (props: TextAnnotationPopupProps) => import("react
|
|
24
|
+
export declare const TextAnnotationPopup: (props: TextAnnotationPopupProps) => import("react").JSX.Element;
|
|
25
25
|
/** For backwards compatibility **/
|
|
26
26
|
/** @deprecated Use TextAnnotationPopup instead */
|
|
27
|
-
export declare const TextAnnotatorPopup: (props: TextAnnotationPopupProps) => import("react
|
|
27
|
+
export declare const TextAnnotatorPopup: (props: TextAnnotationPopupProps) => import("react").JSX.Element;
|
|
28
28
|
export {};
|
package/dist/text-annotator.d.ts
CHANGED
|
@@ -10,4 +10,4 @@ export interface TextAnnotatorProps<I extends TextAnnotation = TextAnnotation, E
|
|
|
10
10
|
filter?: Filter<I>;
|
|
11
11
|
className?: string;
|
|
12
12
|
}
|
|
13
|
-
export declare const TextAnnotator: <I extends TextAnnotation = TextAnnotation, E extends unknown = TextAnnotation>(props: TextAnnotatorProps<I, E>) =>
|
|
13
|
+
export declare const TextAnnotator: <I extends TextAnnotation = TextAnnotation, E extends unknown = TextAnnotation>(props: TextAnnotatorProps<I, E>) => JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@recogito/react-text-annotator",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Recogito Text Annotator React bindings",
|
|
5
5
|
"author": "Rainer Simon",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"module": "./dist/react-text-annotator.es.js",
|
|
25
25
|
"types": "./dist/index.d.ts",
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@types/react": "^19.2.
|
|
27
|
+
"@types/react": "^19.2.17",
|
|
28
28
|
"@types/react-dom": "^19.2.3",
|
|
29
29
|
"@vitejs/plugin-react": "^5.2.0",
|
|
30
|
-
"react": "^19.2.
|
|
31
|
-
"react-dom": "^19.2.
|
|
30
|
+
"react": "^19.2.7",
|
|
31
|
+
"react-dom": "^19.2.7",
|
|
32
32
|
"typescript": "^5.9.3",
|
|
33
|
-
"vite": "^7.3.
|
|
33
|
+
"vite": "^7.3.5",
|
|
34
34
|
"vite-plugin-externalize-deps": "^0.10.0",
|
|
35
35
|
"vite-tsconfig-paths": "^5.1.4"
|
|
36
36
|
},
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"@annotorious/core": "^3.8.2",
|
|
49
49
|
"@annotorious/react": "^3.8.2",
|
|
50
50
|
"@floating-ui/react": "^0.27.19",
|
|
51
|
-
"@recogito/text-annotator": "4.
|
|
52
|
-
"@recogito/text-annotator-tei": "4.
|
|
51
|
+
"@recogito/text-annotator": "4.2.0",
|
|
52
|
+
"@recogito/text-annotator-tei": "4.2.0",
|
|
53
53
|
"CETEIcean": "^1.9.5",
|
|
54
54
|
"debounce": "^3.0.0"
|
|
55
55
|
}
|