@net7/components 4.2.13 → 4.2.15
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/esm2022/lib/components/facet-year-range/facet-year-range.mjs +2 -2
- package/esm2022/lib/components/facet-year-range/facet-year-range.mock.mjs +3 -3
- package/esm2022/lib/components/text-viewer/text-viewer.mjs +5 -4
- package/esm2022/lib/components/text-viewer/text-viewer.mock.mjs +12 -7
- package/fesm2022/net7-components.mjs +18 -12
- package/fesm2022/net7-components.mjs.map +1 -1
- package/lib/components/text-viewer/text-viewer.d.ts +8 -1
- package/package.json +1 -1
- package/src/lib/styles/components/_text-viewer.scss +10 -3
|
@@ -58,7 +58,14 @@ export interface TextViewerData {
|
|
|
58
58
|
/*
|
|
59
59
|
* IIIF server endpoint
|
|
60
60
|
*/
|
|
61
|
-
facsimile?:
|
|
61
|
+
facsimile?: {
|
|
62
|
+
uri: string;
|
|
63
|
+
scans?: [];
|
|
64
|
+
options?: {
|
|
65
|
+
showHomeControl?: boolean;
|
|
66
|
+
showFullPageControl?: boolean;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
62
69
|
/**
|
|
63
70
|
* additional html classes
|
|
64
71
|
*/
|
package/package.json
CHANGED
|
@@ -369,7 +369,7 @@
|
|
|
369
369
|
flex: 1 0;
|
|
370
370
|
}
|
|
371
371
|
pb-facsimile {
|
|
372
|
-
flex:
|
|
372
|
+
flex: auto;
|
|
373
373
|
max-width: 50vw;
|
|
374
374
|
|
|
375
375
|
--pb-facsimile-height: 100%;
|
|
@@ -391,17 +391,24 @@
|
|
|
391
391
|
max-width: 60vw;
|
|
392
392
|
margin: 0 16px;
|
|
393
393
|
max-height: var(--pb-view-height);
|
|
394
|
-
overflow: auto;
|
|
395
394
|
}
|
|
396
395
|
|
|
397
396
|
//
|
|
398
397
|
.content-body {
|
|
399
398
|
position: relative;
|
|
400
399
|
display: flex;
|
|
401
|
-
justify-content: center;
|
|
402
400
|
padding: 0 20px;
|
|
403
401
|
z-index: -1;
|
|
402
|
+
|
|
403
|
+
.n7-text-viewer__docs-container {
|
|
404
|
+
display: flex;
|
|
405
|
+
flex: 2;
|
|
406
|
+
position: relative;
|
|
407
|
+
overflow: auto;
|
|
408
|
+
justify-content: center;
|
|
409
|
+
}
|
|
404
410
|
}
|
|
411
|
+
|
|
405
412
|
.content-body pb-navigation {
|
|
406
413
|
position: fixed;
|
|
407
414
|
bottom: 45%;
|