@jupyter/collaboration-extension 1.2.0 → 2.0.0-alpha.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.
@@ -3,8 +3,8 @@
3
3
  * @module collaboration-extension
4
4
  */
5
5
  import { JupyterFrontEndPlugin } from '@jupyterlab/application';
6
+ import { IAwareness } from '@jupyter/ydoc';
6
7
  import { IUserMenu } from '@jupyter/collaboration';
7
- import { IAwareness } from '@jupyter/docprovider';
8
8
  /**
9
9
  * Jupyter plugin providing the IUserMenu.
10
10
  */
@@ -4,16 +4,16 @@
4
4
  * @packageDocumentation
5
5
  * @module collaboration-extension
6
6
  */
7
- import { DOMUtils, IToolbarWidgetRegistry } from '@jupyterlab/apputils';
7
+ import { IToolbarWidgetRegistry } from '@jupyterlab/apputils';
8
8
  import { EditorExtensionRegistry, IEditorExtensionRegistry } from '@jupyterlab/codemirror';
9
- import { CollaboratorsPanel, IGlobalAwareness, IUserMenu, remoteUserCursors, RendererUserMenu, UserInfoPanel, UserMenu } from '@jupyter/collaboration';
10
9
  import { WebSocketAwarenessProvider } from '@jupyter/docprovider';
11
10
  import { SidePanel, usersIcon } from '@jupyterlab/ui-components';
12
- import { MenuBar } from '@lumino/widgets';
13
11
  import { URLExt } from '@jupyterlab/coreutils';
14
12
  import { ServerConnection } from '@jupyterlab/services';
15
13
  import { IStateDB } from '@jupyterlab/statedb';
16
14
  import { ITranslator, nullTranslator } from '@jupyterlab/translation';
15
+ import { MenuBar } from '@lumino/widgets';
16
+ import { CollaboratorsPanel, IGlobalAwareness, IUserMenu, remoteUserCursors, RendererUserMenu, UserInfoPanel, UserMenu } from '@jupyter/collaboration';
17
17
  import * as Y from 'yjs';
18
18
  import { Awareness } from 'y-protocols/awareness';
19
19
  /**
@@ -102,7 +102,7 @@ export const rtcPanelPlugin = {
102
102
  const userPanel = new SidePanel({
103
103
  alignment: 'justify'
104
104
  });
105
- userPanel.id = DOMUtils.createDomID();
105
+ userPanel.id = 'jp-collaboration-panel';
106
106
  userPanel.title.icon = usersIcon;
107
107
  userPanel.title.caption = trans.__('Collaboration');
108
108
  userPanel.addClass('jp-RTCPanel');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyter/collaboration-extension",
3
- "version": "1.2.0",
3
+ "version": "2.0.0-alpha.1",
4
4
  "description": "JupyterLab - Real-Time Collaboration Extension",
5
5
  "keywords": [
6
6
  "jupyter",
@@ -53,22 +53,23 @@
53
53
  "watch:labextension": "jupyter labextension watch ."
54
54
  },
55
55
  "dependencies": {
56
- "@jupyter/collaboration": "^1.2.0",
57
- "@jupyter/docprovider": "^1.2.0",
58
- "@jupyterlab/application": "^4.0.0",
59
- "@jupyterlab/apputils": "^4.0.0",
60
- "@jupyterlab/codemirror": "^4.0.0",
61
- "@jupyterlab/coreutils": "^6.0.0",
62
- "@jupyterlab/docregistry": "^4.0.0",
63
- "@jupyterlab/filebrowser": "^4.0.0",
64
- "@jupyterlab/fileeditor": "^4.0.0",
65
- "@jupyterlab/logconsole": "^4.0.0",
66
- "@jupyterlab/notebook": "^4.0.0",
67
- "@jupyterlab/services": "^7.0.0",
68
- "@jupyterlab/settingregistry": "^4.0.0",
69
- "@jupyterlab/statedb": "^4.0.0",
70
- "@jupyterlab/translation": "^4.0.0",
71
- "@jupyterlab/ui-components": "^4.0.0",
56
+ "@jupyter/collaboration": "^2.0.0-alpha.1",
57
+ "@jupyter/docprovider": "^2.0.0-alpha.1",
58
+ "@jupyter/ydoc": "^1.1.0-a0",
59
+ "@jupyterlab/application": "^4.0.5",
60
+ "@jupyterlab/apputils": "^4.0.5",
61
+ "@jupyterlab/codemirror": "^4.0.5",
62
+ "@jupyterlab/coreutils": "^6.0.5",
63
+ "@jupyterlab/docregistry": "^4.0.5",
64
+ "@jupyterlab/filebrowser": "^4.0.5",
65
+ "@jupyterlab/fileeditor": "^4.0.5",
66
+ "@jupyterlab/logconsole": "^4.0.5",
67
+ "@jupyterlab/notebook": "^4.0.5",
68
+ "@jupyterlab/services": "^7.0.5",
69
+ "@jupyterlab/settingregistry": "^4.0.5",
70
+ "@jupyterlab/statedb": "^4.0.5",
71
+ "@jupyterlab/translation": "^4.0.5",
72
+ "@jupyterlab/ui-components": "^4.0.5",
72
73
  "@lumino/commands": "^2.1.0",
73
74
  "@lumino/widgets": "^2.1.0",
74
75
  "y-protocols": "^1.0.5",
@@ -76,7 +77,7 @@
76
77
  "yjs": "^13.5.40"
77
78
  },
78
79
  "devDependencies": {
79
- "@jupyterlab/builder": "^4.0.0",
80
+ "@jupyterlab/builder": "^4.0.5",
80
81
  "@types/react": "~18.0.26",
81
82
  "npm-run-all": "^4.1.5",
82
83
  "rimraf": "^4.1.2",