@vue-pdf-viewer/shared 1.4.0-beta.7 → 1.4.0-beta.8

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 (2) hide show
  1. package/dist/types.d.ts +5 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -193,6 +193,11 @@ export interface FreeTextOption extends AnnotationToolOption {
193
193
  fontColors?: AnnotationFreeTextFontColors;
194
194
  fontSizes?: number[];
195
195
  }
196
+ /**
197
+ * Image option for image annotation
198
+ * @param maxSize - The maximum size of the image in bytes or a string with a unit (e.g. "1MB", "1000000", "1000000B"). Default is 1MB.
199
+ * @param types - The types of the image (default: [ImageType.APNG, ImageType.AVIF, ImageType.BMP, ImageType.GIF, ImageType.ICON, ImageType.JPEG, ImageType.PNG, ImageType.SVG, ImageType.WEBP])
200
+ */
196
201
  export interface ImageOption extends AnnotationToolOption {
197
202
  maxSize?: number | string;
198
203
  types?: ImageType[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vue-pdf-viewer/shared",
3
3
  "private": false,
4
- "version": "1.4.0-beta.7",
4
+ "version": "1.4.0-beta.8",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",