@internetarchive/bookreader 5.0.0-80 → 5.0.0-81

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.
Files changed (52) hide show
  1. package/BookReader/BookReader.js +1 -1
  2. package/BookReader/BookReader.js.map +1 -1
  3. package/BookReader/ia-bookreader-bundle.js +103 -103
  4. package/BookReader/ia-bookreader-bundle.js.map +1 -1
  5. package/BookReader/icons/chevron-right.svg +1 -1
  6. package/BookReader/icons/magnify-minus.svg +1 -1
  7. package/BookReader/icons/magnify-plus.svg +1 -1
  8. package/BookReader/icons/pause.svg +1 -1
  9. package/BookReader/icons/playback-speed.svg +1 -1
  10. package/BookReader/icons/read-aloud.svg +1 -1
  11. package/BookReader/icons/voice.svg +1 -1
  12. package/BookReader/icons/volume-full.svg +1 -1
  13. package/BookReader/images/BRicons.svg +2 -2
  14. package/BookReader/images/books_graphic.svg +1 -1
  15. package/BookReader/images/icon_book.svg +1 -1
  16. package/BookReader/images/icon_gear.svg +1 -1
  17. package/BookReader/images/icon_home.svg +1 -1
  18. package/BookReader/images/icon_info.svg +1 -1
  19. package/BookReader/images/icon_playback-rate.svg +1 -1
  20. package/BookReader/images/icon_search_button.svg +1 -1
  21. package/BookReader/images/icon_share.svg +1 -1
  22. package/BookReader/images/icon_speaker.svg +1 -1
  23. package/BookReader/images/icon_speaker_open.svg +1 -1
  24. package/BookReader/images/icon_toc.svg +1 -1
  25. package/BookReader/jquery-3.js +1 -1
  26. package/BookReader/plugins/plugin.archive_analytics.js +1 -1
  27. package/BookReader/plugins/plugin.autoplay.js +1 -1
  28. package/BookReader/plugins/plugin.autoplay.js.map +1 -1
  29. package/BookReader/plugins/plugin.chapters.js +3 -3
  30. package/BookReader/plugins/plugin.chapters.js.map +1 -1
  31. package/BookReader/plugins/plugin.iframe.js +1 -1
  32. package/BookReader/plugins/plugin.iiif.js +1 -1
  33. package/BookReader/plugins/plugin.iiif.js.map +1 -1
  34. package/BookReader/plugins/plugin.resume.js +1 -1
  35. package/BookReader/plugins/plugin.search.js +1 -1
  36. package/BookReader/plugins/plugin.search.js.map +1 -1
  37. package/BookReader/plugins/plugin.text_selection.js +1 -1
  38. package/BookReader/plugins/plugin.text_selection.js.map +1 -1
  39. package/BookReader/plugins/plugin.tts.js +1 -1
  40. package/BookReader/plugins/plugin.tts.js.map +1 -1
  41. package/BookReader/plugins/plugin.url.js +1 -1
  42. package/BookReader/plugins/plugin.url.js.map +1 -1
  43. package/BookReader/plugins/plugin.vendor-fullscreen.js +1 -1
  44. package/BookReader/plugins/plugin.vendor-fullscreen.js.map +1 -1
  45. package/BookReader/webcomponents-bundle.js +1 -1
  46. package/BookReader/webcomponents-bundle.js.map +1 -1
  47. package/CHANGELOG.md +6 -0
  48. package/package.json +15 -15
  49. package/src/BookNavigator/assets/button-base.js +1 -0
  50. package/src/BookNavigator/visual-adjustments/visual-adjustments-provider.js +2 -2
  51. package/src/BookNavigator/visual-adjustments/visual-adjustments.js +1 -1
  52. package/tests/jest/BookNavigator/visual-adjustments.test.js +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 5.0.0-81
2
+ - Dev: Update test dependencies @cdrini
3
+ - Dev: Update build dependencies @cdrini
4
+ - Fix: BookReader buttons inherit font @rebecca-shoptaw
5
+ - Fix: Better visual adjustment text @rebecca-shoptaw
6
+
1
7
  # 5.0.0-80
2
8
  - Dev: Fix/modernize IIIF demo @cdrini
3
9
  - Dev: Fix sharing panel erroring when no IA item metadata specified @cdrini
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetarchive/bookreader",
3
- "version": "5.0.0-80",
3
+ "version": "5.0.0-81",
4
4
  "description": "The Internet Archive BookReader.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -40,20 +40,20 @@
40
40
  "lit": "^2.5.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@babel/core": "7.23.3",
