@jupyterlab/codeeditor 4.0.0-beta.1 → 4.0.0-rc.0
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/tokens.js +4 -2
- package/lib/tokens.js.map +1 -1
- package/package.json +18 -18
- package/src/tokens.ts +6 -2
package/lib/tokens.js
CHANGED
|
@@ -4,9 +4,11 @@ import { Token } from '@lumino/coreutils';
|
|
|
4
4
|
/**
|
|
5
5
|
* Code editor services token.
|
|
6
6
|
*/
|
|
7
|
-
export const IEditorServices = new Token('@jupyterlab/codeeditor:IEditorServices'
|
|
7
|
+
export const IEditorServices = new Token('@jupyterlab/codeeditor:IEditorServices', `A service for the text editor provider
|
|
8
|
+
for the application. Use this to create new text editors and host them in your
|
|
9
|
+
UI elements.`);
|
|
8
10
|
/**
|
|
9
11
|
* Code editor cursor position token.
|
|
10
12
|
*/
|
|
11
|
-
export const IPositionModel = new Token('@jupyterlab/codeeditor:IPositionModel');
|
|
13
|
+
export const IPositionModel = new Token('@jupyterlab/codeeditor:IPositionModel', `A service to handle an code editor cursor position.`);
|
|
12
14
|
//# sourceMappingURL=tokens.js.map
|
package/lib/tokens.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAM1C;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,KAAK,CACtC,wCAAwC,
|
|
1
|
+
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAM1C;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,KAAK,CACtC,wCAAwC,EACxC;;eAEa,CACd,CAAC;AAiBF;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,KAAK,CACrC,uCAAuC,EACvC,qDAAqD,CACtD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlab/codeeditor",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-rc.0",
|
|
4
4
|
"description": "JupyterLab - Abstract Code Editor",
|
|
5
5
|
"homepage": "https://github.com/jupyterlab/jupyterlab",
|
|
6
6
|
"bugs": {
|
|
@@ -37,34 +37,34 @@
|
|
|
37
37
|
"docs": "typedoc src",
|
|
38
38
|
"test": "jest",
|
|
39
39
|
"test:cov": "jest --collect-coverage",
|
|
40
|
-
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
|
|
41
|
-
"test:debug:watch": "node --inspect-brk node_modules/.bin/jest --runInBand --watch",
|
|
40
|
+
"test:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand",
|
|
41
|
+
"test:debug:watch": "node --inspect-brk ../../node_modules/.bin/jest --runInBand --watch",
|
|
42
42
|
"watch": "tsc -b --watch"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@codemirror/state": "^6.2.0",
|
|
46
|
-
"@jupyter/ydoc": "^1.0.
|
|
47
|
-
"@jupyterlab/coreutils": "^6.0.0-
|
|
48
|
-
"@jupyterlab/nbformat": "^4.0.0-
|
|
49
|
-
"@jupyterlab/observables": "^5.0.0-
|
|
50
|
-
"@jupyterlab/statusbar": "^4.0.0-
|
|
51
|
-
"@jupyterlab/translation": "^4.0.0-
|
|
52
|
-
"@jupyterlab/ui-components": "^4.0.0-
|
|
53
|
-
"@lumino/coreutils": "^2.
|
|
54
|
-
"@lumino/disposable": "^2.
|
|
55
|
-
"@lumino/dragdrop": "^2.
|
|
46
|
+
"@jupyter/ydoc": "^1.0.2",
|
|
47
|
+
"@jupyterlab/coreutils": "^6.0.0-rc.0",
|
|
48
|
+
"@jupyterlab/nbformat": "^4.0.0-rc.0",
|
|
49
|
+
"@jupyterlab/observables": "^5.0.0-rc.0",
|
|
50
|
+
"@jupyterlab/statusbar": "^4.0.0-rc.0",
|
|
51
|
+
"@jupyterlab/translation": "^4.0.0-rc.0",
|
|
52
|
+
"@jupyterlab/ui-components": "^4.0.0-rc.0",
|
|
53
|
+
"@lumino/coreutils": "^2.1.1",
|
|
54
|
+
"@lumino/disposable": "^2.1.1",
|
|
55
|
+
"@lumino/dragdrop": "^2.1.1",
|
|
56
56
|
"@lumino/messaging": "^2.0.0",
|
|
57
|
-
"@lumino/signaling": "^2.
|
|
58
|
-
"@lumino/widgets": "^2.
|
|
57
|
+
"@lumino/signaling": "^2.1.1",
|
|
58
|
+
"@lumino/widgets": "^2.1.1",
|
|
59
59
|
"react": "^18.2.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@jupyterlab/testing": "^4.0.0-
|
|
62
|
+
"@jupyterlab/testing": "^4.0.0-rc.0",
|
|
63
63
|
"@types/jest": "^29.2.0",
|
|
64
64
|
"jest": "^29.2.0",
|
|
65
65
|
"rimraf": "~3.0.0",
|
|
66
|
-
"typedoc": "~0.
|
|
67
|
-
"typescript": "~5.0.
|
|
66
|
+
"typedoc": "~0.24.1",
|
|
67
|
+
"typescript": "~5.0.4"
|
|
68
68
|
},
|
|
69
69
|
"publishConfig": {
|
|
70
70
|
"access": "public"
|
package/src/tokens.ts
CHANGED
|
@@ -11,7 +11,10 @@ import { IEditorMimeTypeService } from './mimetype';
|
|
|
11
11
|
* Code editor services token.
|
|
12
12
|
*/
|
|
13
13
|
export const IEditorServices = new Token<IEditorServices>(
|
|
14
|
-
'@jupyterlab/codeeditor:IEditorServices'
|
|
14
|
+
'@jupyterlab/codeeditor:IEditorServices',
|
|
15
|
+
`A service for the text editor provider
|
|
16
|
+
for the application. Use this to create new text editors and host them in your
|
|
17
|
+
UI elements.`
|
|
15
18
|
);
|
|
16
19
|
|
|
17
20
|
/**
|
|
@@ -33,7 +36,8 @@ export interface IEditorServices {
|
|
|
33
36
|
* Code editor cursor position token.
|
|
34
37
|
*/
|
|
35
38
|
export const IPositionModel = new Token<IPositionModel>(
|
|
36
|
-
'@jupyterlab/codeeditor:IPositionModel'
|
|
39
|
+
'@jupyterlab/codeeditor:IPositionModel',
|
|
40
|
+
`A service to handle an code editor cursor position.`
|
|
37
41
|
);
|
|
38
42
|
|
|
39
43
|
/**
|