@zerohive/hive-viewer 2.0.2 → 2.0.4

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.
package/dist/index.d.cts CHANGED
@@ -74,11 +74,13 @@ interface DocumentSurfaceOverlayState {
74
74
  placements: SignaturePlacement[];
75
75
  annotations: AnnotationPlacement[];
76
76
  pendingSignature?: Signature | null;
77
+ pendingSignatureColor?: SignatureInkColor;
77
78
  pendingAnnotation?: boolean;
78
79
  activePlacementId?: string | null;
79
80
  activeAnnotationId?: string | null;
80
81
  placeHint: string;
81
82
  annotationHint: string;
83
+ cancelPlacementLabel: string;
82
84
  annotationPlaceholder: string;
83
85
  signatureAltLabel: string;
84
86
  signatureAltByLabel: string;
@@ -99,6 +101,7 @@ interface DocumentSurfaceOverlayState {
99
101
  onRemoveAnnotation: (id: string) => void;
100
102
  onSelectPlacement: (id: string | null) => void;
101
103
  onSelectAnnotation: (id: string | null) => void;
104
+ onCancelPlacementMode: () => void;
102
105
  }
103
106
  type PageLayout = "single" | "side-by-side";
104
107
  type DocumentMode = "view" | "edit" | "create";
package/dist/index.d.ts CHANGED
@@ -74,11 +74,13 @@ interface DocumentSurfaceOverlayState {
74
74
  placements: SignaturePlacement[];
75
75
  annotations: AnnotationPlacement[];
76
76
  pendingSignature?: Signature | null;
77
+ pendingSignatureColor?: SignatureInkColor;
77
78
  pendingAnnotation?: boolean;
78
79
  activePlacementId?: string | null;
79
80
  activeAnnotationId?: string | null;
80
81
  placeHint: string;
81
82
  annotationHint: string;
83
+ cancelPlacementLabel: string;
82
84
  annotationPlaceholder: string;
83
85
  signatureAltLabel: string;
84
86
  signatureAltByLabel: string;
@@ -99,6 +101,7 @@ interface DocumentSurfaceOverlayState {
99
101
  onRemoveAnnotation: (id: string) => void;
100
102
  onSelectPlacement: (id: string | null) => void;
101
103
  onSelectAnnotation: (id: string | null) => void;
104
+ onCancelPlacementMode: () => void;
102
105
  }
103
106
  type PageLayout = "single" | "side-by-side";
104
107
  type DocumentMode = "view" | "edit" | "create";