@internetarchive/bookreader 5.0.0-40 → 5.0.0-40-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.css +6 -39
- package/BookReader/BookReader.js +1 -1
- package/BookReader/BookReader.js.map +1 -1
- package/BookReader/ia-bookreader-bundle.js +185 -55
- package/BookReader/ia-bookreader-bundle.js.LICENSE.txt +25 -0
- package/BookReader/ia-bookreader-bundle.js.map +1 -1
- package/BookReader/plugins/plugin.search.js +1 -1
- package/BookReader/plugins/plugin.search.js.map +1 -1
- package/BookReader/plugins/plugin.tts.js +1 -1
- package/BookReader/plugins/plugin.tts.js.map +1 -1
- package/CHANGELOG.md +0 -5
- package/package.json +2 -2
- package/src/BookNavigator/search/search-provider.js +8 -6
- package/src/BookReader/PageContainer.js +2 -14
- package/src/BookReader/utils.js +0 -24
- package/src/BookReader.js +4 -2
- package/src/css/_BRsearch.scss +5 -18
- package/src/plugins/search/plugin.search.js +14 -60
- package/src/plugins/search/view.js +7 -1
- package/src/plugins/tts/FestivalTTSEngine.js +1 -1
- package/src/plugins/tts/WebTTSEngine.js +1 -2
- package/src/plugins/tts/utils.js +9 -0
- package/tests/jest/BookReader/BookReaderPublicFunctions.test.js +1 -1
- package/tests/jest/BookReader/PageContainer.test.js +0 -9
- package/tests/jest/BookReader/utils.test.js +0 -50
- package/tests/jest/plugins/tts/utils.test.js +25 -0
- package/tests/karma/BookNavigator/search/search-provider.test.js +17 -0
@@ -1494,42 +1494,9 @@ i.BRicon {
|
|
1494
1494
|
pointer-events: none;
|
1495
1495
|
}
|
1496
1496
|
.BookReader .searchHiliteLayer rect, .BookReader .ttsHiliteLayer rect, .BRmobileMenu .searchHiliteLayer rect, .BRmobileMenu .ttsHiliteLayer rect, .BRfloat .searchHiliteLayer rect, .BRfloat .ttsHiliteLayer rect {
|
1497
|
-
fill:
|
1498
|
-
|
1499
|
-
|
1500
|
-
animation: highlightFocus 600ms 1 reverse;
|
1501
|
-
stroke: blue;
|
1502
|
-
stroke-width: 4px;
|
1503
|
-
}
|
1504
|
-
.BookReader .searchHiliteLayer rect:nth-child(1), .BRmobileMenu .searchHiliteLayer rect:nth-child(1), .BRfloat .searchHiliteLayer rect:nth-child(1) {
|
1505
|
-
animation-delay: 0ms;
|
1506
|
-
}
|
1507
|
-
.BookReader .searchHiliteLayer rect:nth-child(2), .BRmobileMenu .searchHiliteLayer rect:nth-child(2), .BRfloat .searchHiliteLayer rect:nth-child(2) {
|
1508
|
-
animation-delay: 50ms;
|
1509
|
-
}
|
1510
|
-
.BookReader .searchHiliteLayer rect:nth-child(3), .BRmobileMenu .searchHiliteLayer rect:nth-child(3), .BRfloat .searchHiliteLayer rect:nth-child(3) {
|
1511
|
-
animation-delay: 100ms;
|
1512
|
-
}
|
1513
|
-
.BookReader .searchHiliteLayer rect:nth-child(4), .BRmobileMenu .searchHiliteLayer rect:nth-child(4), .BRfloat .searchHiliteLayer rect:nth-child(4) {
|
1514
|
-
animation-delay: 150ms;
|
1515
|
-
}
|
1516
|
-
.BookReader .searchHiliteLayer rect:nth-child(5), .BRmobileMenu .searchHiliteLayer rect:nth-child(5), .BRfloat .searchHiliteLayer rect:nth-child(5) {
|
1517
|
-
animation-delay: 200ms;
|
1518
|
-
}
|
1519
|
-
.BookReader .searchHiliteLayer rect:nth-child(6), .BRmobileMenu .searchHiliteLayer rect:nth-child(6), .BRfloat .searchHiliteLayer rect:nth-child(6) {
|
1520
|
-
animation-delay: 250ms;
|
1521
|
-
}
|
1522
|
-
.BookReader .searchHiliteLayer rect:nth-child(7), .BRmobileMenu .searchHiliteLayer rect:nth-child(7), .BRfloat .searchHiliteLayer rect:nth-child(7) {
|
1523
|
-
animation-delay: 300ms;
|
1524
|
-
}
|
1525
|
-
.BookReader .searchHiliteLayer rect:nth-child(8), .BRmobileMenu .searchHiliteLayer rect:nth-child(8), .BRfloat .searchHiliteLayer rect:nth-child(8) {
|
1526
|
-
animation-delay: 350ms;
|
1527
|
-
}
|
1528
|
-
.BookReader .searchHiliteLayer rect:nth-child(9), .BRmobileMenu .searchHiliteLayer rect:nth-child(9), .BRfloat .searchHiliteLayer rect:nth-child(9) {
|
1529
|
-
animation-delay: 400ms;
|
1530
|
-
}
|
1531
|
-
.BookReader .searchHiliteLayer rect:nth-child(10), .BRmobileMenu .searchHiliteLayer rect:nth-child(10), .BRfloat .searchHiliteLayer rect:nth-child(10) {
|
1532
|
-
animation-delay: 450ms;
|
1497
|
+
fill: #0000ff;
|
1498
|
+
fill-opacity: 0.2;
|
1499
|
+
animation: hiliteFadeIn 0.2s;
|
1533
1500
|
}
|
1534
1501
|
.BookReader .BRchapter, .BookReader .BRsearch, .BRmobileMenu .BRchapter, .BRmobileMenu .BRsearch, .BRfloat .BRchapter, .BRfloat .BRsearch {
|
1535
1502
|
position: absolute;
|
@@ -1681,9 +1648,9 @@ i.BRicon {
|
|
1681
1648
|
display: none;
|
1682
1649
|
}
|
1683
1650
|
|
1684
|
-
@keyframes
|
1685
|
-
|
1686
|
-
|
1651
|
+
@keyframes hiliteFadeIn {
|
1652
|
+
from {
|
1653
|
+
fill-opacity: 0;
|
1687
1654
|
}
|
1688
1655
|
}
|
1689
1656
|
/* Mid size breakpoint */
|