@codingame/monaco-vscode-monarch-service-override 12.0.0 → 13.0.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/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +4 -4
- package/vscode/src/vs/editor/standalone/browser/inspectTokens/inspectTokens.css.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/inspectTokens/inspectTokens.js +14 -14
- package/vscode/src/vs/editor/standalone/browser/toggleHighContrast/toggleHighContrast.js +5 -5
package/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type IEditorOverrideServices } from "vscode/vscode/vs/editor/standalone/browser/standaloneServices";
|
|
1
|
+
import { type IEditorOverrideServices } from "@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices";
|
|
2
2
|
export default function getServiceOverride(): IEditorOverrideServices;
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import 'vscode/vscode/vs/editor/standalone/browser/standaloneServices';
|
|
2
|
+
import '@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices';
|
|
3
3
|
import './vscode/src/vs/editor/standalone/browser/inspectTokens/inspectTokens.js';
|
|
4
4
|
import './vscode/src/vs/editor/standalone/browser/toggleHighContrast/toggleHighContrast.js';
|
|
5
5
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-monarch-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - monarch service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"url": "git+ssh://git@github.com/CodinGame/monaco-vscode-api.git"
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
|
-
"dependencies": {
|
|
18
|
-
|
|
17
|
+
"dependencies": {},
|
|
18
|
+
"peerDependencies": {
|
|
19
|
+
"@codingame/monaco-vscode-api": "13.0.0"
|
|
19
20
|
},
|
|
20
|
-
"peerDependencies": {},
|
|
21
21
|
"peerDependenciesMeta": {},
|
|
22
22
|
"main": "index.js",
|
|
23
23
|
"module": "index.js",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import n from 'vscode/external/rollup-plugin-styles/dist/runtime/inject-css';
|
|
1
|
+
import n from '@codingame/monaco-vscode-api/external/rollup-plugin-styles/dist/runtime/inject-css';
|
|
2
2
|
|
|
3
3
|
var css = ".monaco-editor .tokens-inspect-widget{background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border);color:var(--vscode-editorHoverWidget-foreground);padding:10px;user-select:text;-webkit-user-select:text;z-index:50}.monaco-editor.hc-black .tokens-inspect-widget,.monaco-editor.hc-light .tokens-inspect-widget{border-width:2px}.monaco-editor .tokens-inspect-widget .tokens-inspect-separator{background-color:var(--vscode-editorHoverWidget-border);border:0;height:1px}.monaco-editor .tokens-inspect-widget .tm-token{font-family:var(--monaco-monospace-font)}.monaco-editor .tokens-inspect-widget .tm-token-length{float:right;font-size:60%;font-weight:400}.monaco-editor .tokens-inspect-widget .tm-metadata-table{width:100%}.monaco-editor .tokens-inspect-widget .tm-metadata-value{font-family:var(--monaco-monospace-font);text-align:right}.monaco-editor .tokens-inspect-widget .tm-token-type{font-family:var(--monaco-monospace-font)}";
|
|
4
4
|
n(css,{});
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
3
|
import './inspectTokens.css.js';
|
|
4
|
-
import { reset, $, append } from 'vscode/vscode/vs/base/browser/dom';
|
|
5
|
-
import { CharCode } from 'vscode/vscode/vs/base/common/charCode';
|
|
6
|
-
import { Color } from 'vscode/vscode/vs/base/common/color';
|
|
7
|
-
import { KeyCode } from 'vscode/vscode/vs/base/common/keyCodes';
|
|
8
|
-
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
9
|
-
import { ContentWidgetPositionPreference } from 'vscode/vscode/vs/editor/browser/editorBrowser';
|
|
10
|
-
import { EditorAction, registerEditorContribution, EditorContributionInstantiation, registerEditorAction } from 'vscode/vscode/vs/editor/browser/editorExtensions';
|
|
11
|
-
import { TokenizationRegistry } from 'vscode/vscode/vs/editor/common/languages';
|
|
12
|
-
import { TokenMetadata, StandardTokenType, FontStyle } from 'vscode/vscode/vs/editor/common/encodedTokenAttributes';
|
|
13
|
-
import { NullState, nullTokenize, nullTokenizeEncoded } from 'vscode/vscode/vs/editor/common/languages/nullTokenize';
|
|
14
|
-
import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
|
|
15
|
-
import { IStandaloneThemeService } from 'vscode/vscode/vs/editor/standalone/common/standaloneTheme';
|
|
16
|
-
import { InspectTokensNLS } from 'vscode/vscode/vs/editor/common/standaloneStrings';
|
|
4
|
+
import { reset, $, append } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
|
|
5
|
+
import { CharCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/charCode';
|
|
6
|
+
import { Color } from '@codingame/monaco-vscode-api/vscode/vs/base/common/color';
|
|
7
|
+
import { KeyCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
|
|
8
|
+
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
9
|
+
import { ContentWidgetPositionPreference } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorBrowser';
|
|
10
|
+
import { EditorAction, registerEditorContribution, EditorContributionInstantiation, registerEditorAction } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions';
|
|
11
|
+
import { TokenizationRegistry } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages';
|
|
12
|
+
import { TokenMetadata, StandardTokenType, FontStyle } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/encodedTokenAttributes';
|
|
13
|
+
import { NullState, nullTokenize, nullTokenizeEncoded } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/nullTokenize';
|
|
14
|
+
import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language';
|
|
15
|
+
import { IStandaloneThemeService } from '@codingame/monaco-vscode-api/vscode/vs/editor/standalone/common/standaloneTheme';
|
|
16
|
+
import { InspectTokensNLS } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/standaloneStrings';
|
|
17
17
|
|
|
18
18
|
var InspectTokensController_1;
|
|
19
19
|
let InspectTokensController = class InspectTokensController extends Disposable {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import { EditorAction, registerEditorAction } from 'vscode/vscode/vs/editor/browser/editorExtensions';
|
|
3
|
-
import { IStandaloneThemeService } from 'vscode/vscode/vs/editor/standalone/common/standaloneTheme';
|
|
4
|
-
import { ToggleHighContrastNLS } from 'vscode/vscode/vs/editor/common/standaloneStrings';
|
|
5
|
-
import { isHighContrast, isDark } from 'vscode/vscode/vs/platform/theme/common/theme';
|
|
6
|
-
import { VS_DARK_THEME_NAME, VS_LIGHT_THEME_NAME, HC_BLACK_THEME_NAME, HC_LIGHT_THEME_NAME } from 'vscode/vscode/vs/editor/standalone/browser/standaloneThemeService';
|
|
2
|
+
import { EditorAction, registerEditorAction } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions';
|
|
3
|
+
import { IStandaloneThemeService } from '@codingame/monaco-vscode-api/vscode/vs/editor/standalone/common/standaloneTheme';
|
|
4
|
+
import { ToggleHighContrastNLS } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/standaloneStrings';
|
|
5
|
+
import { isHighContrast, isDark } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/theme';
|
|
6
|
+
import { VS_DARK_THEME_NAME, VS_LIGHT_THEME_NAME, HC_BLACK_THEME_NAME, HC_LIGHT_THEME_NAME } from '@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneThemeService';
|
|
7
7
|
|
|
8
8
|
class ToggleHighContrast extends EditorAction {
|
|
9
9
|
constructor() {
|