react-iiif-vault 2.0.11 → 2.0.12
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/bundle.d.ts +7 -3
- package/dist/bundle.global.js +52 -46
- package/dist/canvas-panel.cjs +6 -6
- package/dist/canvas-panel.d.cts +1 -1
- package/dist/canvas-panel.d.ts +1 -1
- package/dist/canvas-panel.js +1 -1
- package/dist/{chunk-MOYFNKQ7.js → chunk-5EBWATUV.js} +6 -6
- package/dist/{index-BAwkF_tl.d.cts → index-DHghDluJ.d.cts} +5 -2
- package/dist/{index-C3XrwwYg.d.ts → index-DijgVxjb.d.ts} +5 -2
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +1 -1
- package/package.json +2 -1
|
@@ -558,17 +558,18 @@ type CanvasProps = {
|
|
|
558
558
|
Video?: React__default.ComponentType<VideoComponentProps>;
|
|
559
559
|
Audio?: React__default.ComponentType<AudioComponentProps>;
|
|
560
560
|
};
|
|
561
|
+
rotation?: number;
|
|
561
562
|
annotationPopup?: React__default.ReactNode;
|
|
562
563
|
svgTheme?: Partial<SVGTheme>;
|
|
563
564
|
renderAnnotationContextMenu?: (options: RenderContextProps) => React__default.ReactNode;
|
|
564
565
|
};
|
|
565
|
-
declare function RenderCanvas({ x, y, onChoiceChange, registerActions, defaultChoices, isStatic, renderViewerControls, renderMediaControls, renderComplexTimelineControls, complexTimelineControlsDeps, viewControlsDeps, mediaControlsDeps, strategies, throwOnUnknown, backgroundStyle, alwaysShowBackground, keepCanvasScale, enableSizes, enableYouTube, onClickPaintingAnnotation, components, children, annotationPopup, svgTheme, renderContextMenu, renderAnnotationContextMenu, }: CanvasProps): react_jsx_runtime.JSX.Element;
|
|
566
|
+
declare function RenderCanvas({ x, y, onChoiceChange, registerActions, defaultChoices, isStatic, renderViewerControls, renderMediaControls, renderComplexTimelineControls, complexTimelineControlsDeps, viewControlsDeps, mediaControlsDeps, strategies, throwOnUnknown, rotation, backgroundStyle, alwaysShowBackground, keepCanvasScale, enableSizes, enableYouTube, onClickPaintingAnnotation, components, children, annotationPopup, svgTheme, renderContextMenu, renderAnnotationContextMenu, }: CanvasProps): react_jsx_runtime.JSX.Element;
|
|
566
567
|
|
|
567
568
|
declare function CanvasBackground({ style }: {
|
|
568
569
|
style?: BoxStyle;
|
|
569
570
|
}): react_jsx_runtime.JSX.Element | null;
|
|
570
571
|
|
|
571
|
-
declare function RenderImage({ id, image, thumbnail, isStatic, x, y, children, selector, onClick, enableSizes, enableAnnotations, }: {
|
|
572
|
+
declare function RenderImage({ id, image, thumbnail, isStatic, x, y, children, selector, onClick, rotation: _rotation, enableSizes, enableAnnotations, }: {
|
|
572
573
|
id: string;
|
|
573
574
|
image: ImageWithOptionalService;
|
|
574
575
|
thumbnail?: ImageCandidate;
|
|
@@ -580,6 +581,7 @@ declare function RenderImage({ id, image, thumbnail, isStatic, x, y, children, s
|
|
|
580
581
|
y?: number;
|
|
581
582
|
children?: ReactNode;
|
|
582
583
|
onClick?: (e: any) => void;
|
|
584
|
+
rotation?: number;
|
|
583
585
|
}): react_jsx_runtime.JSX.Element;
|
|
584
586
|
|
|
585
587
|
declare function ModelHTML({ model }: {
|
|
@@ -627,6 +629,7 @@ interface CanvasPanelProps {
|
|
|
627
629
|
padding?: AtlasProps['homePaddingPx'];
|
|
628
630
|
height?: number;
|
|
629
631
|
spacing?: number;
|
|
632
|
+
rotation?: number;
|
|
630
633
|
components?: {
|
|
631
634
|
ViewerControls?: FC;
|
|
632
635
|
MediaControls?: FC;
|