@codingame/monaco-vscode-workbench-service-override 23.0.4 → 23.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-workbench-service-override",
3
- "version": "23.0.4",
3
+ "version": "23.1.1",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - workbench service-override",
6
6
  "keywords": [],
@@ -15,24 +15,24 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-1021b67c-93e5-5c78-a270-cbdb2574d980-common": "23.0.4",
19
- "@codingame/monaco-vscode-16b9b017-9377-5198-9904-c344b3b2ad14-common": "23.0.4",
20
- "@codingame/monaco-vscode-256d5b78-0649-50e9-8354-2807f95f68f4-common": "23.0.4",
21
- "@codingame/monaco-vscode-3b5a5cd1-d4ff-500a-b609-57e0cd4afa0a-common": "23.0.4",
22
- "@codingame/monaco-vscode-494be54c-bd37-5b3c-af70-02f086e28768-common": "23.0.4",
23
- "@codingame/monaco-vscode-4bf376c2-03c7-58cb-8303-c67aeefa3d3d-common": "23.0.4",
24
- "@codingame/monaco-vscode-6980eeab-47bb-5a48-8e15-32caf0785565-common": "23.0.4",
25
- "@codingame/monaco-vscode-85886bdb-61c5-52f1-8eb7-d1d32f6f8cbd-common": "23.0.4",
26
- "@codingame/monaco-vscode-9c84f943-bcb5-5bcf-92a6-91f66a732f26-common": "23.0.4",
27
- "@codingame/monaco-vscode-9efc1f50-c7de-55d6-8b28-bcc88bd49b5a-common": "23.0.4",
28
- "@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "23.0.4",
29
- "@codingame/monaco-vscode-api": "23.0.4",
30
- "@codingame/monaco-vscode-keybindings-service-override": "23.0.4",
31
- "@codingame/monaco-vscode-quickaccess-service-override": "23.0.4",
32
- "@codingame/monaco-vscode-view-banner-service-override": "23.0.4",
33
- "@codingame/monaco-vscode-view-common-service-override": "23.0.4",
34
- "@codingame/monaco-vscode-view-status-bar-service-override": "23.0.4",
35
- "@codingame/monaco-vscode-view-title-bar-service-override": "23.0.4"
18
+ "@codingame/monaco-vscode-1021b67c-93e5-5c78-a270-cbdb2574d980-common": "23.1.1",
19
+ "@codingame/monaco-vscode-16b9b017-9377-5198-9904-c344b3b2ad14-common": "23.1.1",
20
+ "@codingame/monaco-vscode-256d5b78-0649-50e9-8354-2807f95f68f4-common": "23.1.1",
21
+ "@codingame/monaco-vscode-3b5a5cd1-d4ff-500a-b609-57e0cd4afa0a-common": "23.1.1",
22
+ "@codingame/monaco-vscode-494be54c-bd37-5b3c-af70-02f086e28768-common": "23.1.1",
23
+ "@codingame/monaco-vscode-4bf376c2-03c7-58cb-8303-c67aeefa3d3d-common": "23.1.1",
24
+ "@codingame/monaco-vscode-6980eeab-47bb-5a48-8e15-32caf0785565-common": "23.1.1",
25
+ "@codingame/monaco-vscode-85886bdb-61c5-52f1-8eb7-d1d32f6f8cbd-common": "23.1.1",
26
+ "@codingame/monaco-vscode-9c84f943-bcb5-5bcf-92a6-91f66a732f26-common": "23.1.1",
27
+ "@codingame/monaco-vscode-9efc1f50-c7de-55d6-8b28-bcc88bd49b5a-common": "23.1.1",
28
+ "@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "23.1.1",
29
+ "@codingame/monaco-vscode-api": "23.1.1",
30
+ "@codingame/monaco-vscode-keybindings-service-override": "23.1.1",
31
+ "@codingame/monaco-vscode-quickaccess-service-override": "23.1.1",
32
+ "@codingame/monaco-vscode-view-banner-service-override": "23.1.1",
33
+ "@codingame/monaco-vscode-view-common-service-override": "23.1.1",
34
+ "@codingame/monaco-vscode-view-status-bar-service-override": "23.1.1",
35
+ "@codingame/monaco-vscode-view-title-bar-service-override": "23.1.1"
36
36
  },
37
37
  "main": "index.js",
38
38
  "module": "index.js",
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { onDidChangeFullscreen, isFullscreen, isWCOEnabled } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/browser';
3
- import { Dimension, getActiveDocument, getWindows, getClientArea, getWindow, createElement, addDisposableListener, EventType, isActiveDocument, getActiveElement, getActiveWindow, isAncestorUsingFlowTo, size, computeScreenAwareSize, getWindowId } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
3
+ import { Dimension, getActiveDocument, getWindows, getClientArea, getWindow, createElement, addDisposableListener, EventType, isActiveDocument, getActiveElement, getActiveWindow, isAncestorUsingFlowTo, getFullscreenElement, size, computeScreenAwareSize, getWindowId } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
4
4
  import { setContainerElement } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/domStylesheets';
5
5
  import { SerializableGrid, Sizing, Direction } from '@codingame/monaco-vscode-6980eeab-47bb-5a48-8e15-32caf0785565-common/vscode/vs/base/browser/ui/grid/grid';
6
6
  import { mainWindow } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/window';
@@ -1115,7 +1115,8 @@ class Layout extends Disposable {
1115
1115
  }
1116
1116
  layout() {
1117
1117
  if (!this.disposed) {
1118
- this._mainContainerDimension = getClientArea(this.state.runtime.mainWindowFullscreen ?
1118
+ const fullscreenElement = getFullscreenElement(mainWindow.document);
1119
+ this._mainContainerDimension = getClientArea(this.state.runtime.mainWindowFullscreen && this.mainContainer === fullscreenElement ?
1119
1120
  mainWindow.document.body :
1120
1121
  this.parent,
1121
1122
  this.contextService.getWorkbenchState() === WorkbenchState.EMPTY ? DEFAULT_EMPTY_WINDOW_DIMENSIONS : DEFAULT_WORKSPACE_WINDOW_DIMENSIONS
@@ -55,7 +55,7 @@ class NotificationAccessibleView {
55
55
  if (!notification || !message) {
56
56
  return;
57
57
  }
58
- return withSeverityPrefix(notification.source ? ( localize(3461, '{0} Source: {1}', message, notification.source)) : message, notification.severity);
58
+ return withSeverityPrefix(notification.source ? ( localize(3480, '{0} Source: {1}', message, notification.source)) : message, notification.severity);
59
59
  }
60
60
  const content = getContentForNotification();
61
61
  if (!content) {
@@ -118,7 +118,7 @@ function getActionsFromNotification(notification, accessibilitySignalService) {
118
118
  }
119
119
  if (actions) {
120
120
  actions.push({
121
- id: 'clearNotification', label: ( localize(3462, "Clear Notification")), tooltip: ( localize(3462, "Clear Notification")), run: () => {
121
+ id: 'clearNotification', label: ( localize(3481, "Clear Notification")), tooltip: ( localize(3481, "Clear Notification")), run: () => {
122
122
  notification.close();
123
123
  accessibilitySignalService.playSignal(AccessibilitySignal.clear);
124
124
  }, enabled: true, class: ThemeIcon.asClassName(Codicon.clearAll)