@cu-mkp/editioncrafter 1.3.1-beta.8 → 1.3.1-beta.9
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/dist/editioncrafter.js +349 -342
- package/dist/es/src/EditionCrafter/action/DocumentActions.js +1 -0
- package/dist/es/src/EditionCrafter/component/ImageMetadata.js +13 -0
- package/dist/es/src/EditionCrafter/component/ImageView.js +6 -0
- package/dist/es/src/EditionCrafter/scss/_imageMetadata.scss +16 -0
- package/dist/es/src/EditionCrafter/scss/editioncrafter.scss +1 -0
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
useSearchParams,
|
|
11
11
|
} from 'react-router-dom'
|
|
12
12
|
import TagFilterContext from '../context/TagFilterContext'
|
|
13
|
+
import ImageMetadata from './ImageMetadata'
|
|
13
14
|
import ImageZoomControl from './ImageZoomControl'
|
|
14
15
|
import Navigation from './Navigation'
|
|
15
16
|
|
|
@@ -187,6 +188,11 @@ function ImageView(props) {
|
|
|
187
188
|
initViewer={initViewer}
|
|
188
189
|
loading={folio.loading}
|
|
189
190
|
/>
|
|
191
|
+
{
|
|
192
|
+
folio.metadata && (
|
|
193
|
+
<ImageMetadata data={folio.metadata} />
|
|
194
|
+
)
|
|
195
|
+
}
|
|
190
196
|
</div>
|
|
191
197
|
)
|
|
192
198
|
: (
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.editioncrafter {
|
|
2
|
+
|
|
3
|
+
.image-metadata {
|
|
4
|
+
position: absolute;
|
|
5
|
+
bottom: 8px;
|
|
6
|
+
left: 8px;
|
|
7
|
+
background-color: rgba(128, 128, 128, 0.5);
|
|
8
|
+
color: white;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: row;
|
|
11
|
+
gap: 16px;
|
|
12
|
+
flex-wrap: wrap;
|
|
13
|
+
padding: 4px 6px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
}
|