@jupyterlite/application-extension 0.1.0-beta.0 → 0.1.0-beta.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 +16 -0
- package/package.json +15 -15
package/lib/index.js
CHANGED
|
@@ -295,6 +295,21 @@ const liteLogo = {
|
|
|
295
295
|
labShell.add(logo, 'top', { rank: 0 });
|
|
296
296
|
},
|
|
297
297
|
};
|
|
298
|
+
/**
|
|
299
|
+
* A plugin to trigger a refresh of the commands when the shell layout changes.
|
|
300
|
+
*/
|
|
301
|
+
const notifyCommands = {
|
|
302
|
+
id: '@jupyterlite/application-extension:notify-commands',
|
|
303
|
+
autoStart: true,
|
|
304
|
+
optional: [ILabShell],
|
|
305
|
+
activate: (app, labShell) => {
|
|
306
|
+
if (labShell) {
|
|
307
|
+
labShell.layoutModified.connect(() => {
|
|
308
|
+
app.commands.notifyCommandChanged();
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
};
|
|
298
313
|
/**
|
|
299
314
|
* A custom opener plugin to pass the path to documents as
|
|
300
315
|
* query string parameters.
|
|
@@ -404,6 +419,7 @@ const plugins = [
|
|
|
404
419
|
docProviderPlugin,
|
|
405
420
|
downloadPlugin,
|
|
406
421
|
liteLogo,
|
|
422
|
+
notifyCommands,
|
|
407
423
|
opener,
|
|
408
424
|
shareFile,
|
|
409
425
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlite/application-extension",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.1",
|
|
4
4
|
"description": "JupyterLite - Application Extension",
|
|
5
5
|
"homepage": "https://github.com/jupyterlite/jupyterlite",
|
|
6
6
|
"bugs": {
|
|
@@ -37,20 +37,20 @@
|
|
|
37
37
|
"watch": "tsc -b --watch"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@jupyterlab/application": "~3.
|
|
41
|
-
"@jupyterlab/apputils": "~3.
|
|
42
|
-
"@jupyterlab/docmanager": "~3.
|
|
43
|
-
"@jupyterlab/docprovider": "~3.
|
|
44
|
-
"@jupyterlab/filebrowser": "~3.
|
|
45
|
-
"@jupyterlab/help-extension": "~3.
|
|
46
|
-
"@jupyterlab/mainmenu": "~3.
|
|
47
|
-
"@jupyterlab/services": "~6.
|
|
48
|
-
"@jupyterlab/translation": "~3.
|
|
49
|
-
"@jupyterlab/ui-components": "~3.
|
|
50
|
-
"@jupyterlite/ui-components": "^0.1.0-beta.
|
|
51
|
-
"@lumino/algorithm": "^1.
|
|
52
|
-
"@lumino/coreutils": "^1.
|
|
53
|
-
"@lumino/widgets": "^1.
|
|
40
|
+
"@jupyterlab/application": "~3.3.0",
|
|
41
|
+
"@jupyterlab/apputils": "~3.3.0",
|
|
42
|
+
"@jupyterlab/docmanager": "~3.3.0",
|
|
43
|
+
"@jupyterlab/docprovider": "~3.3.0",
|
|
44
|
+
"@jupyterlab/filebrowser": "~3.3.0",
|
|
45
|
+
"@jupyterlab/help-extension": "~3.3.0",
|
|
46
|
+
"@jupyterlab/mainmenu": "~3.3.0",
|
|
47
|
+
"@jupyterlab/services": "~6.3.0",
|
|
48
|
+
"@jupyterlab/translation": "~3.3.0",
|
|
49
|
+
"@jupyterlab/ui-components": "~3.3.0",
|
|
50
|
+
"@jupyterlite/ui-components": "^0.1.0-beta.1",
|
|
51
|
+
"@lumino/algorithm": "^1.9.1",
|
|
52
|
+
"@lumino/coreutils": "^1.12.0",
|
|
53
|
+
"@lumino/widgets": "^1.31.1",
|
|
54
54
|
"y-webrtc": "^10.2.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|