react-iiif-vault 2.0.10 → 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 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;