@datalayer/jupyter-react 0.0.18 → 0.0.20
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/components/notebook/Notebook.d.ts +3 -2
- package/lib/components/notebook/Notebook.js +30 -25
- package/lib/components/notebook/Notebook.js.map +1 -1
- package/lib/components/notebook/NotebookAdapter.d.ts +5 -0
- package/lib/components/notebook/NotebookAdapter.js +77 -67
- package/lib/components/notebook/NotebookAdapter.js.map +1 -1
- package/lib/components/notebook/NotebookState.d.ts +90 -42
- package/lib/components/notebook/NotebookState.js +146 -74
- package/lib/components/notebook/NotebookState.js.map +1 -1
- package/lib/components/notebook/cell/metadata/CellMetadataEditor.d.ts +1 -0
- package/lib/components/notebook/cell/metadata/CellMetadataEditor.js +2 -2
- package/lib/components/notebook/cell/metadata/CellMetadataEditor.js.map +1 -1
- package/lib/components/notebook/cell/sidebar/CellSidebarDefault.js +22 -13
- package/lib/components/notebook/cell/sidebar/CellSidebarDefault.js.map +1 -1
- package/lib/components/notebook/cell/sidebar/CellSidebarRun.js +5 -4
- package/lib/components/notebook/cell/sidebar/CellSidebarRun.js.map +1 -1
- package/lib/components/notebook/cell/sidebar/base/CellSidebarContentFactory.d.ts +2 -1
- package/lib/components/notebook/cell/sidebar/base/CellSidebarContentFactory.js +4 -3
- package/lib/components/notebook/cell/sidebar/base/CellSidebarContentFactory.js.map +1 -1
- package/lib/components/notebook/cell/sidebar/base/CellSidebarWidget.d.ts +3 -2
- package/lib/components/notebook/cell/sidebar/base/CellSidebarWidget.js +4 -3
- package/lib/components/notebook/cell/sidebar/base/CellSidebarWidget.js.map +1 -1
- package/lib/components/output/Output.js +1 -1
- package/lib/components/output/Output.js.map +1 -1
- package/lib/components/output/OutputState.js +1 -1
- package/lib/components/output/OutputState.js.map +1 -1
- package/lib/examples/JupyterExample.d.ts +1 -0
- package/lib/examples/JupyterExample.js +95 -0
- package/lib/examples/JupyterExample.js.map +1 -0
- package/lib/examples/JupyterExampleKernel.d.ts +1 -0
- package/lib/examples/JupyterExampleKernel.js +32 -0
- package/lib/examples/JupyterExampleKernel.js.map +1 -0
- package/lib/examples/JupyterExampleModel.d.ts +1 -0
- package/lib/examples/JupyterExampleModel.js +24 -0
- package/lib/examples/JupyterExampleModel.js.map +1 -0
- package/lib/examples/JupyterExampleUnmount.d.ts +1 -0
- package/lib/examples/JupyterExampleUnmount.js +41 -0
- package/lib/examples/JupyterExampleUnmount.js.map +1 -0
- package/lib/examples/NotebookExample1.ipynb.json +52 -0
- package/lib/examples/NotebookExample2.ipynb.json +52 -0
- package/lib/jupyter/JupyterContext.d.ts +1 -1
- package/lib/jupyter/JupyterContext.js +1 -1
- package/lib/jupyter/JupyterContext.js.map +1 -1
- package/lib/jupyter/services/kernel/Kernel.d.ts +4 -0
- package/lib/jupyter/services/kernel/Kernel.js +12 -3
- package/lib/jupyter/services/kernel/Kernel.js.map +1 -1
- package/lib/state/State.d.ts +2 -2
- package/lib/state/State.js.map +1 -1
- package/package.json +2 -1
- package/lib/example/NotebookExample.ipynb.json +0 -52
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"cells": [
|
|
3
|
-
{
|
|
4
|
-
"cell_type": "code",
|
|
5
|
-
"execution_count": 1,
|
|
6
|
-
"metadata": {},
|
|
7
|
-
"outputs": [
|
|
8
|
-
{
|
|
9
|
-
"data": {
|
|
10
|
-
"text/plain": [
|
|
11
|
-
"2"
|
|
12
|
-
]
|
|
13
|
-
},
|
|
14
|
-
"execution_count": 1,
|
|
15
|
-
"metadata": {},
|
|
16
|
-
"output_type": "execute_result"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"source": [
|
|
20
|
-
"1+1"
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"cell_type": "code",
|
|
25
|
-
"execution_count": null,
|
|
26
|
-
"metadata": {},
|
|
27
|
-
"outputs": [],
|
|
28
|
-
"source": []
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
"metadata": {
|
|
32
|
-
"kernelspec": {
|
|
33
|
-
"display_name": "Python 3 (ipykernel)",
|
|
34
|
-
"language": "python",
|
|
35
|
-
"name": "python3"
|
|
36
|
-
},
|
|
37
|
-
"language_info": {
|
|
38
|
-
"codemirror_mode": {
|
|
39
|
-
"name": "ipython",
|
|
40
|
-
"version": 3
|
|
41
|
-
},
|
|
42
|
-
"file_extension": ".py",
|
|
43
|
-
"mimetype": "text/x-python",
|
|
44
|
-
"name": "python",
|
|
45
|
-
"nbconvert_exporter": "python",
|
|
46
|
-
"pygments_lexer": "ipython3",
|
|
47
|
-
"version": "3.10.4"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"nbformat": 4,
|
|
51
|
-
"nbformat_minor": 4
|
|
52
|
-
}
|