@jupyterlab/outputarea 4.0.0-alpha.4 → 4.0.0-alpha.5

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.
Files changed (2) hide show
  1. package/package.json +10 -10
  2. package/style/base.css +11 -13
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlab/outputarea",
3
- "version": "4.0.0-alpha.4",
3
+ "version": "4.0.0-alpha.5",
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.4",
45
- "@jupyterlab/nbformat": "^4.0.0-alpha.4",
46
- "@jupyterlab/observables": "^5.0.0-alpha.4",
47
- "@jupyterlab/rendermime": "^4.0.0-alpha.4",
48
- "@jupyterlab/rendermime-interfaces": "^4.0.0-alpha.4",
49
- "@jupyterlab/services": "^7.0.0-alpha.4",
44
+ "@jupyterlab/apputils": "^4.0.0-alpha.5",
45
+ "@jupyterlab/nbformat": "^4.0.0-alpha.5",
46
+ "@jupyterlab/observables": "^5.0.0-alpha.5",
47
+ "@jupyterlab/rendermime": "^4.0.0-alpha.5",
48
+ "@jupyterlab/rendermime-interfaces": "^4.0.0-alpha.5",
49
+ "@jupyterlab/services": "^7.0.0-alpha.5",
50
50
  "@lumino/algorithm": "^1.9.1",
51
- "@lumino/coreutils": "^1.11.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.30.0"
56
+ "@lumino/widgets": "^1.31.1"
57
57
  },
58
58
  "devDependencies": {
59
- "@jupyterlab/testutils": "^4.0.0-alpha.4",
59
+ "@jupyterlab/testutils": "^4.0.0-alpha.5",
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
@@ -38,11 +31,13 @@
38
31
  font-size: var(--jp-code-font-size);
39
32
  border: var(--jp-border-width) solid transparent;
40
33
  opacity: var(--jp-cell-prompt-opacity);
34
+
41
35
  /* Right align prompt text, don't wrap to handle large prompt numbers */
42
36
  text-align: right;
43
37
  white-space: nowrap;
44
38
  overflow: hidden;
45
39
  text-overflow: ellipsis;
40
+
46
41
  /* Disable text selection */
47
42
  -webkit-user-select: none;
48
43
  -moz-user-select: none;
@@ -79,7 +74,7 @@ body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated {
79
74
  position: relative;
80
75
  }
81
76
 
82
- body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated:before {
77
+ body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated::before {
83
78
  content: '';
84
79
  position: absolute;
85
80
  top: 0;
@@ -93,8 +88,8 @@ body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated:before {
93
88
 
94
89
  .jp-OutputArea-output pre {
95
90
  border: none;
96
- margin: 0px;
97
- padding: 0px;
91
+ margin: 0;
92
+ padding: 0;
98
93
  overflow-x: auto;
99
94
  overflow-y: auto;
100
95
  word-break: break-all;
@@ -153,7 +148,7 @@ body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated:before {
153
148
  |----------------------------------------------------------------------------*/
154
149
 
155
150
  .jp-OutputArea-output.jp-OutputArea-executeResult {
156
- margin-left: 0px;
151
+ margin-left: 0;
157
152
  width: 100%;
158
153
  }
159
154
 
@@ -189,11 +184,13 @@ body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated:before {
189
184
  background-color: inherit;
190
185
  width: 42%;
191
186
  min-width: 200px;
187
+
192
188
  /* make sure input baseline aligns with prompt */
193
189
  vertical-align: baseline;
190
+
194
191
  /* padding + margin = 0.5em between prompt and cursor */
195
- padding: 0em 0.25em;
196
- margin: 0em 0.25em;
192
+ padding: 0 0.25em;
193
+ margin: 0 0.25em;
197
194
  flex: 0 0 70%;
198
195
  }
199
196
 
@@ -232,6 +229,7 @@ body.lm-mod-override-cursor .jp-OutputArea-output.jp-mod-isolated:before {
232
229
  display: table-row;
233
230
  text-align: left;
234
231
  }
232
+
235
233
  .jp-OutputArea-child .jp-OutputArea-output {
236
234
  display: table-row;
237
235
  margin-left: var(--jp-notebook-padding);