@net7/components 4.2.14 → 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.
@@ -58,7 +58,14 @@ export interface TextViewerData {
58
58
  /*
59
59
  * IIIF server endpoint
60
60
  */
61
- facsimile?: any;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@net7/components",
3
- "version": "4.2.14",
3
+ "version": "4.2.15",
4
4
  "dependencies": {
5
5
  "apexcharts": "^3.8.5",
6
6
  "d3": "^7.1.1",
@@ -369,7 +369,7 @@
369
369
  flex: 1 0;
370
370
  }
371
371
  pb-facsimile {
372
- flex: 1 1;
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%;