@vue-pdf-viewer/shared 1.3.0 → 1.3.1

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 +4 -2
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -175,13 +175,15 @@ export interface AnnotationToolOption {
175
175
  component?: Component;
176
176
  }
177
177
  export interface HighlightToolOption extends AnnotationToolOption {
178
+ colors?: AnnotationHighlightColors;
178
179
  }
179
180
  export interface StrikethroughToolOption extends AnnotationToolOption {
181
+ colors?: AnnotationStrikethroughColors;
180
182
  }
181
183
  export interface UnderlineToolOption extends AnnotationToolOption {
184
+ colors?: AnnotationUnderlineColors;
182
185
  }
183
186
  export interface TextSelectionOption extends AnnotationToolOption {
184
- colors?: AnnotationTextSelectionColors;
185
187
  highlight?: HighlightToolOption | boolean;
186
188
  strikethrough?: StrikethroughToolOption | boolean;
187
189
  underline?: UnderlineToolOption | boolean;
@@ -217,7 +219,7 @@ export type OutlineRef = {
217
219
  num: number;
218
220
  };
219
221
  export type OutlineDestinations = [
220
- OutlineRef | number,
222
+ (OutlineRef | number),
221
223
  OutlineName,
222
224
  ...any[]
223
225
  ];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vue-pdf-viewer/shared",
3
3
  "private": false,
4
- "version": "1.3.0",
4
+ "version": "1.3.1",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",