@jupyter-notebook/help-extension 7.0.0-alpha.6 → 7.0.0-alpha.8
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/index.js +9 -4
- package/package.json +6 -6
- package/style/base.css +17 -1
package/lib/index.js
CHANGED
|
@@ -80,13 +80,18 @@ const plugin = {
|
|
|
80
80
|
React.createElement("span", { className: "jp-AboutNotebook-header" },
|
|
81
81
|
React.createElement(jupyterIcon.react, { width: "196px", height: "auto" }))));
|
|
82
82
|
const notebookURL = 'https://github.com/jupyter/notebook';
|
|
83
|
-
const
|
|
83
|
+
const contributorURL = 'https://github.com/jupyter/notebook/pulse';
|
|
84
|
+
const aboutJupyter = trans.__('JUPYTER NOTEBOOK ON GITHUB');
|
|
85
|
+
const contributorList = trans.__('CONTRIBUTOR LIST');
|
|
84
86
|
const externalLinks = (React.createElement("span", null,
|
|
85
|
-
React.createElement("a", { href: notebookURL, target: "_blank", rel: "noopener noreferrer", className: "jp-Button-flat jp-AboutNotebook-about-externalLinks" },
|
|
87
|
+
React.createElement("a", { href: notebookURL, target: "_blank", rel: "noopener noreferrer", className: "jp-Button-flat jp-AboutNotebook-about-externalLinks" }, aboutJupyter),
|
|
88
|
+
React.createElement("a", { href: contributorURL, target: "_blank", rel: "noopener noreferrer", className: "jp-Button-flat jp-AboutNotebook-about-externalLinks" }, contributorList)));
|
|
86
89
|
const version = trans.__('Version: %1', app.version);
|
|
90
|
+
const copyright = trans.__('© 2021-2022 Jupyter Notebook Contributors');
|
|
87
91
|
const body = (React.createElement(React.Fragment, null,
|
|
88
|
-
React.createElement("span", { className: "jp-AboutNotebook-
|
|
89
|
-
React.createElement("div", null, externalLinks)
|
|
92
|
+
React.createElement("span", { className: "jp-AboutNotebook-version" }, version),
|
|
93
|
+
React.createElement("div", null, externalLinks),
|
|
94
|
+
React.createElement("span", { className: "jp-AboutNotebook-about-copyright" }, copyright)));
|
|
90
95
|
const dialog = new Dialog({
|
|
91
96
|
title,
|
|
92
97
|
body,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyter-notebook/help-extension",
|
|
3
|
-
"version": "7.0.0-alpha.
|
|
3
|
+
"version": "7.0.0-alpha.8",
|
|
4
4
|
"description": "Jupyter Notebook - Help Extension",
|
|
5
5
|
"homepage": "https://github.com/jupyter/notebook",
|
|
6
6
|
"bugs": {
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"watch": "tsc -b --watch"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@jupyter-notebook/ui-components": "^7.0.0-alpha.
|
|
43
|
-
"@jupyterlab/application": "^4.0.0-alpha.
|
|
44
|
-
"@jupyterlab/apputils": "^4.0.0-alpha.
|
|
45
|
-
"@jupyterlab/mainmenu": "^4.0.0-alpha.
|
|
46
|
-
"@jupyterlab/translation": "^4.0.0-alpha.
|
|
42
|
+
"@jupyter-notebook/ui-components": "^7.0.0-alpha.8",
|
|
43
|
+
"@jupyterlab/application": "^4.0.0-alpha.15",
|
|
44
|
+
"@jupyterlab/apputils": "^4.0.0-alpha.15",
|
|
45
|
+
"@jupyterlab/mainmenu": "^4.0.0-alpha.15",
|
|
46
|
+
"@jupyterlab/translation": "^4.0.0-alpha.15"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"rimraf": "^3.0.2",
|
package/style/base.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
.jp-AboutNotebook .jp-Dialog-header {
|
|
2
2
|
justify-content: center;
|
|
3
|
+
padding: 0;
|
|
3
4
|
}
|
|
4
5
|
|
|
5
6
|
.jp-AboutNotebook-header {
|
|
@@ -13,12 +14,23 @@
|
|
|
13
14
|
margin-left: 16px;
|
|
14
15
|
}
|
|
15
16
|
|
|
17
|
+
.jp-AboutNotebook-version {
|
|
18
|
+
color: var(--jp-ui-font-color1);
|
|
19
|
+
font-size: var(--jp-ui-font-size1);
|
|
20
|
+
padding: var(--jp-flat-button-padding);
|
|
21
|
+
font-weight: 400;
|
|
22
|
+
letter-spacing: 0.4px;
|
|
23
|
+
line-height: 1.12;
|
|
24
|
+
min-width: 360px;
|
|
25
|
+
text-align: center;
|
|
26
|
+
}
|
|
27
|
+
|
|
16
28
|
.jp-AboutNotebook-body {
|
|
17
29
|
display: flex;
|
|
18
30
|
font-size: var(--jp-ui-font-size2);
|
|
19
31
|
padding: var(--jp-flat-button-padding);
|
|
20
32
|
color: var(--jp-ui-font-color1);
|
|
21
|
-
text-align:
|
|
33
|
+
text-align: center;
|
|
22
34
|
flex-direction: column;
|
|
23
35
|
min-width: 360px;
|
|
24
36
|
overflow: hidden;
|
|
@@ -37,6 +49,10 @@
|
|
|
37
49
|
color: var(--jp-warn-color0);
|
|
38
50
|
}
|
|
39
51
|
|
|
52
|
+
.jp-AboutNotebook-about-copyright {
|
|
53
|
+
padding-top: 25px;
|
|
54
|
+
}
|
|
55
|
+
|
|
40
56
|
.jp-AboutNotebook-shortcuts {
|
|
41
57
|
padding: 10px;
|
|
42
58
|
}
|