@jupyterlab/cells 4.0.5 → 4.0.7

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlab/cells",
3
- "version": "4.0.5",
3
+ "version": "4.0.7",
4
4
  "description": "JupyterLab - Notebook Cells",
5
5
  "homepage": "https://github.com/jupyterlab/jupyterlab",
6
6
  "bugs": {
@@ -46,21 +46,21 @@
46
46
  "@codemirror/state": "^6.2.0",
47
47
  "@codemirror/view": "^6.9.6",
48
48
  "@jupyter/ydoc": "^1.0.2",
49
- "@jupyterlab/apputils": "^4.1.5",
50
- "@jupyterlab/attachments": "^4.0.5",
51
- "@jupyterlab/codeeditor": "^4.0.5",
52
- "@jupyterlab/codemirror": "^4.0.5",
53
- "@jupyterlab/coreutils": "^6.0.5",
54
- "@jupyterlab/documentsearch": "^4.0.5",
55
- "@jupyterlab/filebrowser": "^4.0.5",
56
- "@jupyterlab/nbformat": "^4.0.5",
57
- "@jupyterlab/observables": "^5.0.5",
58
- "@jupyterlab/outputarea": "^4.0.5",
59
- "@jupyterlab/rendermime": "^4.0.5",
60
- "@jupyterlab/services": "^7.0.5",
61
- "@jupyterlab/toc": "^6.0.5",
62
- "@jupyterlab/translation": "^4.0.5",
63
- "@jupyterlab/ui-components": "^4.0.5",
49
+ "@jupyterlab/apputils": "^4.1.7",
50
+ "@jupyterlab/attachments": "^4.0.7",
51
+ "@jupyterlab/codeeditor": "^4.0.7",
52
+ "@jupyterlab/codemirror": "^4.0.7",
53
+ "@jupyterlab/coreutils": "^6.0.7",
54
+ "@jupyterlab/documentsearch": "^4.0.7",
55
+ "@jupyterlab/filebrowser": "^4.0.7",
56
+ "@jupyterlab/nbformat": "^4.0.7",
57
+ "@jupyterlab/observables": "^5.0.7",
58
+ "@jupyterlab/outputarea": "^4.0.7",
59
+ "@jupyterlab/rendermime": "^4.0.7",
60
+ "@jupyterlab/services": "^7.0.7",
61
+ "@jupyterlab/toc": "^6.0.7",
62
+ "@jupyterlab/translation": "^4.0.7",
63
+ "@jupyterlab/ui-components": "^4.0.7",
64
64
  "@lumino/algorithm": "^2.0.1",
65
65
  "@lumino/coreutils": "^2.1.2",
66
66
  "@lumino/domutils": "^2.0.1",
@@ -73,7 +73,7 @@
73
73
  "react": "^18.2.0"
74
74
  },
75
75
  "devDependencies": {
76
- "@jupyterlab/testing": "^4.0.5",
76
+ "@jupyterlab/testing": "^4.0.7",
77
77
  "@types/jest": "^29.2.0",
78
78
  "@types/react": "^18.0.26",
79
79
  "jest": "^29.2.0",
@@ -9,16 +9,15 @@
9
9
 
10
10
  /* All input areas */
11
11
  .jp-InputArea {
12
- display: table;
13
- table-layout: fixed;
12
+ display: flex;
13
+ flex-direction: row;
14
14
  width: 100%;
15
15
  overflow: hidden;
16
16
  }
17
17
 
18
18
  .jp-InputArea-editor {
19
- display: table-cell;
19
+ flex: 1 1 auto;
20
20
  overflow: hidden;
21
- vertical-align: top;
22
21
 
23
22
  /* This is the non-active, default styling */
24
23
  border: var(--jp-border-width) solid var(--jp-cell-editor-border-color);
@@ -27,8 +26,7 @@
27
26
  }
28
27
 
29
28
  .jp-InputPrompt {
30
- display: table-cell;
31
- vertical-align: top;
29
+ flex: 0 0 var(--jp-cell-prompt-width);
32
30
  width: var(--jp-cell-prompt-width);
33
31
  color: var(--jp-cell-inprompt-font-color);
34
32
  font-family: var(--jp-cell-prompt-font-family);
@@ -52,17 +50,40 @@
52
50
  user-select: none;
53
51
  }
54
52
 
53
+ /*-----------------------------------------------------------------------------
54
+ | Print
55
+ |----------------------------------------------------------------------------*/
56
+ @media print {
57
+ .jp-InputArea {
58
+ display: table;
59
+ table-layout: fixed;
60
+ }
61
+
62
+ .jp-InputArea-editor {
63
+ display: table-cell;
64
+ vertical-align: top;
65
+ }
66
+
67
+ .jp-InputPrompt {
68
+ display: table-cell;
69
+ vertical-align: top;
70
+ }
71
+ }
72
+
55
73
  /*-----------------------------------------------------------------------------
56
74
  | Mobile
57
75
  |----------------------------------------------------------------------------*/
58
76
  @media only screen and (width <= 760px) {
77
+ .jp-InputArea {
78
+ flex-direction: column;
79
+ }
80
+
59
81
  .jp-InputArea-editor {
60
- display: table-row;
61
- margin-left: var(--jp-notebook-padding);
82
+ margin-left: var(--jp-code-padding);
62
83
  }
63
84
 
64
85
  .jp-InputPrompt {
65
- display: table-row;
86
+ flex: 0 0 auto;
66
87
  text-align: left;
67
88
  }
68
89
  }
package/style/widget.css CHANGED
@@ -102,6 +102,11 @@
102
102
  width: calc(
103
103
  var(--jp-cell-prompt-width) - var(--jp-private-cell-scrolling-output-offset)
104
104
  );
105
+ flex: 0 0
106
+ calc(
107
+ var(--jp-cell-prompt-width) -
108
+ var(--jp-private-cell-scrolling-output-offset)
109
+ );
105
110
  }
106
111
 
107
112
  .jp-CodeCell.jp-mod-outputsScrolled .jp-OutputArea-promptOverlay {
@@ -117,7 +122,7 @@
117
122
  |----------------------------------------------------------------------------*/
118
123
 
119
124
  .jp-MarkdownOutput {
120
- display: table-cell;
125
+ flex: 1 1 auto;
121
126
  width: 100%;
122
127
  margin-top: 0;
123
128
  margin-bottom: 0;
@@ -235,4 +240,8 @@ cell outputs.
235
240
  .jp-Cell-outputWrapper {
236
241
  display: block;
237
242
  }
243
+
244
+ .jp-MarkdownOutput {
245
+ display: table-cell;
246
+ }
238
247
  }