@codingame/monaco-vscode-katex-common 28.0.1 → 28.1.2
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-katex-common",
|
|
3
|
-
"version": "28.
|
|
3
|
+
"version": "28.1.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - common package depending on katex",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "28.
|
|
18
|
+
"@codingame/monaco-vscode-api": "28.1.2",
|
|
19
19
|
"katex": "0.16.27",
|
|
20
20
|
"marked": "14.0.0"
|
|
21
21
|
},
|
|
@@ -106,7 +106,7 @@ let ChatDragAndDrop = class ChatDragAndDrop extends Themable {
|
|
|
106
106
|
overlay.classList.add("chat-dnd-overlay");
|
|
107
107
|
this.updateOverlayStyles(overlay);
|
|
108
108
|
overlayContainer.appendChild(overlay);
|
|
109
|
-
const disposable =
|
|
109
|
+
const disposable = new DragAndDropObserver(target, {
|
|
110
110
|
onDragOver: e => {
|
|
111
111
|
if (this.disableOverlay) {
|
|
112
112
|
return;
|
|
@@ -143,7 +143,7 @@ let ChatDragAndDrop = class ChatDragAndDrop extends Themable {
|
|
|
143
143
|
this.currentActiveTarget = undefined;
|
|
144
144
|
this.onDrop(e, target);
|
|
145
145
|
}
|
|
146
|
-
})
|
|
146
|
+
});
|
|
147
147
|
return {
|
|
148
148
|
overlay,
|
|
149
149
|
disposable
|
|
@@ -16,12 +16,12 @@ let ChatPendingDragController = class ChatPendingDragController extends Disposab
|
|
|
16
16
|
this._insertIndicator = $(".chat-pending-insert-indicator");
|
|
17
17
|
listContainer.append(this._insertIndicator);
|
|
18
18
|
this._register(toDisposable(() => this._insertIndicator.remove()));
|
|
19
|
-
this._register(
|
|
19
|
+
this._register(new DragAndDropObserver(listContainer, {
|
|
20
20
|
onDragOver: e => this._onDragOver(e),
|
|
21
21
|
onDragLeave: () => this._hideIndicator(),
|
|
22
22
|
onDragEnd: () => this._onDragEnd(),
|
|
23
23
|
onDrop: e => this._onDrop(e)
|
|
24
|
-
}))
|
|
24
|
+
}));
|
|
25
25
|
}
|
|
26
26
|
attachDragHandle(element, handleEl, rowContainer, disposables) {
|
|
27
27
|
handleEl.setAttribute("draggable", "true");
|