react-iiif-vault 2.0.11 → 2.0.13
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-WI6XIZ2T.js +49 -0
- 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 +8 -8
- 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
- package/dist/chunk-MOYFNKQ7.js +0 -49
package/dist/bundle.d.ts
CHANGED
|
@@ -763,17 +763,18 @@ type CanvasProps = {
|
|
|
763
763
|
Video?: React__default.ComponentType<VideoComponentProps>;
|
|
764
764
|
Audio?: React__default.ComponentType<AudioComponentProps>;
|
|
765
765
|
};
|
|
766
|
+
rotation?: number;
|
|
766
767
|
annotationPopup?: React__default.ReactNode;
|
|
767
768
|
svgTheme?: Partial<SVGTheme>;
|
|
768
769
|
renderAnnotationContextMenu?: (options: RenderContextProps) => React__default.ReactNode;
|
|
769
770
|
};
|
|
770
|
-
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;
|
|
771
|
+
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;
|
|
771
772
|
|
|
772
773
|
declare function CanvasBackground({ style }: {
|
|
773
774
|
style?: BoxStyle;
|
|
774
775
|
}): react_jsx_runtime.JSX.Element | null;
|
|
775
776
|
|
|
776
|
-
declare function RenderImage({ id, image, thumbnail, isStatic, x, y, children, selector, onClick, enableSizes, enableAnnotations, }: {
|
|
777
|
+
declare function RenderImage({ id, image, thumbnail, isStatic, x, y, children, selector, onClick, rotation: _rotation, enableSizes, enableAnnotations, }: {
|
|
777
778
|
id: string;
|
|
778
779
|
image: ImageWithOptionalService;
|
|
779
780
|
thumbnail?: ImageCandidate;
|
|
@@ -785,6 +786,7 @@ declare function RenderImage({ id, image, thumbnail, isStatic, x, y, children, s
|
|
|
785
786
|
y?: number;
|
|
786
787
|
children?: ReactNode;
|
|
787
788
|
onClick?: (e: any) => void;
|
|
789
|
+
rotation?: number;
|
|
788
790
|
}): react_jsx_runtime.JSX.Element;
|
|
789
791
|
|
|
790
792
|
declare function ModelHTML({ model }: {
|
|
@@ -832,6 +834,7 @@ interface CanvasPanelProps {
|
|
|
832
834
|
padding?: AtlasProps['homePaddingPx'];
|
|
833
835
|
height?: number;
|
|
834
836
|
spacing?: number;
|
|
837
|
+
rotation?: number;
|
|
835
838
|
components?: {
|
|
836
839
|
ViewerControls?: FC;
|
|
837
840
|
MediaControls?: FC;
|
|
@@ -968,9 +971,10 @@ interface ImageStrategyProps {
|
|
|
968
971
|
enableSizes?: boolean;
|
|
969
972
|
enableAnnotations?: boolean;
|
|
970
973
|
onClickPaintingAnnotation?: (id: string, image: ImageWithOptionalService, e: any) => void;
|
|
974
|
+
rotation?: number;
|
|
971
975
|
children?: ReactNode;
|
|
972
976
|
}
|
|
973
|
-
declare function RenderImageStrategy({ isStatic, enableSizes, enableAnnotations, onClickPaintingAnnotation, children, }: ImageStrategyProps): react_jsx_runtime.JSX.Element | null;
|
|
977
|
+
declare function RenderImageStrategy({ isStatic, enableSizes, enableAnnotations, onClickPaintingAnnotation, rotation, children, }: ImageStrategyProps): react_jsx_runtime.JSX.Element | null;
|
|
974
978
|
|
|
975
979
|
interface TextualContextStrategyProps {
|
|
976
980
|
onClickPaintingAnnotation?: (id: string, e: any) => void;
|