@codingame/monaco-vscode-notifications-service-override 1.82.6 → 1.83.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-notifications-service-override",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.83.1",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
},
|
|
14
14
|
"type": "module",
|
|
15
15
|
"private": false,
|
|
16
|
-
"description": "VSCode public API plugged on the monaco editor - notifications service-override
|
|
16
|
+
"description": "VSCode public API plugged on the monaco editor - notifications service-override",
|
|
17
17
|
"main": "index.js",
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@1.
|
|
22
|
-
"monaco-editor": "0.
|
|
21
|
+
"vscode": "npm:@codingame/monaco-vscode-api@1.83.1",
|
|
22
|
+
"monaco-editor": "0.44.0"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -110,10 +110,10 @@ class NotificationMessageRenderer {
|
|
|
110
110
|
};
|
|
111
111
|
const onClick = actionHandler.toDispose.add(( new DomEmitter(anchor, EventType.CLICK))).event;
|
|
112
112
|
const onKeydown = actionHandler.toDispose.add(( new DomEmitter(anchor, EventType.KEY_DOWN))).event;
|
|
113
|
-
const onSpaceOrEnter =
|
|
113
|
+
const onSpaceOrEnter = Event.chain(onKeydown, $ => $.filter(e => {
|
|
114
114
|
const event = ( new StandardKeyboardEvent(e));
|
|
115
115
|
return event.equals(10 ) || event.equals(3 );
|
|
116
|
-
})
|
|
116
|
+
}));
|
|
117
117
|
actionHandler.toDispose.add(Gesture.addTarget(anchor));
|
|
118
118
|
const onTap = actionHandler.toDispose.add(( new DomEmitter(anchor, EventType$1.Tap))).event;
|
|
119
119
|
Event.any(onClick, onTap, onSpaceOrEnter)(handleOpen, null, actionHandler.toDispose);
|