@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/package.json
CHANGED
package/ui/dist/index.mjs
CHANGED
|
@@ -45183,6 +45183,7 @@ function resolveViewerConfig(element, props) {
|
|
|
45183
45183
|
const sanitized = sanitizeImageStoryProps(props);
|
|
45184
45184
|
const viewerOptions = sanitized.viewerOptions && typeof sanitized.viewerOptions === "object" ? sanitized.viewerOptions : {};
|
|
45185
45185
|
const config = { ...viewerOptions, container: element };
|
|
45186
|
+
config.showCreditSlide = false;
|
|
45186
45187
|
if (sanitized.iiifContent) {
|
|
45187
45188
|
config.manifestUrl = withBasePath2(sanitized.iiifContent);
|
|
45188
45189
|
}
|
|
@@ -45303,7 +45304,13 @@ var ImageStory = (props = {}) => {
|
|
|
45303
45304
|
},
|
|
45304
45305
|
...rest
|
|
45305
45306
|
},
|
|
45306
|
-
/* @__PURE__ */ React26.createElement(
|
|
45307
|
+
/* @__PURE__ */ React26.createElement(
|
|
45308
|
+
"script",
|
|
45309
|
+
{
|
|
45310
|
+
type: "application/json",
|
|
45311
|
+
dangerouslySetInnerHTML: { __html: serializedProps }
|
|
45312
|
+
}
|
|
45313
|
+
)
|
|
45307
45314
|
);
|
|
45308
45315
|
};
|
|
45309
45316
|
|