@internetarchive/bookreader 5.0.0-21 → 5.0.0-24-sortingstate
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/.nvmrc +1 -0
- package/BookReader/BookReader.css +0 -55
- package/BookReader/BookReader.js +32148 -2
- package/BookReader/BookReader.js.map +1 -1
- package/BookReader/bookreader-component-bundle.js +10916 -941
- package/BookReader/bookreader-component-bundle.js.map +1 -1
- package/BookReader/icons/1up.svg +12 -1
- package/BookReader/icons/2up.svg +15 -1
- package/BookReader/icons/advance.svg +26 -3
- package/BookReader/icons/chevron-right.svg +1 -1
- package/BookReader/icons/close-circle-dark.svg +1 -1
- package/BookReader/icons/close-circle.svg +1 -1
- package/BookReader/icons/fullscreen.svg +17 -1
- package/BookReader/icons/fullscreen_exit.svg +17 -1
- package/BookReader/icons/hamburger.svg +15 -1
- package/BookReader/icons/left-arrow.svg +12 -1
- package/BookReader/icons/magnify-minus.svg +16 -1
- package/BookReader/icons/magnify-plus.svg +17 -1
- package/BookReader/icons/magnify.svg +15 -1
- package/BookReader/icons/pause.svg +23 -1
- package/BookReader/icons/play.svg +22 -1
- package/BookReader/icons/playback-speed.svg +34 -1
- package/BookReader/icons/read-aloud.svg +22 -1
- package/BookReader/icons/review.svg +22 -3
- package/BookReader/icons/thumbnails.svg +17 -1
- package/BookReader/icons/voice.svg +1 -1
- package/BookReader/icons/volume-full.svg +22 -1
- package/BookReader/images/BRicons.svg +94 -5
- package/BookReader/images/books_graphic.svg +177 -1
- package/BookReader/images/icon_book.svg +12 -1
- package/BookReader/images/icon_bookmark.svg +12 -1
- package/BookReader/images/icon_gear.svg +14 -1
- package/BookReader/images/icon_hamburger.svg +20 -1
- package/BookReader/images/icon_home.svg +21 -1
- package/BookReader/images/icon_info.svg +11 -1
- package/BookReader/images/icon_one_page.svg +8 -1
- package/BookReader/images/icon_pause.svg +1 -1
- package/BookReader/images/icon_play.svg +1 -1
- package/BookReader/images/icon_playback-rate.svg +15 -1
- package/BookReader/images/icon_search_button.svg +8 -1
- package/BookReader/images/icon_share.svg +9 -1
- package/BookReader/images/icon_skip-ahead.svg +6 -1
- package/BookReader/images/icon_skip-back.svg +13 -2
- package/BookReader/images/icon_speaker.svg +18 -1
- package/BookReader/images/icon_speaker_open.svg +10 -1
- package/BookReader/images/icon_thumbnails.svg +12 -1
- package/BookReader/images/icon_toc.svg +5 -1
- package/BookReader/images/icon_two_pages.svg +9 -1
- package/BookReader/images/marker_chap-off.svg +11 -1
- package/BookReader/images/marker_chap-on.svg +11 -1
- package/BookReader/images/marker_srch-on.svg +11 -1
- package/BookReader/jquery-1.10.1.js +108 -2
- package/BookReader/plugins/plugin.archive_analytics.js +170 -1
- package/BookReader/plugins/plugin.archive_analytics.js.map +1 -1
- package/BookReader/plugins/plugin.autoplay.js +163 -1
- package/BookReader/plugins/plugin.autoplay.js.map +1 -1
- package/BookReader/plugins/plugin.chapters.js +333 -1
- package/BookReader/plugins/plugin.chapters.js.map +1 -1
- package/BookReader/plugins/plugin.iframe.js +72 -1
- package/BookReader/plugins/plugin.iframe.js.map +1 -1
- package/BookReader/plugins/plugin.mobile_nav.js +332 -1
- package/BookReader/plugins/plugin.mobile_nav.js.map +1 -1
- package/BookReader/plugins/plugin.resume.js +241 -1
- package/BookReader/plugins/plugin.resume.js.map +1 -1
- package/BookReader/plugins/plugin.search.js +1263 -1
- package/BookReader/plugins/plugin.search.js.map +1 -1
- package/BookReader/plugins/plugin.text_selection.js +839 -1
- package/BookReader/plugins/plugin.text_selection.js.map +1 -1
- package/BookReader/plugins/plugin.tts.js +9114 -2
- package/BookReader/plugins/plugin.tts.js.map +1 -1
- package/BookReader/plugins/plugin.url.js +750 -1
- package/BookReader/plugins/plugin.url.js.map +1 -1
- package/BookReader/plugins/plugin.vendor-fullscreen.js +326 -1
- package/BookReader/plugins/plugin.vendor-fullscreen.js.map +1 -1
- package/BookReader/webcomponents-bundle.js +411 -2
- package/BookReader/webcomponents-bundle.js.map +1 -1
- package/CHANGELOG.md +12 -0
- package/package.json +2 -6
- package/src/BookNavigator/bookmarks/bookmarks-provider.js +1 -0
- package/src/BookNavigator/bookmarks/ia-bookmarks.js +3 -0
- package/src/BookNavigator/visual-adjustments/visual-adjustments-provider.js +1 -1
- package/src/BookNavigator/volumes/volumes-provider.js +39 -9
- package/src/BookReader/Mode1Up.js +10 -2
- package/src/BookReader/ModeThumb.js +13 -6
- package/src/BookReader/Navbar/Navbar.js +0 -29
- package/src/BookReader/options.js +4 -0
- package/src/BookReader.js +14 -34
- package/src/ItemNavigator/ItemNavigator.js +1 -0
- package/src/css/_BRnav.scss +0 -23
- package/src/plugins/plugin.url.js +209 -2
- package/tests/{BookReader → jest/BookReader}/BookModel.test.js +0 -0
- package/tests/{BookReader → jest/BookReader}/BookReaderPublicFunctions.test.js +0 -0
- package/tests/{BookReader → jest/BookReader}/DebugConsole.test.js +0 -0
- package/tests/{BookReader → jest/BookReader}/ImageCache.test.js +0 -0
- package/tests/{BookReader → jest/BookReader}/Mode1UpLit.test.js +0 -0
- package/tests/{BookReader → jest/BookReader}/Mode2Up.test.js +0 -0
- package/tests/{BookReader → jest/BookReader}/ModeSmoothZoom.test.js +0 -0
- package/tests/jest/BookReader/ModeThumb.test.js +71 -0
- package/tests/{BookReader → jest/BookReader}/Navbar/Navbar.test.js +0 -0
- package/tests/{BookReader → jest/BookReader}/PageContainer.test.js +0 -0
- package/tests/{BookReader → jest/BookReader}/ReduceSet.test.js +0 -0
- package/tests/{BookReader → jest/BookReader}/Toolbar/Toolbar.test.js +0 -0
- package/tests/{BookReader → jest/BookReader}/utils/HTMLDimensionsCacher.test.js +0 -0
- package/tests/{BookReader → jest/BookReader}/utils/classes.test.js +0 -0
- package/tests/{BookReader → jest/BookReader}/utils.test.js +0 -0
- package/tests/{BookReader.options.test.js → jest/BookReader.options.test.js} +8 -0
- package/tests/{BookReader.test.js → jest/BookReader.test.js} +16 -0
- package/tests/{plugins → jest/plugins}/plugin.archive_analytics.test.js +0 -0
- package/tests/{plugins → jest/plugins}/plugin.autoplay.test.js +0 -0
- package/tests/{plugins → jest/plugins}/plugin.chapters.test.js +0 -0
- package/tests/{plugins → jest/plugins}/plugin.iframe.test.js +0 -0
- package/tests/{plugins → jest/plugins}/plugin.mobile_nav.test.js +0 -0
- package/tests/{plugins → jest/plugins}/plugin.resume.test.js +0 -0
- package/tests/{plugins → jest/plugins}/plugin.text_selection.test.js +0 -0
- package/tests/jest/plugins/plugin.url.test.js +306 -0
- package/tests/{plugins → jest/plugins}/plugin.vendor-fullscreen.test.js +0 -0
- package/tests/{plugins → jest/plugins}/search/plugin.search.test.js +0 -0
- package/tests/{plugins → jest/plugins}/search/plugin.search.view.test.js +0 -0
- package/tests/{plugins → jest/plugins}/tts/AbstractTTSEngine.test.js +0 -0
- package/tests/{plugins → jest/plugins}/tts/FestivalTTSEngine.test.js +0 -0
- package/tests/{plugins → jest/plugins}/tts/PageChunk.test.js +0 -0
- package/tests/{plugins → jest/plugins}/tts/PageChunkIterator.test.js +0 -0
- package/tests/{plugins → jest/plugins}/tts/WebTTSEngine.test.js +0 -0
- package/tests/{plugins → jest/plugins}/tts/utils.test.js +0 -0
- package/tests/{util → jest/util}/browserSniffing.test.js +0 -0
- package/tests/{util → jest/util}/docCookies.test.js +0 -0
- package/tests/{util → jest/util}/strings.test.js +0 -0
- package/tests/{utils.js → jest/utils.js} +0 -0
- package/tests/karma/BookNavigator/volumes/volumes-provider.test.js +6 -6
- package/tests/plugins/plugin.url.test.js +0 -147
package/.nvmrc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
14
|
@@ -1077,44 +1077,6 @@ i.BRicon {
|
|
1077
1077
|
.BRReadAloudToolbar .BRnavCntlBtm:hover {
|
1078
1078
|
background-color: #0074D1;
|
1079
1079
|
}
|
1080
|
-
.BRReadAloudToolbar.BRnavEmbed {
|
1081
|
-
background-color: white;
|
1082
|
-
color: black;
|
1083
|
-
}
|
1084
|
-
.BRReadAloudToolbar.BRnavEmbed a {
|
1085
|
-
color: black;
|
1086
|
-
}
|
1087
|
-
.BRReadAloudToolbar.BRnavEmbed .BRpager.ui-slider {
|
1088
|
-
background: #B7B7B7;
|
1089
|
-
}
|
1090
|
-
.BRReadAloudToolbar.BRnavEmbed .BRpager.ui-slider .ui-slider-handle {
|
1091
|
-
background: #0074D1;
|
1092
|
-
}
|
1093
|
-
.BRReadAloudToolbar.BRnavEmbed .BRpager.ui-slider .ui-slider-range {
|
1094
|
-
background: rgba(0, 116, 209, 0.25);
|
1095
|
-
}
|
1096
|
-
.BRReadAloudToolbar.BRnavEmbed .BRpage .BRicon {
|
1097
|
-
border-left: 1px solid #979797;
|
1098
|
-
}
|
1099
|
-
.BRReadAloudToolbar.BRnavEmbed .BRpage .BRicon.activated {
|
1100
|
-
background-color: rgba(0, 116, 209, 0.4);
|
1101
|
-
}
|
1102
|
-
.BRReadAloudToolbar.BRnavEmbed .BRpage .BRicon.activated:before {
|
1103
|
-
content: "";
|
1104
|
-
top: 0;
|
1105
|
-
left: 0;
|
1106
|
-
width: 100%;
|
1107
|
-
height: 100%;
|
1108
|
-
box-sizing: border-box;
|
1109
|
-
display: block;
|
1110
|
-
border: 3px solid rgba(0, 116, 209, 0.3);
|
1111
|
-
}
|
1112
|
-
.BRReadAloudToolbar.BRnavEmbed .BRnavCntl {
|
1113
|
-
background-color: #979797;
|
1114
|
-
}
|
1115
|
-
.BRReadAloudToolbar.BRnavEmbed .BRnavCntlBtm:hover {
|
1116
|
-
background-color: #0074D1;
|
1117
|
-
}
|
1118
1080
|
@media (max-width: 800px) {
|
1119
1081
|
.BRbodyMobileNavEnabled .BRReadAloudToolbar, .BRbodyMobileNavEnabledFullscreen.BRfullscreenActive .BRReadAloudToolbar {
|
1120
1082
|
background-color: white;
|
@@ -1235,23 +1197,6 @@ i.BRicon {
|
|
1235
1197
|
color: white;
|
1236
1198
|
/* Full mobile styles */
|
1237
1199
|
}
|
1238
|
-
.BRnav.BRnavEmbed {
|
1239
|
-
padding-top: 0;
|
1240
|
-
height: auto;
|
1241
|
-
align-items: center;
|
1242
|
-
}
|
1243
|
-
.BRnav.BRnavEmbed .BRembedreturn {
|
1244
|
-
flex: 1 auto;
|
1245
|
-
overflow-x: hidden;
|
1246
|
-
}
|
1247
|
-
.BRnav.BRnavEmbed .logo {
|
1248
|
-
display: inline-block;
|
1249
|
-
width: 25px;
|
1250
|
-
height: 25px;
|
1251
|
-
margin: 0 10px;
|
1252
|
-
background: transparent url(images/icon_home.svg) no-repeat center center;
|
1253
|
-
background-size: contain;
|
1254
|
-
}
|
1255
1200
|
.BRnav a {
|
1256
1201
|
color: white;
|
1257
1202
|
}
|