@codingame/monaco-vscode-view-title-bar-service-override 19.0.2 → 19.1.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-view-title-bar-service-override",
|
|
3
|
-
"version": "19.0
|
|
3
|
+
"version": "19.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - view-title-bar service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common": "19.0
|
|
19
|
-
"@codingame/monaco-vscode-40cada32-7e9c-528a-81fc-766e4da54147-common": "19.0
|
|
20
|
-
"@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "19.0
|
|
21
|
-
"@codingame/monaco-vscode-85886bdb-61c5-52f1-8eb7-d1d32f6f8cbd-common": "19.0
|
|
22
|
-
"@codingame/monaco-vscode-96e83782-7f38-572e-8787-02e981f1c54f-common": "19.0
|
|
23
|
-
"@codingame/monaco-vscode-api": "19.0
|
|
24
|
-
"@codingame/monaco-vscode-da4efea3-7112-5351-9c1d-60017cbd9532-common": "19.0
|
|
25
|
-
"@codingame/monaco-vscode-dbfe5f85-b426-55ed-a79b-5f811b395762-common": "19.0
|
|
26
|
-
"@codingame/monaco-vscode-e7671ac2-ad6e-5d29-8b2e-8bc090939746-common": "19.0
|
|
18
|
+
"@codingame/monaco-vscode-34a0ffd3-b9f5-5699-b43b-38af5732f38a-common": "19.1.0",
|
|
19
|
+
"@codingame/monaco-vscode-40cada32-7e9c-528a-81fc-766e4da54147-common": "19.1.0",
|
|
20
|
+
"@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "19.1.0",
|
|
21
|
+
"@codingame/monaco-vscode-85886bdb-61c5-52f1-8eb7-d1d32f6f8cbd-common": "19.1.0",
|
|
22
|
+
"@codingame/monaco-vscode-96e83782-7f38-572e-8787-02e981f1c54f-common": "19.1.0",
|
|
23
|
+
"@codingame/monaco-vscode-api": "19.1.0",
|
|
24
|
+
"@codingame/monaco-vscode-da4efea3-7112-5351-9c1d-60017cbd9532-common": "19.1.0",
|
|
25
|
+
"@codingame/monaco-vscode-dbfe5f85-b426-55ed-a79b-5f811b395762-common": "19.1.0",
|
|
26
|
+
"@codingame/monaco-vscode-e7671ac2-ad6e-5d29-8b2e-8bc090939746-common": "19.1.0"
|
|
27
27
|
},
|
|
28
28
|
"main": "index.js",
|
|
29
29
|
"module": "index.js",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
-
import { isActiveDocument, reset } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
3
|
+
import { createElement, isActiveDocument, reset } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
4
4
|
import { BaseActionViewItem } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/actionbar/actionViewItems';
|
|
5
5
|
import { getDefaultHoverDelegate } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/hover/hoverDelegateFactory';
|
|
6
6
|
import { renderIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/iconLabel/iconLabels';
|
|
@@ -24,7 +24,7 @@ let CommandCenterControl = class CommandCenterControl {
|
|
|
24
24
|
this._disposables = ( new DisposableStore());
|
|
25
25
|
this._onDidChangeVisibility = this._disposables.add(( new Emitter()));
|
|
26
26
|
this.onDidChangeVisibility = this._onDidChangeVisibility.event;
|
|
27
|
-
this.element =
|
|
27
|
+
this.element = createElement('div');
|
|
28
28
|
this.element.classList.add('command-center');
|
|
29
29
|
const titleToolbar = instantiationService.createInstance(MenuWorkbenchToolBar, this.element, MenuId.CommandCenter, {
|
|
30
30
|
contextMenu: MenuId.TitleBarContext,
|
|
@@ -111,12 +111,12 @@ let CommandCenterCenterViewItem = class CommandCenterCenterViewItem extends Base
|
|
|
111
111
|
container.classList.toggle('command-center-quick-pick');
|
|
112
112
|
container.role = 'button';
|
|
113
113
|
const action = this.action;
|
|
114
|
-
const searchIcon =
|
|
114
|
+
const searchIcon = createElement('span');
|
|
115
115
|
searchIcon.ariaHidden = 'true';
|
|
116
116
|
searchIcon.className = action.class ?? '';
|
|
117
117
|
searchIcon.classList.add('search-icon');
|
|
118
118
|
const label = this._getLabel();
|
|
119
|
-
const labelElement =
|
|
119
|
+
const labelElement = createElement('span');
|
|
120
120
|
labelElement.classList.add('search-label');
|
|
121
121
|
labelElement.innerText = label;
|
|
122
122
|
reset(container, searchIcon, labelElement);
|