@annotorious/annotorious
Advanced tools
Comparing version 3.0.18 to 3.0.19
@@ -1,2 +0,2 @@ | ||
import { Annotation, ChangeSet, DrawingStyleExpression, FormatAdapter, UserSelectActionExpression } from '@annotorious/core'; | ||
import { Annotation, DrawingStyleExpression, FormatAdapter, History, UserSelectActionExpression } from '@annotorious/core'; | ||
import { ImageAnnotation } from './model'; | ||
@@ -8,3 +8,3 @@ export interface AnnotoriousOpts<I extends Annotation = ImageAnnotation, E extends unknown = ImageAnnotation> { | ||
drawingMode?: DrawingMode; | ||
initialHistory?: ChangeSet<I>[]; | ||
initialHistory?: History<I>; | ||
modalSelect?: boolean; | ||
@@ -11,0 +11,0 @@ userSelectAction?: UserSelectActionExpression<E>; |
@@ -9,3 +9,3 @@ export * from './annotation'; | ||
export * from './keyboardCommands'; | ||
export type { Annotation, AnnotationBody, AnnotationTarget, Annotator, AnnotatorState, Appearance, AppearanceProvider, ChangeSet, Color, DrawingStyle, Filter, FormatAdapter, HoverState, LifecycleEvents, ParseResult, PresentUser, Selection, SelectionState, Store, StoreChangeEvent, StoreObserver, User, W3CAnnotation, W3CAnnotationBody, W3CAnnotationTarget } from '@annotorious/core'; | ||
export type { Annotation, AnnotationBody, AnnotationTarget, Annotator, AnnotatorState, Appearance, AppearanceProvider, ChangeSet, Color, DrawingStyle, Filter, FormatAdapter, History, HoverState, LifecycleEvents, ParseResult, PresentUser, Selection, SelectionState, Store, StoreChangeEvent, StoreObserver, User, W3CAnnotation, W3CAnnotationBody, W3CAnnotationTarget } from '@annotorious/core'; | ||
export { chainStyles, computeStyle, createBody, defaultColorProvider, UserSelectAction } from '@annotorious/core'; |
{ | ||
"name": "@annotorious/annotorious", | ||
"version": "3.0.18", | ||
"version": "3.0.19", | ||
"description": "Add image annotation functionality to any web page with a few lines of JavaScript", | ||
@@ -49,6 +49,6 @@ "author": "Rainer Simon", | ||
"vite-plugin-dts": "^4.3.0", | ||
"vitest": "^2.1.6" | ||
"vitest": "^2.1.8" | ||
}, | ||
"dependencies": { | ||
"@annotorious/core": "3.0.18", | ||
"@annotorious/core": "3.0.19", | ||
"rbush": "^4.0.1", | ||
@@ -55,0 +55,0 @@ "uuid": "^11.0.3" |
@@ -1,2 +0,2 @@ | ||
import type { Annotation, ChangeSet, DrawingStyleExpression, FormatAdapter, UserSelectActionExpression } from '@annotorious/core'; | ||
import type { Annotation, DrawingStyleExpression, FormatAdapter, History, UserSelectActionExpression } from '@annotorious/core'; | ||
import type { ImageAnnotation } from './model'; | ||
@@ -16,3 +16,3 @@ | ||
initialHistory?: ChangeSet<I>[]; | ||
initialHistory?: History<I>; | ||
@@ -19,0 +19,0 @@ // Modal selection mode WILL NOT CHANGE OR DE-SELECT THE CURRENT SELECTION if another |
@@ -24,2 +24,3 @@ export * from './annotation'; | ||
FormatAdapter, | ||
History, | ||
HoverState, | ||
@@ -26,0 +27,0 @@ LifecycleEvents, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
907840
6350
+ Added@annotorious/core@3.0.19(transitive)
- Removed@annotorious/core@3.0.18(transitive)
Updated@annotorious/core@3.0.19