Socket
Socket
Sign inDemoInstall

@samvera/clover-iiif

Package Overview
Dependencies
Maintainers
4
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@samvera/clover-iiif - npm Package Compare versions

Comparing version 1.10.0 to 1.10.1

2

dist/components/Viewer/Viewer.styled.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc