@annotorious/openseadragon 3.0.2 → 3.0.4

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,9 +1,5 @@
1
- import { createBody as _createBody, defaultColorProvider as _defaultColorProvider, UserSelectAction as _UserSelectAction } from '@annotorious/core';
2
- import { ShapeType as _ShapeType } from '@annotorious/annotorious';
3
1
  export * from './Annotorious';
4
2
  export type { Annotation, AnnotationBody, AnnotationState, AnnotationTarget, Annotator, AnnotatorState, Color, DrawingStyle, DrawingStyleExpression, FormatAdapter, HoverState, Selection, SelectionState, Store, StoreChangeEvent, StoreObserver, ParseResult, User, W3CAnnotation, W3CAnnotationBody, W3CAnnotationTarget } from '@annotorious/core';
5
- export { _createBody as createBody, _defaultColorProvider as defaultColorProvider, _UserSelectAction as UserSelectAction };
3
+ export { createBody, defaultColorProvider, UserSelectAction } from '@annotorious/core';
6
4
  export type { AnnotoriousOpts, DrawingMode, DrawingTool, FragmentSelector, ImageAnnotator as AnnotoriousImageAnnotator, ImageAnnotation, ImageAnnotator, ImageAnnotatorState, Polygon, PolygonGeometry, Rectangle, RectangleGeometry, Shape, SVGSelector, W3CImageAnnotation, W3CImageAnnotationTarget, W3CImageFormatAdapter, W3CImageFormatAdapterOpts } from '@annotorious/annotorious';
7
- export declare const createImageAnnotator: <I extends import('@annotorious/core').Annotation = import('@annotorious/annotorious').ImageAnnotation, E extends unknown = import('@annotorious/annotorious').ImageAnnotation>(image: string | HTMLImageElement | HTMLCanvasElement, options?: import('@annotorious/annotorious').AnnotoriousOpts<I, E>) => import('@annotorious/annotorious').ImageAnnotator<I, E>;
8
- export declare const ShapeType: typeof _ShapeType;
9
- export declare const W3CImageFormat: (source: string, opts?: import('@annotorious/annotorious').W3CImageFormatAdapterOpts) => import('@annotorious/annotorious').W3CImageFormatAdapter;
5
+ export { createImageAnnotator, ShapeType, W3CImageFormat } from '@annotorious/annotorious';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annotorious/openseadragon",
3
- "version": "3.0.2",
3
+ "version": "3.0.4",
4
4
  "description": "Annotorious for OpenSeadragon",
5
5
  "author": "Rainer Simon",
6
6
  "license": "BSD-3-Clause",
@@ -43,14 +43,14 @@
43
43
  "svelte-preprocess": "^6.0.2",
44
44
  "typescript": "5.5.4",
45
45
  "vite": "^5.4.2",
46
- "vite-plugin-dts": "^4.0.3"
46
+ "vite-plugin-dts": "^4.1.0"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "openseadragon": "^3.0.0 || ^4.0.0 || ^5.0.0"
50
50
  },
51
51
  "dependencies": {
52
- "@annotorious/core": "3.0.2",
53
- "@annotorious/annotorious": "3.0.2",
52
+ "@annotorious/core": "3.0.4",
53
+ "@annotorious/annotorious": "3.0.4",
54
54
  "pixi.js": "^7.4.2",
55
55
  "uuid": "^10.0.0"
56
56
  }