@jupyterlab/outputarea 4.0.0-alpha.3 → 4.0.0-alpha.6
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 +10 -10
- package/style/base.css +13 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlab/outputarea",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.6",
|
|
4
4
|
"description": "JupyterLab - Notebook Output Area",
|
|
5
5
|
"homepage": "https://github.com/jupyterlab/jupyterlab",
|
|
6
6
|
"bugs": {
|
|
@@ -41,22 +41,22 @@
|
|
|
41
41
|
"watch": "tsc -b --watch"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@jupyterlab/apputils": "^4.0.0-alpha.
|
|
45
|
-
"@jupyterlab/nbformat": "^4.0.0-alpha.
|
|
46
|
-
"@jupyterlab/observables": "^5.0.0-alpha.
|
|
47
|
-
"@jupyterlab/rendermime": "^4.0.0-alpha.
|
|
48
|
-
"@jupyterlab/rendermime-interfaces": "^4.0.0-alpha.
|
|
49
|
-
"@jupyterlab/services": "^7.0.0-alpha.
|
|
44
|
+
"@jupyterlab/apputils": "^4.0.0-alpha.6",
|
|
45
|
+
"@jupyterlab/nbformat": "^4.0.0-alpha.6",
|
|
46
|
+
"@jupyterlab/observables": "^5.0.0-alpha.6",
|
|
47
|
+
"@jupyterlab/rendermime": "^4.0.0-alpha.6",
|
|
48
|
+
"@jupyterlab/rendermime-interfaces": "^4.0.0-alpha.6",
|
|
49
|
+
"@jupyterlab/services": "^7.0.0-alpha.6",
|
|
50
50
|
"@lumino/algorithm": "^1.9.1",
|
|
51
|
-
"@lumino/coreutils": "^1.
|
|
51
|
+
"@lumino/coreutils": "^1.12.0",
|
|
52
52
|
"@lumino/disposable": "^1.10.1",
|
|
53
53
|
"@lumino/messaging": "^1.10.1",
|
|
54
54
|
"@lumino/properties": "^1.8.1",
|
|
55
55
|
"@lumino/signaling": "^1.10.1",
|
|
56
|
-
"@lumino/widgets": "^1.
|
|
56
|
+
"@lumino/widgets": "^1.31.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@jupyterlab/testutils": "^4.0.0-alpha.
|
|
59
|
+
"@jupyterlab/testutils": "^4.0.0-alpha.6",
|
|
60
60
|
"@types/jest": "^26.0.10",
|
|
61
61
|
"jest": "^26.4.2",
|
|
62
62
|
"rimraf": "~3.0.0",
|
package/style/base.css
CHANGED
|
@@ -3,13 +3,6 @@
|
|
|
3
3
|
| Distributed under the terms of the Modified BSD License.
|
|
4
4
|
|----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
|
-
/*-----------------------------------------------------------------------------
|
|
7
|
-
| Private CSS variables
|
|
8
|
-
|----------------------------------------------------------------------------*/
|
|
9
|
-
|
|
10
|
-
:root {
|
|
11
|
-
}
|
|
12
|
-
|
|
13
6
|
/*-----------------------------------------------------------------------------
|
|
14
7
|
| Main OutputArea
|
|
15
8
|
| OutputArea has a list of Outputs
|
|
@@ -21,6 +14,7 @@
|
|
|
21
14
|
|
|
22
15
|
.jp-OutputArea-child {
|
|
23
16
|
display: table;
|
|
17
|
+
table-layout: fixed;
|
|
24
18
|
width: 100%;
|
|
25
19
|
overflow: hidden;
|
|
26
20
|
}
|
|
@@ -28,7 +22,7 @@
|
|
|
28
22
|
.jp-OutputPrompt {
|
|
29
23
|
display: table-cell;
|
|
30
24
|
vertical-align: top;
|
|
31
|
-
|
|
25
|
+
width: var(--jp-cell-prompt-width);
|
|
32
26
|
color: var(--jp-cell-outprompt-font-color);
|
|
33
27
|
font-family: var(--jp-cell-prompt-font-family);
|
|
34
28
|
padding: var(--jp-code-padding);
|
|
@@ -37,11 +31,13 @@
|
|
|
37
31
|
font-size: var(--jp-code-font-size);
|
|
38
32
|
border: var(--jp-border-width) solid transparent;
|
|
39
33
|
opacity: var(--jp-cell-prompt-opacity);
|
|
34
|
+
|
|
40
35
|
/* Right align prompt text, don't wrap to handle large prompt numbers */
|
|
41
36
|
text-align: right;
|
|
42
37
|
white-space: nowrap;
|
|
43
38
|
overflow: hidden;
|
|
44
39
|
text-overflow: ellipsis;
|
|
40
|
+
|
|
45
41
|
/* Disable text selection */
|
|
46
42
|
-webkit-user-select: none;
|
|
47
43
|
-moz-user-select: none;
|
|
@@ -78,7 +74,7 @@ body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated {
|
|
|
78
74
|
position: relative;
|
|
79
75
|
}
|
|
80
76
|
|
|
81
|
-
body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated
|
|
77
|
+
body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated::before {
|
|
82
78
|
content: '';
|
|
83
79
|
position: absolute;
|
|
84
80
|
top: 0;
|
|
@@ -92,8 +88,8 @@ body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated:before {
|
|
|
92
88
|
|
|
93
89
|
.jp-OutputArea-output pre {
|
|
94
90
|
border: none;
|
|
95
|
-
margin:
|
|
96
|
-
padding:
|
|
91
|
+
margin: 0;
|
|
92
|
+
padding: 0;
|
|
97
93
|
overflow-x: auto;
|
|
98
94
|
overflow-y: auto;
|
|
99
95
|
word-break: break-all;
|
|
@@ -152,7 +148,7 @@ body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated:before {
|
|
|
152
148
|
|----------------------------------------------------------------------------*/
|
|
153
149
|
|
|
154
150
|
.jp-OutputArea-output.jp-OutputArea-executeResult {
|
|
155
|
-
margin-left:
|
|
151
|
+
margin-left: 0;
|
|
156
152
|
width: 100%;
|
|
157
153
|
}
|
|
158
154
|
|
|
@@ -188,11 +184,13 @@ body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated:before {
|
|
|
188
184
|
background-color: inherit;
|
|
189
185
|
width: 42%;
|
|
190
186
|
min-width: 200px;
|
|
187
|
+
|
|
191
188
|
/* make sure input baseline aligns with prompt */
|
|
192
189
|
vertical-align: baseline;
|
|
190
|
+
|
|
193
191
|
/* padding + margin = 0.5em between prompt and cursor */
|
|
194
|
-
padding:
|
|
195
|
-
margin:
|
|
192
|
+
padding: 0 0.25em;
|
|
193
|
+
margin: 0 0.25em;
|
|
196
194
|
flex: 0 0 70%;
|
|
197
195
|
}
|
|
198
196
|
|
|
@@ -231,6 +229,7 @@ body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated:before {
|
|
|
231
229
|
display: table-row;
|
|
232
230
|
text-align: left;
|
|
233
231
|
}
|
|
232
|
+
|
|
234
233
|
.jp-OutputArea-child .jp-OutputArea-output {
|
|
235
234
|
display: table-row;
|
|
236
235
|
margin-left: var(--jp-notebook-padding);
|