@vue-pdf-viewer/shared 0.0.0-experimental.20 → 0.0.0-experimental.23

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.
@@ -4,7 +4,7 @@ export declare enum EventAnnotation {
4
4
  signature = "vpv:annotation:signature",
5
5
  image = "vpv:annotation:image"
6
6
  }
7
- export declare enum HighlightColor {
7
+ export declare enum DefaultHighlightColor {
8
8
  Purple = "#7862FF",
9
9
  Cyan = "#3FE9E3",
10
10
  Red = "#F87777",
@@ -5,12 +5,12 @@ export var EventAnnotation;
5
5
  EventAnnotation["signature"] = "vpv:annotation:signature";
6
6
  EventAnnotation["image"] = "vpv:annotation:image";
7
7
  })(EventAnnotation || (EventAnnotation = {}));
8
- export var HighlightColor;
9
- (function (HighlightColor) {
10
- HighlightColor["Purple"] = "#7862FF";
11
- HighlightColor["Cyan"] = "#3FE9E3";
12
- HighlightColor["Red"] = "#F87777";
13
- HighlightColor["Orange"] = "#FE9639";
14
- HighlightColor["Yellow"] = "#FBDA15";
15
- HighlightColor["Green"] = "#88F526";
16
- })(HighlightColor || (HighlightColor = {}));
8
+ export var DefaultHighlightColor;
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";
16
+ })(DefaultHighlightColor || (DefaultHighlightColor = {}));
package/dist/types.d.ts CHANGED
@@ -125,3 +125,5 @@ export interface Plugin {
125
125
  name: string;
126
126
  setup: (ctx: PluginContext) => void;
127
127
  }
128
+ export type HighlightColors = [string, string, string, string, string, string];
129
+ export type AnnotationHighlightColors = HighlightColors | null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vue-pdf-viewer/shared",
3
3
  "private": false,
4
- "version": "0.0.0-experimental.20",
4
+ "version": "0.0.0-experimental.23",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",