@jupyter/collaboration 1.0.0-alpha.0 → 1.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.
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -1
- package/package.json +8 -8
- package/style/base.css +2 -2
- package/lib/awarenessmock.d.ts +0 -23
- package/lib/awarenessmock.js +0 -40
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyter/collaboration",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.1",
|
|
4
4
|
"description": "JupyterLab - Real-Time Collaboration Widgets",
|
|
5
5
|
"homepage": "https://github.com/jupyterlab/jupyter_collaboration",
|
|
6
6
|
"bugs": {
|
|
@@ -39,19 +39,19 @@
|
|
|
39
39
|
"watch": "tsc -b --watch"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@jupyterlab/apputils": "^4.0.0-alpha.
|
|
43
|
-
"@jupyterlab/coreutils": "^6.0.0-alpha.
|
|
44
|
-
"@jupyterlab/services": "^7.0.0-alpha.
|
|
42
|
+
"@jupyterlab/apputils": "^4.0.0-alpha.19",
|
|
43
|
+
"@jupyterlab/coreutils": "^6.0.0-alpha.19",
|
|
44
|
+
"@jupyterlab/services": "^7.0.0-alpha.19",
|
|
45
45
|
"@jupyterlab/ui-components": "^4.0.0-alpha.33",
|
|
46
|
-
"@lumino/coreutils": "^2.0.0-
|
|
47
|
-
"@lumino/virtualdom": "^2.0.0-
|
|
48
|
-
"@lumino/widgets": "^2.0.0-
|
|
46
|
+
"@lumino/coreutils": "^2.0.0-beta.0",
|
|
47
|
+
"@lumino/virtualdom": "^2.0.0-beta.0",
|
|
48
|
+
"@lumino/widgets": "^2.0.0-beta.1",
|
|
49
49
|
"react": "^18.2.0",
|
|
50
50
|
"y-protocols": "^1.0.5",
|
|
51
51
|
"yjs": "^13.5.40"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"rimraf": "
|
|
54
|
+
"rimraf": "^4.1.2",
|
|
55
55
|
"typescript": "~4.7.3"
|
|
56
56
|
},
|
|
57
57
|
"publishConfig": {
|
package/style/base.css
CHANGED
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
| Distributed under the terms of the Modified BSD License.
|
|
4
4
|
|---------------------------------------------------------------------------- */
|
|
5
5
|
|
|
6
|
-
@import url(
|
|
7
|
-
@import url(
|
|
6
|
+
@import url('./menu.css');
|
|
7
|
+
@import url('./sidepanel.css');
|
package/lib/awarenessmock.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as Y from 'yjs';
|
|
2
|
-
import { IAwareness } from './tokens';
|
|
3
|
-
/**
|
|
4
|
-
* Default user implementation.
|
|
5
|
-
*/
|
|
6
|
-
export declare class AwarenessMock implements IAwareness {
|
|
7
|
-
constructor(doc: Y.Doc);
|
|
8
|
-
setLocalState(state: any): void;
|
|
9
|
-
setLocalStateField(field: string, value: any): void;
|
|
10
|
-
getLocalState(): any;
|
|
11
|
-
getStates(): any;
|
|
12
|
-
on(name: string, f: any): void;
|
|
13
|
-
off(name: string, f: any): void;
|
|
14
|
-
once(name: string, f: any): void;
|
|
15
|
-
emit(name: string, args: any): void;
|
|
16
|
-
destroy(): void;
|
|
17
|
-
doc: Y.Doc;
|
|
18
|
-
clientID: number;
|
|
19
|
-
states: Map<any, any>;
|
|
20
|
-
meta: Map<any, any>;
|
|
21
|
-
_checkInterval: any;
|
|
22
|
-
_observers: any;
|
|
23
|
-
}
|
package/lib/awarenessmock.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Jupyter Development Team.
|
|
2
|
-
// Distributed under the terms of the Modified BSD License.
|
|
3
|
-
/**
|
|
4
|
-
* Default user implementation.
|
|
5
|
-
*/
|
|
6
|
-
export class AwarenessMock {
|
|
7
|
-
constructor(doc) {
|
|
8
|
-
this.states = new Map();
|
|
9
|
-
this.meta = new Map();
|
|
10
|
-
this.doc = doc;
|
|
11
|
-
this.clientID = doc.clientID;
|
|
12
|
-
}
|
|
13
|
-
setLocalState(state) {
|
|
14
|
-
return;
|
|
15
|
-
}
|
|
16
|
-
setLocalStateField(field, value) {
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
getLocalState() {
|
|
20
|
-
return null;
|
|
21
|
-
}
|
|
22
|
-
getStates() {
|
|
23
|
-
return this.states;
|
|
24
|
-
}
|
|
25
|
-
on(name, f) {
|
|
26
|
-
return;
|
|
27
|
-
}
|
|
28
|
-
off(name, f) {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
once(name, f) {
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
emit(name, args) {
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
destroy() {
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
}
|