@canopy-iiif/app 1.9.6 → 1.9.7
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/package.json +1 -1
- package/ui/dist/index.mjs +8 -1
- package/ui/dist/index.mjs.map +2 -2
- package/ui/dist/server.mjs +8 -1
- package/ui/dist/server.mjs.map +2 -2
package/ui/dist/server.mjs
CHANGED
|
@@ -523,6 +523,7 @@ function resolveViewerConfig(element, props) {
|
|
|
523
523
|
const sanitized = sanitizeImageStoryProps(props);
|
|
524
524
|
const viewerOptions = sanitized.viewerOptions && typeof sanitized.viewerOptions === "object" ? sanitized.viewerOptions : {};
|
|
525
525
|
const config = { ...viewerOptions, container: element };
|
|
526
|
+
config.showCreditSlide = false;
|
|
526
527
|
if (sanitized.iiifContent) {
|
|
527
528
|
config.manifestUrl = withBasePath(sanitized.iiifContent);
|
|
528
529
|
}
|
|
@@ -643,7 +644,13 @@ var ImageStory = (props = {}) => {
|
|
|
643
644
|
},
|
|
644
645
|
...rest
|
|
645
646
|
},
|
|
646
|
-
/* @__PURE__ */ React6.createElement(
|
|
647
|
+
/* @__PURE__ */ React6.createElement(
|
|
648
|
+
"script",
|
|
649
|
+
{
|
|
650
|
+
type: "application/json",
|
|
651
|
+
dangerouslySetInnerHTML: { __html: serializedProps }
|
|
652
|
+
}
|
|
653
|
+
)
|
|
647
654
|
);
|
|
648
655
|
};
|
|
649
656
|
|