@jupyter-notebook/notebook-extension 7.1.0 → 7.1.1
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/lib/index.js +3 -1
- package/package.json +9 -9
package/lib/index.js
CHANGED
|
@@ -396,7 +396,7 @@ const editNotebookMetadata = {
|
|
|
396
396
|
autoStart: true,
|
|
397
397
|
optional: [ICommandPalette, ITranslator, INotebookTools],
|
|
398
398
|
activate: (app, palette, translator, notebookTools) => {
|
|
399
|
-
const { commands } = app;
|
|
399
|
+
const { commands, shell } = app;
|
|
400
400
|
translator = translator !== null && translator !== void 0 ? translator : nullTranslator;
|
|
401
401
|
const trans = translator.load('notebook');
|
|
402
402
|
commands.addCommand(CommandIDs.openEditNotebookMetadata, {
|
|
@@ -424,6 +424,8 @@ const editNotebookMetadata = {
|
|
|
424
424
|
});
|
|
425
425
|
}
|
|
426
426
|
},
|
|
427
|
+
isVisible: () => shell.currentWidget !== null &&
|
|
428
|
+
shell.currentWidget instanceof NotebookPanel,
|
|
427
429
|
});
|
|
428
430
|
if (palette) {
|
|
429
431
|
palette.addItem({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyter-notebook/notebook-extension",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"description": "Jupyter Notebook - Notebook Extension",
|
|
5
5
|
"homepage": "https://github.com/jupyter/notebook",
|
|
6
6
|
"bugs": {
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"watch": "tsc -b --watch"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@jupyter-notebook/application": "^7.1.
|
|
42
|
-
"@jupyterlab/application": "~4.1.
|
|
43
|
-
"@jupyterlab/apputils": "~4.2.
|
|
44
|
-
"@jupyterlab/cells": "~4.1.
|
|
45
|
-
"@jupyterlab/docmanager": "~4.1.
|
|
46
|
-
"@jupyterlab/notebook": "~4.1.
|
|
47
|
-
"@jupyterlab/settingregistry": "~4.1.
|
|
48
|
-
"@jupyterlab/translation": "~4.1.
|
|
41
|
+
"@jupyter-notebook/application": "^7.1.1",
|
|
42
|
+
"@jupyterlab/application": "~4.1.2",
|
|
43
|
+
"@jupyterlab/apputils": "~4.2.2",
|
|
44
|
+
"@jupyterlab/cells": "~4.1.2",
|
|
45
|
+
"@jupyterlab/docmanager": "~4.1.2",
|
|
46
|
+
"@jupyterlab/notebook": "~4.1.2",
|
|
47
|
+
"@jupyterlab/settingregistry": "~4.1.2",
|
|
48
|
+
"@jupyterlab/translation": "~4.1.2",
|
|
49
49
|
"@lumino/polling": "^2.1.2",
|
|
50
50
|
"@lumino/widgets": "^2.3.1",
|
|
51
51
|
"react": "^18.2.0",
|