@internetarchive/bookreader 5.0.0-30-c → 5.0.0-30-d

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetarchive/bookreader",
3
- "version": "5.0.0-30-c",
3
+ "version": "5.0.0-30-d",
4
4
  "description": "The Internet Archive BookReader.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,7 +26,7 @@
26
26
  "private": false,
27
27
  "dependencies": {
28
28
  "@internetarchive/ia-activity-indicator": "^0.0.1",
29
- "@internetarchive/ia-item-navigator": "0.0.4-3",
29
+ "@internetarchive/ia-item-navigator": "^0.0.4-4",
30
30
  "@internetarchive/ia-menu-slider": "^1.1.1",
31
31
  "@internetarchive/ia-sharing-options": "^0.1.4",
32
32
  "@internetarchive/icon-bookmark": "^1.1.3",
@@ -44,7 +44,6 @@ export class Mode1Up {
44
44
  // appended the element to the DOM
45
45
  setTimeout(async () => {
46
46
  if (!this.everShown) {
47
- console.log('!this.everShown', startLeaf);
48
47
  this.mode1UpLit.initFirstRender(startLeaf);
49
48
  this.everShown = true;
50
49
  await this.mode1UpLit.requestUpdate();
@@ -170,7 +170,6 @@ export class Mode1UpLit extends LitElement {
170
170
 
171
171
  /** @override */
172
172
  firstUpdated(changedProps) {
173
- console.log('firstUpdatedfirstUpdatedfirstUpdated');
174
173
  super.firstUpdated(changedProps);
175
174
  this.htmlDimensionsCacher.updateClientSizes();
176
175
  this.smoothZoomer.attach();
@@ -182,7 +181,6 @@ export class Mode1UpLit extends LitElement {
182
181
  initFirstRender(startIndex) {
183
182
  const page = this.book.getPage(startIndex);
184
183
  this.scale = this.computeDefaultScale(page);
185
- console.log('1uplit init first render', page, startIndex);
186
184
  }
187
185
 
188
186
  /** @override */
@@ -325,8 +323,6 @@ export class Mode1UpLit extends LitElement {
325
323
  left: vToW(scrollLeft),
326
324
  width: vToW(clientWidth),
327
325
  };
328
-
329
- console.log('**** updateVisibleRegion this.visibleRegion', this.visibleRegion);
330
326
  }
331
327
 
332
328
  /**
@@ -40,7 +40,6 @@ export class IaBookReader extends LitElement {
40
40
  this.loaded = false;
41
41
  this.menuShortcuts = [];
42
42
  this.menuContents = [];
43
- console.log("ia-bookreader constructor", this);
44
43
  }
45
44
 
46
45
  updated() {
@@ -92,8 +91,6 @@ export class IaBookReader extends LitElement {
92
91
  }
93
92
  }
94
93
 
95
- // LINER NOTES --- iaux.min.js is loading wayy to late for booknav listener, to br. init
96
-
97
94
  render() {
98
95
  return html`
99
96
  <div class="ia-bookreader">
@@ -158,7 +155,7 @@ export class IaBookReader extends LitElement {
158
155
  ia-item-navigator[viewportinfullscreen] {
159
156
  position: fixed;
160
157
  inset: 0;
161
- height: 100vh;
158
+ height: 100%;
162
159
  min-height: unset;
163
160
  }
164
161