@internetarchive/bookreader 5.0.0-75 → 5.0.0-77-alpha

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/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 5.0.0-76
2
+ - Fix: Update bookNavigator shortcut menu ordering @dualcnhq
3
+
1
4
  # 5.0.0-75
2
5
  - Dev: Update deps via renovatebot
3
6
  - Dev: Add .env file in .gitignore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetarchive/bookreader",
3
- "version": "5.0.0-75",
3
+ "version": "5.0.0-77-alpha",
4
4
  "description": "The Internet Archive BookReader.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -67,11 +67,14 @@ export class BookNavigator extends LitElement {
67
67
  * sets exit FS button (`this.fullscreenBranding1)
68
68
  * when `br.options.enableFSLogoShortcut`
69
69
  */
70
- 'chapters',
71
70
  'fullscreen',
72
71
  'volumes',
72
+ 'chapters',
73
73
  'search',
74
- 'bookmarks'
74
+ 'downloads',
75
+ 'bookmarks',
76
+ 'visualAdjustments',
77
+ 'share'
75
78
  ];
76
79
  }
77
80
 
@@ -321,9 +321,9 @@ describe('<book-navigator>', () => {
321
321
  test('has specific order of menu shortcuts to show', () => {
322
322
  const el = fixtureSync(container());
323
323
  expect(el.shortcutOrder).toEqual([
324
- 'chapters',
325
324
  'fullscreen',
326
325
  'volumes',
326
+ 'chapters',
327
327
  'search',
328
328
  'bookmarks'
329
329
  ]);