@vue-pdf-viewer/shared 1.0.0-alpha.3 → 1.0.0-alpha.5

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.
@@ -5,10 +5,10 @@ export declare enum EventAnnotation {
5
5
  image = "vpv:annotation:image"
6
6
  }
7
7
  export declare enum DefaultHighlightColor {
8
- Purple = "#7862FF",
9
- Cyan = "#3FE9E3",
10
- Red = "#F87777",
11
- Orange = "#FE9639",
12
- Yellow = "#FBDA15",
13
- Green = "#88F526"
8
+ Purple = "#CAAAFF",
9
+ Cyan = "#65EDE9",
10
+ Red = "#FFACAC",
11
+ Orange = "#FFBD82",
12
+ Yellow = "#FCE244",
13
+ Green = "#A0F751"
14
14
  }
@@ -7,10 +7,10 @@ export var EventAnnotation;
7
7
  })(EventAnnotation || (EventAnnotation = {}));
8
8
  export var DefaultHighlightColor;
9
9
  (function (DefaultHighlightColor) {
10
- DefaultHighlightColor["Purple"] = "#7862FF";
11
- DefaultHighlightColor["Cyan"] = "#3FE9E3";
12
- DefaultHighlightColor["Red"] = "#F87777";
13
- DefaultHighlightColor["Orange"] = "#FE9639";
14
- DefaultHighlightColor["Yellow"] = "#FBDA15";
15
- DefaultHighlightColor["Green"] = "#88F526";
10
+ DefaultHighlightColor["Purple"] = "#CAAAFF";
11
+ DefaultHighlightColor["Cyan"] = "#65EDE9";
12
+ DefaultHighlightColor["Red"] = "#FFACAC";
13
+ DefaultHighlightColor["Orange"] = "#FFBD82";
14
+ DefaultHighlightColor["Yellow"] = "#FCE244";
15
+ DefaultHighlightColor["Green"] = "#A0F751";
16
16
  })(DefaultHighlightColor || (DefaultHighlightColor = {}));
package/dist/types.d.ts CHANGED
@@ -128,5 +128,11 @@ export interface Plugin {
128
128
  name: string;
129
129
  setup: (ctx: PluginContext) => void;
130
130
  }
131
- export type HighlightColors = [string, string, string, string, string, string];
131
+ export type HighlightColors = string[] & {
132
+ length: 1 | 2 | 3 | 4 | 5 | 6;
133
+ };
132
134
  export type AnnotationHighlightColors = HighlightColors | null;
135
+ export type FreeTextFontColors = string[] & {
136
+ length: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
137
+ };
138
+ export type AnnotationFreeTextFontColors = FreeTextFontColors | null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vue-pdf-viewer/shared",
3
3
  "private": false,
4
- "version": "1.0.0-alpha.3",
4
+ "version": "1.0.0-alpha.5",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",