@samvera/clover-iiif
Advanced tools
Comparing version 1.10.0 to 1.10.1
@@ -207,3 +207,3 @@ /// <reference types="react" /> | ||
}, import("@stitches/react/types/config").DefaultThemeMap, {}>>; | ||
declare const Wrapper: import("@stitches/react/types/styled-component").StyledComponent<"section", {}, { | ||
declare const Wrapper: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, { | ||
xxs: string; | ||
@@ -210,0 +210,0 @@ xs: string; |
@@ -7,2 +7,4 @@ import React from "react"; | ||
ignoreCaptionLabels: string[]; | ||
canvasBackgroundColor: string; | ||
canvasHeight: string; | ||
}; | ||
@@ -9,0 +11,0 @@ interface ViewerContextStore { |
{ | ||
"name": "@samvera/clover-iiif", | ||
"version": "1.10.0", | ||
"version": "1.10.1", | ||
"description": "Viewer for audio, video and image file types driven by a IIIF manifest", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
@@ -187,13 +187,15 @@ <!-- ![image](https://user-images.githubusercontent.com/7376450/154114970-a68a6b14-91b8-48ea-a76a-5d2cd2f342c7.png) --> | ||
| Prop | Type | Required | Default | | ||
| ----------------------------- | ---------- | -------- | ------- | | ||
| `manifestId` | `string` | Yes | | | ||
| `canvasIdCallback` | `function` | No | | | ||
| `customTheme` | `object` | No | | | ||
| `options` | `object` | No | | | ||
| `options.showTitle` | `boolean` | No | true | | ||
| `options.showIIIFBadge` | `boolean` | No | true | | ||
| `options.ignoreCaptionLabels` | `string[]` | No | [] | | ||
| Prop | Type | Required | Default | | ||
| ------------------------------- | ---------- | -------- | --------- | | ||
| `manifestId` | `string` | Yes | | | ||
| `canvasIdCallback` | `function` | No | | | ||
| `customTheme` | `object` | No | | | ||
| `options` | `object` | No | | | ||
| `options.showTitle` | `boolean` | No | true | | ||
| `options.showIIIFBadge` | `boolean` | No | true | | ||
| `options.ignoreCaptionLabels` | `string[]` | No | [] | | ||
| `options.canvasBackgroundColor` | `string` | No | `#1a1d1e` | | ||
| `options.canvasHeight` | `string` | No | `500px` | | ||
Clover IIIF version 1.4.0, introduces an `options` prop, which will serve as a configuration object for common configuration options. | ||
Clover IIIF version 1.4.0, introduces an `options` prop, which will serve as a configuration object for common configuration options. Options `canvasBackgroundColor` and `canvasHeight` will apply to both `<video>` elements and the OpenseaDragon canvas. | ||
@@ -200,0 +202,0 @@ ```jsx |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
857358
2466
280