44
- "@babel/eslint-parser": "7.23.3",
43
+ "@babel/core": "7.24.7",
44
+ "@babel/eslint-parser": "7.24.7",
45
45
  "@babel/plugin-proposal-class-properties": "7.18.6",
46
- "@babel/plugin-proposal-decorators": "7.23.3",
47
- "@babel/preset-env": "7.23.3",
46
+ "@babel/plugin-proposal-decorators": "7.24.7",
47
+ "@babel/preset-env": "7.24.7",
48
48
  "@iiif/presentation-2": "^1.0.4",
49
49
  "@iiif/presentation-3": "^2.1.3",
50
- "@open-wc/testing-helpers": "3.0.0",
50
+ "@open-wc/testing-helpers": "3.0.1",
51
51
  "@types/jest": "29.5.12",
52
52
  "@webcomponents/webcomponentsjs": "^2.6.0",
53
53
  "babel-loader": "9.1.3",
54
54
  "codecov": "^3.8.3",
55
55
  "concurrently": "8.2.2",
56
- "core-js": "3.33.3",
56
+ "core-js": "3.37.1",
57
57
  "cpx2": "4.2.3",
58
58
  "eslint": "^7.32.0",
59
59
  "eslint-plugin-no-jquery": "^2.7.0",
@@ -69,14 +69,14 @@
69
69
  "jquery-ui-touch-punch": "0.2.3",
70
70
  "jquery.browser": "0.1.0",
71
71
  "live-server": "1.2.2",
72
- "regenerator-runtime": "0.14.0",
73
- "sass": "1.69.5",
74
- "sinon": "17.0.1",
72
+ "regenerator-runtime": "0.14.1",
73
+ "sass": "1.77.6",
74
+ "sinon": "18.0.0",
75
75
  "soundmanager2": "2.97.20170602",
76
- "svgo": "3.0.4",
77
- "testcafe": "3.4.0",
76
+ "svgo": "3.3.2",
77
+ "testcafe": "3.6.1",
78
78
  "testcafe-browser-provider-browserstack": "^1.13.2-alpha.1",
79
- "webpack": "5.89.0",
79
+ "webpack": "5.92.0",
80
80
  "webpack-cli": "5.1.4"
81
81
  },
82
82
  "jest": {
@@ -110,8 +110,8 @@
110
110
  "clean": "rm -r BookReader/ || true",
111
111
  "lint": "npx eslint src/ tests/ *.js",
112
112
  "lint:fix": "npx eslint --fix src/ tests/ *.js",
113
- "serve": "npx http-server . --port 8000",
114
- "serve-live": "npx live-server . --cors --port 8000 --watch=index.html,BookReader,BookReaderDemo",
113
+ "serve": "npx http-server . --port=8000",
114
+ "serve-live": "npx live-server . --cors --port=8000 --watch=index.html,BookReader,BookReaderDemo",
115
115
  "serve-dev": "env NODE_ENV='development' npm run build-css && env NODE_ENV='development' npx concurrently --kill-others npm:serve-live npm:build-*:watch",
116
116
  "test": "npx jest --coverage --colors",
117
117
  "test:watch": "npx jest --watch",
@@ -12,6 +12,7 @@ export default css`
12
12
  text-align: center;
13
13
  vertical-align: middle;
14
14
  font-size: 1.4rem;
15
+ font-family: inherit;
15
16
  display: inline-block;
16
17
  padding: .6rem 1.2rem;
17
18
  border: 1px solid transparent;
@@ -20,11 +20,11 @@ const visualAdjustmentOptions = [{
20
20
  value: 100,
21
21
  }, {
22
22
  id: 'invert',
23
- name: 'Inverted colors (dark mode)',
23
+ name: 'Invert colors (dark mode)',
24
24
  active: false,
25
25
  }, {
26
26
  id: 'grayscale',
27
- name: 'Grayscale',
27
+ name: 'Convert to grayscale',
28
28
  active: false,
29
29
  }];
30
30
 
@@ -157,7 +157,7 @@ export class IABookVisualAdjustments extends LitElement {
157
157
 
158
158
  get zoomControls() {
159
159
  return html`
160
- <h4>Zoom</h4>
160
+ <h4>Adjust zoom</h4>
161
161
  <button class="zoom_out" @click=${this.emitZoomOut} title="zoom out">
162
162
  <ia-icon-magnify-minus></ia-icon-magnify-minus>
163
163
  </button>
@@ -16,7 +16,7 @@ const options = [{
16
16
  value: 100,
17
17
  }, {
18
18
  id: 'invert',
19
- name: 'Invert colors',
19
+ name: 'Invert colors (dark mode)',
20
20
  active: false,
21
21
  }, {
22
22
  id: 'brightness',