@difizen/libro-jupyter 0.2.1 → 0.2.3
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.
|
@@ -234,7 +234,7 @@ export var LibroWrappedBetweenCellContent = function LibroWrappedBetweenCellCont
|
|
|
234
234
|
addCell = props.addCell;
|
|
235
235
|
var instance = useInject(ViewInstance);
|
|
236
236
|
return /*#__PURE__*/_jsx(DisplayWrapComponent, {
|
|
237
|
-
mode: instance.model.cellsEditable,
|
|
237
|
+
mode: !instance.model.cellsEditable,
|
|
238
238
|
children: /*#__PURE__*/_jsx(LibroCommonBetweenCellContent, {
|
|
239
239
|
index: index,
|
|
240
240
|
addCell: addCell
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difizen/libro-jupyter",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"libro"
|
|
@@ -31,22 +31,22 @@
|
|
|
31
31
|
"src"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@difizen/libro-cofine-editor": "^0.2.
|
|
35
|
-
"@difizen/libro-code-editor": "^0.2.
|
|
36
|
-
"@difizen/libro-code-cell": "^0.2.
|
|
37
|
-
"@difizen/libro-codemirror": "^0.2.
|
|
38
|
-
"@difizen/libro-rendermime": "^0.2.
|
|
39
|
-
"@difizen/libro-common": "^0.2.
|
|
40
|
-
"@difizen/libro-core": "^0.2.
|
|
41
|
-
"@difizen/libro-kernel": "^0.2.
|
|
42
|
-
"@difizen/libro-l10n": "^0.2.
|
|
43
|
-
"@difizen/libro-output": "^0.2.
|
|
44
|
-
"@difizen/libro-search": "^0.2.
|
|
45
|
-
"@difizen/libro-search-code-cell": "^0.2.
|
|
46
|
-
"@difizen/libro-lsp": "^0.2.
|
|
47
|
-
"@difizen/libro-markdown-cell": "^0.2.
|
|
48
|
-
"@difizen/libro-raw-cell": "^0.2.
|
|
49
|
-
"@difizen/libro-language-client": "^0.2.
|
|
34
|
+
"@difizen/libro-cofine-editor": "^0.2.3",
|
|
35
|
+
"@difizen/libro-code-editor": "^0.2.3",
|
|
36
|
+
"@difizen/libro-code-cell": "^0.2.3",
|
|
37
|
+
"@difizen/libro-codemirror": "^0.2.3",
|
|
38
|
+
"@difizen/libro-rendermime": "^0.2.3",
|
|
39
|
+
"@difizen/libro-common": "^0.2.3",
|
|
40
|
+
"@difizen/libro-core": "^0.2.3",
|
|
41
|
+
"@difizen/libro-kernel": "^0.2.3",
|
|
42
|
+
"@difizen/libro-l10n": "^0.2.3",
|
|
43
|
+
"@difizen/libro-output": "^0.2.3",
|
|
44
|
+
"@difizen/libro-search": "^0.2.3",
|
|
45
|
+
"@difizen/libro-search-code-cell": "^0.2.3",
|
|
46
|
+
"@difizen/libro-lsp": "^0.2.3",
|
|
47
|
+
"@difizen/libro-markdown-cell": "^0.2.3",
|
|
48
|
+
"@difizen/libro-raw-cell": "^0.2.3",
|
|
49
|
+
"@difizen/libro-language-client": "^0.2.3",
|
|
50
50
|
"@difizen/mana-app": "latest",
|
|
51
51
|
"@difizen/mana-l10n": "latest",
|
|
52
52
|
"@ant-design/colors": "^7.0.0",
|
|
@@ -203,7 +203,7 @@ export const LibroWrappedBetweenCellContent: BetweenCellProvider = (props: {
|
|
|
203
203
|
const { index, addCell } = props;
|
|
204
204
|
const instance = useInject<LibroView>(ViewInstance);
|
|
205
205
|
return (
|
|
206
|
-
<DisplayWrapComponent mode={instance.model.cellsEditable}>
|
|
206
|
+
<DisplayWrapComponent mode={!instance.model.cellsEditable}>
|
|
207
207
|
<LibroCommonBetweenCellContent index={index} addCell={addCell} />
|
|
208
208
|
</DisplayWrapComponent>
|
|
209
209
|
);
|