@jupyterlab/settingregistry 3.3.0 → 3.3.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/lib/plugin-schema.json +31 -1
- package/lib/tokens.d.ts +6 -1
- package/package.json +3 -3
package/lib/plugin-schema.json
CHANGED
|
@@ -197,23 +197,53 @@
|
|
|
197
197
|
"shortcut": {
|
|
198
198
|
"properties": {
|
|
199
199
|
"args": {
|
|
200
|
+
"title": "The arguments for the command",
|
|
200
201
|
"type": "object"
|
|
201
202
|
},
|
|
202
203
|
"command": {
|
|
204
|
+
"title": "The command id",
|
|
205
|
+
"description": "The command executed when the binding is matched.",
|
|
203
206
|
"type": "string"
|
|
204
207
|
},
|
|
205
208
|
"disabled": {
|
|
209
|
+
"description": "Whether this shortcut is disabled or not.",
|
|
206
210
|
"type": "boolean",
|
|
207
211
|
"default": false
|
|
208
212
|
},
|
|
209
213
|
"keys": {
|
|
214
|
+
"title": "The key sequence for the binding",
|
|
215
|
+
"description": "The key shortcut like `Accel A` or the sequence of shortcuts to press like [`Accel A`, `B`]",
|
|
216
|
+
"items": {
|
|
217
|
+
"type": "string"
|
|
218
|
+
},
|
|
219
|
+
"type": "array"
|
|
220
|
+
},
|
|
221
|
+
"macKeys": {
|
|
222
|
+
"title": "The key sequence for the binding on macOS",
|
|
223
|
+
"description": "The key shortcut like `Cmd A` or the sequence of shortcuts to press like [`Cmd A`, `B`]",
|
|
224
|
+
"items": {
|
|
225
|
+
"type": "string"
|
|
226
|
+
},
|
|
227
|
+
"type": "array"
|
|
228
|
+
},
|
|
229
|
+
"winKeys": {
|
|
230
|
+
"title": "The key sequence for the binding on Windows",
|
|
231
|
+
"description": "The key shortcut like `Ctrl A` or the sequence of shortcuts to press like [`Ctrl A`, `B`]",
|
|
232
|
+
"items": {
|
|
233
|
+
"type": "string"
|
|
234
|
+
},
|
|
235
|
+
"type": "array"
|
|
236
|
+
},
|
|
237
|
+
"linuxKeys": {
|
|
238
|
+
"title": "The key sequence for the binding on Linux",
|
|
239
|
+
"description": "The key shortcut like `Ctrl A` or the sequence of shortcuts to press like [`Ctrl A`, `B`]",
|
|
210
240
|
"items": {
|
|
211
241
|
"type": "string"
|
|
212
242
|
},
|
|
213
|
-
"minItems": 1,
|
|
214
243
|
"type": "array"
|
|
215
244
|
},
|
|
216
245
|
"selector": {
|
|
246
|
+
"title": "CSS selector",
|
|
217
247
|
"type": "string"
|
|
218
248
|
}
|
|
219
249
|
},
|
package/lib/tokens.d.ts
CHANGED
|
@@ -486,7 +486,12 @@ export declare namespace ISettingRegistry {
|
|
|
486
486
|
*/
|
|
487
487
|
disabled?: boolean;
|
|
488
488
|
/**
|
|
489
|
-
* The key
|
|
489
|
+
* The key sequence of the shortcut.
|
|
490
|
+
*
|
|
491
|
+
* ### Notes
|
|
492
|
+
*
|
|
493
|
+
* If this is a list like `['Ctrl A', 'B']`, the user needs to press
|
|
494
|
+
* `Ctrl A` followed by `B` to trigger the shortcuts.
|
|
490
495
|
*/
|
|
491
496
|
keys: string[];
|
|
492
497
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlab/settingregistry",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.1",
|
|
4
4
|
"description": "Settings registry for Jupyterlab",
|
|
5
5
|
"homepage": "https://github.com/jupyterlab/jupyterlab",
|
|
6
6
|
"bugs": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"watch": "tsc -b --watch"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@jupyterlab/statedb": "^3.3.
|
|
38
|
+
"@jupyterlab/statedb": "^3.3.1",
|
|
39
39
|
"@lumino/commands": "^1.12.0",
|
|
40
40
|
"@lumino/coreutils": "^1.5.3",
|
|
41
41
|
"@lumino/disposable": "^1.4.3",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"json5": "^2.1.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@jupyterlab/testutils": "^3.3.
|
|
47
|
+
"@jupyterlab/testutils": "^3.3.1",
|
|
48
48
|
"@types/jest": "^26.0.10",
|
|
49
49
|
"@types/json5": "^0.0.30",
|
|
50
50
|
"jest": "^26.4.2",
|