@jupyterlab/apputils-extension 4.5.2 → 4.6.0-alpha.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/announcements.js +1 -1
- package/package.json +22 -14
- package/schema/themes.json +20 -1
- package/src/announcements.ts +1 -1
package/lib/announcements.js
CHANGED
|
@@ -10,7 +10,7 @@ import { ITranslator, nullTranslator } from '@jupyterlab/translation';
|
|
|
10
10
|
const COMMAND_HELP_OPEN = 'help:open';
|
|
11
11
|
const NEWS_API_URL = '/lab/api/news';
|
|
12
12
|
const UPDATE_API_URL = '/lab/api/update';
|
|
13
|
-
const PRIVACY_URL = 'https://jupyterlab.readthedocs.io/en/
|
|
13
|
+
const PRIVACY_URL = 'https://jupyterlab.readthedocs.io/en/latest/privacy_policies.html';
|
|
14
14
|
/**
|
|
15
15
|
* Call the announcement API
|
|
16
16
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlab/apputils-extension",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.0-alpha.1",
|
|
4
4
|
"description": "JupyterLab - Application Utilities Extension",
|
|
5
5
|
"homepage": "https://github.com/jupyterlab/jupyterlab",
|
|
6
6
|
"bugs": {
|
|
@@ -33,23 +33,28 @@
|
|
|
33
33
|
],
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "tsc -b",
|
|
36
|
+
"build:test": "tsc --build tsconfig.test.json",
|
|
36
37
|
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
|
|
38
|
+
"test": "jest",
|
|
39
|
+
"test:cov": "jest --collect-coverage",
|
|
40
|
+
"test:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand",
|
|
41
|
+
"test:debug:watch": "node --inspect-brk ../../node_modules/.bin/jest --runInBand --watch",
|
|
37
42
|
"watch": "tsc -b --watch"
|
|
38
43
|
},
|
|
39
44
|
"dependencies": {
|
|
40
|
-
"@jupyterlab/application": "^4.
|
|
41
|
-
"@jupyterlab/apputils": "^4.
|
|
42
|
-
"@jupyterlab/coreutils": "^6.
|
|
43
|
-
"@jupyterlab/docregistry": "^4.
|
|
44
|
-
"@jupyterlab/mainmenu": "^4.
|
|
45
|
-
"@jupyterlab/rendermime-interfaces": "^3.
|
|
46
|
-
"@jupyterlab/services": "^7.
|
|
47
|
-
"@jupyterlab/settingregistry": "^4.
|
|
48
|
-
"@jupyterlab/statedb": "^4.
|
|
49
|
-
"@jupyterlab/statusbar": "^4.
|
|
50
|
-
"@jupyterlab/translation": "^4.
|
|
51
|
-
"@jupyterlab/ui-components": "^4.
|
|
52
|
-
"@jupyterlab/workspaces": "^4.
|
|
45
|
+
"@jupyterlab/application": "^4.6.0-alpha.1",
|
|
46
|
+
"@jupyterlab/apputils": "^4.7.0-alpha.1",
|
|
47
|
+
"@jupyterlab/coreutils": "^6.6.0-alpha.1",
|
|
48
|
+
"@jupyterlab/docregistry": "^4.6.0-alpha.1",
|
|
49
|
+
"@jupyterlab/mainmenu": "^4.6.0-alpha.1",
|
|
50
|
+
"@jupyterlab/rendermime-interfaces": "^3.14.0-alpha.1",
|
|
51
|
+
"@jupyterlab/services": "^7.6.0-alpha.1",
|
|
52
|
+
"@jupyterlab/settingregistry": "^4.6.0-alpha.1",
|
|
53
|
+
"@jupyterlab/statedb": "^4.6.0-alpha.1",
|
|
54
|
+
"@jupyterlab/statusbar": "^4.6.0-alpha.1",
|
|
55
|
+
"@jupyterlab/translation": "^4.6.0-alpha.1",
|
|
56
|
+
"@jupyterlab/ui-components": "^4.6.0-alpha.1",
|
|
57
|
+
"@jupyterlab/workspaces": "^4.6.0-alpha.1",
|
|
53
58
|
"@lumino/algorithm": "^2.0.4",
|
|
54
59
|
"@lumino/commands": "^2.3.3",
|
|
55
60
|
"@lumino/coreutils": "^2.2.2",
|
|
@@ -62,6 +67,9 @@
|
|
|
62
67
|
"react-toastify": "^9.0.8"
|
|
63
68
|
},
|
|
64
69
|
"devDependencies": {
|
|
70
|
+
"@jupyterlab/testing": "^4.6.0-alpha.1",
|
|
71
|
+
"@types/jest": "^29.2.0",
|
|
72
|
+
"jest": "^29.2.0",
|
|
65
73
|
"rimraf": "~5.0.5",
|
|
66
74
|
"typescript": "~5.5.4"
|
|
67
75
|
},
|
package/schema/themes.json
CHANGED
|
@@ -101,6 +101,21 @@
|
|
|
101
101
|
"ui-font-size1": {
|
|
102
102
|
"type": ["string", "null"],
|
|
103
103
|
"description": "font-size"
|
|
104
|
+
},
|
|
105
|
+
"rendermime-error-background": {
|
|
106
|
+
"title": "Error Background Color",
|
|
107
|
+
"description": "Background color for error output",
|
|
108
|
+
"type": "object",
|
|
109
|
+
"properties": {
|
|
110
|
+
"light": {
|
|
111
|
+
"type": ["string", "null"],
|
|
112
|
+
"description": "Background color to use in light theme"
|
|
113
|
+
},
|
|
114
|
+
"dark": {
|
|
115
|
+
"type": ["string", "null"],
|
|
116
|
+
"description": "Background color to use in dark theme"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
104
119
|
}
|
|
105
120
|
}
|
|
106
121
|
}
|
|
@@ -148,7 +163,11 @@
|
|
|
148
163
|
"content-font-size1": null,
|
|
149
164
|
|
|
150
165
|
"ui-font-family": null,
|
|
151
|
-
"ui-font-size1": null
|
|
166
|
+
"ui-font-size1": null,
|
|
167
|
+
"rendermime-error-background": {
|
|
168
|
+
"light": null,
|
|
169
|
+
"dark": null
|
|
170
|
+
}
|
|
152
171
|
}
|
|
153
172
|
}
|
|
154
173
|
}
|
package/src/announcements.ts
CHANGED
|
@@ -21,7 +21,7 @@ const COMMAND_HELP_OPEN = 'help:open';
|
|
|
21
21
|
const NEWS_API_URL = '/lab/api/news';
|
|
22
22
|
const UPDATE_API_URL = '/lab/api/update';
|
|
23
23
|
const PRIVACY_URL =
|
|
24
|
-
'https://jupyterlab.readthedocs.io/en/
|
|
24
|
+
'https://jupyterlab.readthedocs.io/en/latest/privacy_policies.html';
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* Call the announcement API
|