react-iiif-vault 1.0.3 → 1.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.
@@ -0,0 +1,11 @@
1
+ import { CanvasNormalized } from '@iiif/presentation-3-normalized';
2
+ import { Paintables } from '@iiif/helpers/painting-annotations';
3
+ import { ImageServiceLoaderType } from '../../hooks/useLoadImageService';
4
+ interface GetRenderStrategyOptions {
5
+ canvas: CanvasNormalized | null | undefined;
6
+ paintables: Paintables;
7
+ supports: string[];
8
+ loadImageService: ImageServiceLoaderType;
9
+ }
10
+ export declare function getRenderingStrategy({ canvas, paintables, supports, loadImageService }: GetRenderStrategyOptions): import("./strategies").RenderingStrategy;
11
+ export {};
@@ -16,6 +16,10 @@ export * from './features/rendering-strategy/image-strategy';
16
16
  export * from './features/rendering-strategy/rendering-utils';
17
17
  export * from './features/rendering-strategy/resource-types';
18
18
  export * from './features/rendering-strategy/strategies';
19
+ export * from './features/rendering-strategy/textual-content-strategy';
20
+ export * from './features/rendering-strategy/video-strategy';
21
+ export * from './features/rendering-strategy/3d-strategy';
22
+ export * from './features/rendering-strategy/get-rendering-strategy';
19
23
  export * from './hooks/useAnnotation';
20
24
  export * from './hooks/useAnnotationPage';
21
25
  export * from './hooks/useAnnotationPageManager';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { SimpleViewerContext, SimpleViewerProps } from './SimpleViewerContext.types';
3
3
  export declare const SimpleViewerReactContext: React.Context<SimpleViewerContext>;
4
- export declare function InnerViewerProvider(props: SimpleViewerProps): JSX.Element;
4
+ export declare function InnerViewerProvider(props: SimpleViewerProps): JSX.Element | null;
5
5
  export declare function SimpleViewerProvider(props: SimpleViewerProps): JSX.Element;
6
6
  export declare function useSimpleViewer(): SimpleViewerContext;