@jupyterlab/mainmenu 4.7.0-beta.1 → 4.7.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/view.d.ts CHANGED
@@ -48,5 +48,9 @@ export declare namespace IViewMenu {
48
48
  * A semantic command to match brackets in the editor.
49
49
  */
50
50
  toggleMatchBrackets: SemanticCommand;
51
+ /**
52
+ * A semantic command to show or hide the document toolbar.
53
+ */
54
+ toggleToolbar: SemanticCommand;
51
55
  }
52
56
  }
package/lib/view.js CHANGED
@@ -15,7 +15,8 @@ export class ViewMenu extends RankedMenu {
15
15
  toggleLineNumbers: new SemanticCommand(),
16
16
  toggleMinimap: new SemanticCommand(),
17
17
  toggleMatchBrackets: new SemanticCommand(),
18
- toggleWordWrap: new SemanticCommand()
18
+ toggleWordWrap: new SemanticCommand(),
19
+ toggleToolbar: new SemanticCommand()
19
20
  };
20
21
  }
21
22
  }
package/lib/view.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"view.js","sourceRoot":"","sources":["../src/view.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAG3D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAYvD;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,UAAU;IACtC;;OAEG;IACH,YAAY,OAA6B;QACvC,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,aAAa,GAAG;YACnB,iBAAiB,EAAE,IAAI,eAAe,EAAE;YACxC,aAAa,EAAE,IAAI,eAAe,EAAE;YACpC,mBAAmB,EAAE,IAAI,eAAe,EAAE;YAC1C,cAAc,EAAE,IAAI,eAAe,EAAE;SACtC,CAAC;IACJ,CAAC;CAMF"}
1
+ {"version":3,"file":"view.js","sourceRoot":"","sources":["../src/view.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAG3D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAYvD;;GAEG;AACH,MAAM,OAAO,QAAS,SAAQ,UAAU;IACtC;;OAEG;IACH,YAAY,OAA6B;QACvC,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,aAAa,GAAG;YACnB,iBAAiB,EAAE,IAAI,eAAe,EAAE;YACxC,aAAa,EAAE,IAAI,eAAe,EAAE;YACpC,mBAAmB,EAAE,IAAI,eAAe,EAAE;YAC1C,cAAc,EAAE,IAAI,eAAe,EAAE;YACrC,aAAa,EAAE,IAAI,eAAe,EAAE;SACrC,CAAC;IACJ,CAAC;CAMF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlab/mainmenu",
3
- "version": "4.7.0-beta.1",
3
+ "version": "4.7.0-beta.3",
4
4
  "description": "JupyterLab - Main Menu",
5
5
  "homepage": "https://github.com/jupyterlab/jupyterlab",
6
6
  "bugs": {
@@ -41,16 +41,16 @@
41
41
  "watch": "tsc -b --watch"
42
42
  },
43
43
  "dependencies": {
44
- "@jupyterlab/apputils": "^4.8.0-beta.1",
45
- "@jupyterlab/translation": "^4.7.0-beta.1",
46
- "@jupyterlab/ui-components": "^4.7.0-beta.1",
44
+ "@jupyterlab/apputils": "^4.8.0-beta.3",
45
+ "@jupyterlab/translation": "^4.7.0-beta.3",
46
+ "@jupyterlab/ui-components": "^4.7.0-beta.3",
47
47
  "@lumino/algorithm": "^2.0.5",
48
48
  "@lumino/commands": "^2.3.4",
49
49
  "@lumino/coreutils": "^2.2.3",
50
- "@lumino/widgets": "^2.10.0"
50
+ "@lumino/widgets": "^2.11.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@jupyterlab/testing": "^4.7.0-beta.1",
53
+ "@jupyterlab/testing": "^4.7.0-beta.3",
54
54
  "@types/jest": "^29.2.0",
55
55
  "jest": "^29.2.0",
56
56
  "rimraf": "~5.0.5",
package/src/view.ts CHANGED
@@ -28,7 +28,8 @@ export class ViewMenu extends RankedMenu implements IViewMenu {
28
28
  toggleLineNumbers: new SemanticCommand(),
29
29
  toggleMinimap: new SemanticCommand(),
30
30
  toggleMatchBrackets: new SemanticCommand(),
31
- toggleWordWrap: new SemanticCommand()
31
+ toggleWordWrap: new SemanticCommand(),
32
+ toggleToolbar: new SemanticCommand()
32
33
  };
33
34
  }
34
35
 
@@ -66,5 +67,10 @@ export namespace IViewMenu {
66
67
  * A semantic command to match brackets in the editor.
67
68
  */
68
69
  toggleMatchBrackets: SemanticCommand;
70
+
71
+ /**
72
+ * A semantic command to show or hide the document toolbar.
73
+ */
74
+ toggleToolbar: SemanticCommand;
69
75
  }
70
76
  }