@internetarchive/bookreader 5.0.0-52-alpha1 → 5.0.0-53-a1
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/BookReader/BookReader.js +1 -1
- package/BookReader/BookReader.js.map +1 -1
- package/BookReader/ia-bookreader-bundle.js +3 -3
- package/BookReader/ia-bookreader-bundle.js.map +1 -1
- package/package.json +11 -11
- package/src/BookNavigator/bookmarks/bookmarks-provider.js +1 -2
- package/src/BookReader.js +0 -6
- package/src/util/manifestGenerator.js +0 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@internetarchive/bookreader",
|
3
|
-
"version": "5.0.0-
|
3
|
+
"version": "5.0.0-53-a1",
|
4
4
|
"description": "The Internet Archive BookReader.",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -26,16 +26,16 @@
|
|
26
26
|
"private": false,
|
27
27
|
"dependencies": {
|
28
28
|
"@internetarchive/ia-activity-indicator": "^0.0.3",
|
29
|
-
"@internetarchive/ia-item-navigator": "^1.0.
|
30
|
-
"@internetarchive/ia-sharing-options": "^1.0.
|
31
|
-
"@internetarchive/icon-bookmark": "^1.
|
32
|
-
"@internetarchive/icon-dl": "^1.
|
33
|
-
"@internetarchive/icon-edit-pencil": "1.
|
34
|
-
"@internetarchive/icon-magnify-minus": "^1.
|
35
|
-
"@internetarchive/icon-magnify-plus": "^1.
|
36
|
-
"@internetarchive/icon-search": "^1.
|
37
|
-
"@internetarchive/icon-share": "^1.
|
38
|
-
"@internetarchive/icon-visual-adjustment": "^1.
|
29
|
+
"@internetarchive/ia-item-navigator": "^1.0.2-a2",
|
30
|
+
"@internetarchive/ia-sharing-options": "^1.0.2-a1",
|
31
|
+
"@internetarchive/icon-bookmark": "^1.4.0-alpha.0",
|
32
|
+
"@internetarchive/icon-dl": "^1.4.0-alpha.0",
|
33
|
+
"@internetarchive/icon-edit-pencil": "^1.4.0-alpha.0",
|
34
|
+
"@internetarchive/icon-magnify-minus": "^1.4.0-alpha.0",
|
35
|
+
"@internetarchive/icon-magnify-plus": "^1.4.0-alpha.0",
|
36
|
+
"@internetarchive/icon-search": "^1.4.0-alpha.0",
|
37
|
+
"@internetarchive/icon-share": "^1.4.0-alpha.0",
|
38
|
+
"@internetarchive/icon-visual-adjustment": "^1.4.0-alpha.0",
|
39
39
|
"@internetarchive/modal-manager": "^0.2.3",
|
40
40
|
"@internetarchive/shared-resize-observer": "^0.2.0",
|
41
41
|
"lit": "^2.2.2"
|
@@ -5,9 +5,8 @@ import './ia-bookmarks.js';
|
|
5
5
|
|
6
6
|
import './bookmark-edit.js';
|
7
7
|
import './bookmarks-list.js';
|
8
|
-
import
|
8
|
+
import '@internetarchive/icon-bookmark';
|
9
9
|
|
10
|
-
customElements.define('icon-bookmark', IAIconBookmark);
|
11
10
|
|
12
11
|
export default class BookmarksProvider {
|
13
12
|
constructor(options) {
|
package/src/BookReader.js
CHANGED
@@ -1367,7 +1367,6 @@ BookReader.prototype.scrollDown = function() {
|
|
1367
1367
|
if ($.inArray(this.mode, [this.constMode1up, this.constModeThumb]) >= 0) {
|
1368
1368
|
if ( this.mode == this.constMode1up && (this.reduce >= this.onePageGetAutofitHeight()) ) {
|
1369
1369
|
// Whole pages are visible, scroll whole page only
|
1370
|
-
this.trigger('pageChanged');
|
1371
1370
|
return this.next();
|
1372
1371
|
}
|
1373
1372
|
|
@@ -1388,7 +1387,6 @@ BookReader.prototype.scrollUp = function() {
|
|
1388
1387
|
if ($.inArray(this.mode, [this.constMode1up, this.constModeThumb]) >= 0) {
|
1389
1388
|
if ( this.mode == this.constMode1up && (this.reduce >= this.onePageGetAutofitHeight()) ) {
|
1390
1389
|
// Whole pages are visible, scroll whole page only
|
1391
|
-
this.trigger('pageChanged');
|
1392
1390
|
return this.prev();
|
1393
1391
|
}
|
1394
1392
|
|
@@ -1638,10 +1636,6 @@ BookReader.prototype.bindNavigationHandlers = function() {
|
|
1638
1636
|
);
|
1639
1637
|
|
1640
1638
|
this.bindMozTouchHandlers();
|
1641
|
-
|
1642
|
-
$(document).on('BookReader:pageChanged', () => {
|
1643
|
-
console.log('here');
|
1644
|
-
})
|
1645
1639
|
};
|
1646
1640
|
|
1647
1641
|
/**
|
File without changes
|