@canopy-iiif/app 1.7.0 → 1.8.0
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/lib/build/dev.js +12 -2
- package/lib/build/styles.js +11 -1
- package/package.json +1 -1
- package/ui/dist/index.mjs +9 -0
- package/ui/dist/index.mjs.map +2 -2
- package/ui/dist/server.mjs +9 -0
- package/ui/dist/server.mjs.map +2 -2
- package/ui/styles/components/_gallery.scss +63 -14
- package/ui/styles/index.css +58 -14
package/ui/dist/server.mjs
CHANGED
|
@@ -5147,6 +5147,13 @@ function GalleryFigure({ item }) {
|
|
|
5147
5147
|
)
|
|
5148
5148
|
);
|
|
5149
5149
|
}
|
|
5150
|
+
function GalleryContent({ children, flex = false }) {
|
|
5151
|
+
const contentClassName = [
|
|
5152
|
+
"canopy-gallery-item__content",
|
|
5153
|
+
flex ? "canopy-gallery-item__content_flex" : null
|
|
5154
|
+
].filter(Boolean).join(" ");
|
|
5155
|
+
return /* @__PURE__ */ React36.createElement("div", { className: contentClassName }, children);
|
|
5156
|
+
}
|
|
5150
5157
|
function GalleryItem() {
|
|
5151
5158
|
return null;
|
|
5152
5159
|
}
|
|
@@ -5212,6 +5219,7 @@ function Gallery({
|
|
|
5212
5219
|
));
|
|
5213
5220
|
}
|
|
5214
5221
|
Gallery.Item = GalleryItem;
|
|
5222
|
+
Gallery.Content = GalleryContent;
|
|
5215
5223
|
|
|
5216
5224
|
// ui/src/search/MdxSearchResults.jsx
|
|
5217
5225
|
import React37 from "react";
|
|
@@ -9985,6 +9993,7 @@ export {
|
|
|
9985
9993
|
DocsCodeBlock,
|
|
9986
9994
|
MarkdownTable as DocsMarkdownTable,
|
|
9987
9995
|
Gallery,
|
|
9996
|
+
GalleryContent,
|
|
9988
9997
|
GalleryItem,
|
|
9989
9998
|
GoogleAnalytics,
|
|
9990
9999
|
HelloWorld,
|