@jupyter-notebook/lab-extension 7.0.0-alpha.13 → 7.0.0-alpha.15

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 (2) hide show
  1. package/lib/index.js +5 -2
  2. package/package.json +12 -12
package/lib/index.js CHANGED
@@ -47,7 +47,10 @@ const launchButtons = {
47
47
  const { commands, shell } = app;
48
48
  const baseUrl = PageConfig.getBaseUrl();
49
49
  const trans = translator.load('notebook');
50
- const menubar = new MenuBar();
50
+ const overflowOptions = {
51
+ overflowMenuOptions: { isVisible: false }
52
+ };
53
+ const menubar = new MenuBar(overflowOptions);
51
54
  const switcher = new Menu({ commands });
52
55
  switcher.title.label = trans.__('Interface');
53
56
  menubar.addMenu(switcher);
@@ -92,7 +95,7 @@ const launchButtons = {
92
95
  }
93
96
  if (toolbarRegistry) {
94
97
  toolbarRegistry.addFactory('Notebook', 'interfaceSwitcher', panel => {
95
- const menubar = new MenuBar();
98
+ const menubar = new MenuBar(overflowOptions);
96
99
  menubar.addMenu(switcher);
97
100
  menubar.addClass('jp-InterfaceSwitcher');
98
101
  return menubar;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyter-notebook/lab-extension",
3
- "version": "7.0.0-alpha.13",
3
+ "version": "7.0.0-alpha.15",
4
4
  "description": "Jupyter Notebook - Lab Extension",
5
5
  "homepage": "https://github.com/jupyter/notebook",
6
6
  "bugs": {
@@ -43,20 +43,20 @@
43
43
  "watch:src": "tsc -w"
44
44
  },
45
45
  "dependencies": {
46
- "@jupyter-notebook/application": "^7.0.0-alpha.13",
47
- "@jupyterlab/application": "^4.0.0-alpha.19",
48
- "@jupyterlab/apputils": "^4.0.0-alpha.19",
49
- "@jupyterlab/coreutils": "^6.0.0-alpha.19",
50
- "@jupyterlab/docregistry": "^4.0.0-alpha.19",
51
- "@jupyterlab/notebook": "^4.0.0-alpha.19",
52
- "@jupyterlab/translation": "^4.0.0-alpha.19",
53
- "@lumino/commands": "^2.0.0-beta.1",
54
- "@lumino/disposable": "^2.0.0-beta.1"
46
+ "@jupyter-notebook/application": "^7.0.0-alpha.15",
47
+ "@jupyterlab/application": "^4.0.0-alpha.20",
48
+ "@jupyterlab/apputils": "^4.0.0-alpha.20",
49
+ "@jupyterlab/coreutils": "^6.0.0-alpha.20",
50
+ "@jupyterlab/docregistry": "^4.0.0-alpha.20",
51
+ "@jupyterlab/notebook": "^4.0.0-alpha.20",
52
+ "@jupyterlab/translation": "^4.0.0-alpha.20",
53
+ "@lumino/commands": "^2.0.0-rc.1",
54
+ "@lumino/disposable": "^2.0.0-rc.1"
55
55
  },
56
56
  "devDependencies": {
57
- "@jupyterlab/builder": "^4.0.0-alpha.19",
57
+ "@jupyterlab/builder": "^4.0.0-alpha.20",
58
58
  "rimraf": "^3.0.2",
59
- "typescript": "~4.9.3"
59
+ "typescript": "5.0.1-rc"
60
60
  },
61
61
  "publishConfig": {
62
62
  "access": "public"