@vue-pdf-viewer/shared 1.2.0-rc.2 → 1.2.0-rc.3

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 -4
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -152,12 +152,13 @@ export interface LabelValuePair {
152
152
  value: string;
153
153
  }
154
154
  export type AnnotationColors = LabelValuePair[] | string[];
155
+ export type AnnotationColorsLength = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
155
156
  export type AnnotationHighlightColors = (AnnotationColors & {
156
- length: 1 | 2 | 3 | 4 | 5 | 6;
157
- }) | null;
158
- export type AnnotationFreeTextFontColors = (AnnotationColors & {
159
- length: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
157
+ length: AnnotationColorsLength;
160
158
  }) | null;
159
+ export type AnnotationStrikethroughColors = AnnotationHighlightColors;
160
+ export type AnnotationUnderlineColors = AnnotationHighlightColors;
161
+ export type AnnotationFreeTextFontColors = AnnotationHighlightColors;
161
162
  export type VPVEvent = EventAnnotation | EventCore;
162
163
  export interface AnnotationAttachment {
163
164
  content: Uint8Array;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vue-pdf-viewer/shared",
3
3
  "private": false,
4
- "version": "1.2.0-rc.2",
4
+ "version": "1.2.0-rc.3",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",