@jupyterlab/codeeditor 4.2.0-beta.1 → 4.2.0-beta.3

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/lineCol.d.ts CHANGED
@@ -1,39 +1,6 @@
1
1
  import { ITranslator } from '@jupyterlab/translation';
2
2
  import { VDomModel, VDomRenderer } from '@jupyterlab/ui-components';
3
- import React from 'react';
4
3
  import { CodeEditor } from './editor';
5
- /**
6
- * A namespace for LineColComponent.
7
- */
8
- declare namespace LineColComponent {
9
- /**
10
- * Props for LineColComponent.
11
- */
12
- interface IProps {
13
- /**
14
- * The current line number.
15
- */
16
- line: number;
17
- /**
18
- * The current column number.
19
- */
20
- column: number;
21
- /**
22
- * The application language translator.
23
- */
24
- translator?: ITranslator;
25
- /**
26
- * A click handler for the LineColComponent, which
27
- * we use to launch the LineFormComponent.
28
- */
29
- handleClick: () => void;
30
- }
31
- }
32
- /**
33
- * A pure functional component for rendering a line/column
34
- * status item.
35
- */
36
- declare function LineColComponent(props: LineColComponent.IProps): React.ReactElement<LineColComponent.IProps>;
37
4
  /**
38
5
  * A widget implementing a line/column status item.
39
6
  */
@@ -45,7 +12,7 @@ export declare class LineCol extends VDomRenderer<LineCol.Model> {
45
12
  /**
46
13
  * Render the status item.
47
14
  */
48
- render(): React.ReactElement<LineColComponent.IProps> | null;
15
+ render(): JSX.Element | null;
49
16
  /**
50
17
  * A click handler for the widget.
51
18
  */
@@ -89,4 +56,3 @@ export declare namespace LineCol {
89
56
  private _editor;
90
57
  }
91
58
  }
92
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlab/codeeditor",
3
- "version": "4.2.0-beta.1",
3
+ "version": "4.2.0-beta.3",
4
4
  "description": "JupyterLab - Abstract Code Editor",
5
5
  "homepage": "https://github.com/jupyterlab/jupyterlab",
6
6
  "bugs": {
@@ -34,7 +34,6 @@
34
34
  "build": "tsc -b",
35
35
  "build:test": "tsc --build tsconfig.test.json",
36
36
  "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
37
- "docs": "typedoc src",
38
37
  "test": "jest",
39
38
  "test:cov": "jest --collect-coverage",
40
39
  "test:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand",
@@ -44,13 +43,13 @@
44
43
  "dependencies": {
45
44
  "@codemirror/state": "^6.4.1",
46
45
  "@jupyter/ydoc": "^2.0.1",
47
- "@jupyterlab/apputils": "^4.3.0-beta.1",
48
- "@jupyterlab/coreutils": "^6.2.0-beta.1",
49
- "@jupyterlab/nbformat": "^4.2.0-beta.1",
50
- "@jupyterlab/observables": "^5.2.0-beta.1",
51
- "@jupyterlab/statusbar": "^4.2.0-beta.1",
52
- "@jupyterlab/translation": "^4.2.0-beta.1",
53
- "@jupyterlab/ui-components": "^4.2.0-beta.1",
46
+ "@jupyterlab/apputils": "^4.3.0-beta.3",
47
+ "@jupyterlab/coreutils": "^6.2.0-beta.3",
48
+ "@jupyterlab/nbformat": "^4.2.0-beta.3",
49
+ "@jupyterlab/observables": "^5.2.0-beta.3",
50
+ "@jupyterlab/statusbar": "^4.2.0-beta.3",
51
+ "@jupyterlab/translation": "^4.2.0-beta.3",
52
+ "@jupyterlab/ui-components": "^4.2.0-beta.3",
54
53
  "@lumino/coreutils": "^2.1.2",
55
54
  "@lumino/disposable": "^2.1.2",
56
55
  "@lumino/dragdrop": "^2.1.4",
@@ -60,11 +59,10 @@
60
59
  "react": "^18.2.0"
61
60
  },
62
61
  "devDependencies": {
63
- "@jupyterlab/testing": "^4.2.0-beta.1",
62
+ "@jupyterlab/testing": "^4.2.0-beta.3",
64
63
  "@types/jest": "^29.2.0",
65
64
  "jest": "^29.2.0",
66
65
  "rimraf": "~5.0.5",
67
- "typedoc": "~0.24.7",
68
66
  "typescript": "~5.1.6"
69
67
  },
70
68
  "publishConfig": {
package/src/lineCol.tsx CHANGED
@@ -273,7 +273,7 @@ export class LineCol extends VDomRenderer<LineCol.Model> {
273
273
  /**
274
274
  * Render the status item.
275
275
  */
276
- render(): React.ReactElement<LineColComponent.IProps> | null {
276
+ render(): JSX.Element | null {
277
277
  if (this.model === null) {
278
278
  return null;
279
279
  } else {