@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.
Files changed (50) hide show
  1. package/lib/components/notebook/Notebook.d.ts +3 -2
  2. package/lib/components/notebook/Notebook.js +30 -25
  3. package/lib/components/notebook/Notebook.js.map +1 -1
  4. package/lib/components/notebook/NotebookAdapter.d.ts +5 -0
  5. package/lib/components/notebook/NotebookAdapter.js +77 -67
  6. package/lib/components/notebook/NotebookAdapter.js.map +1 -1
  7. package/lib/components/notebook/NotebookState.d.ts +90 -42
  8. package/lib/components/notebook/NotebookState.js +146 -74
  9. package/lib/components/notebook/NotebookState.js.map +1 -1
  10. package/lib/components/notebook/cell/metadata/CellMetadataEditor.d.ts +1 -0
  11. package/lib/components/notebook/cell/metadata/CellMetadataEditor.js +2 -2
  12. package/lib/components/notebook/cell/metadata/CellMetadataEditor.js.map +1 -1
  13. package/lib/components/notebook/cell/sidebar/CellSidebarDefault.js +22 -13
  14. package/lib/components/notebook/cell/sidebar/CellSidebarDefault.js.map +1 -1
  15. package/lib/components/notebook/cell/sidebar/CellSidebarRun.js +5 -4
  16. package/lib/components/notebook/cell/sidebar/CellSidebarRun.js.map +1 -1
  17. package/lib/components/notebook/cell/sidebar/base/CellSidebarContentFactory.d.ts +2 -1
  18. package/lib/components/notebook/cell/sidebar/base/CellSidebarContentFactory.js +4 -3
  19. package/lib/components/notebook/cell/sidebar/base/CellSidebarContentFactory.js.map +1 -1
  20. package/lib/components/notebook/cell/sidebar/base/CellSidebarWidget.d.ts +3 -2
  21. package/lib/components/notebook/cell/sidebar/base/CellSidebarWidget.js +4 -3
  22. package/lib/components/notebook/cell/sidebar/base/CellSidebarWidget.js.map +1 -1
  23. package/lib/components/output/Output.js +1 -1
  24. package/lib/components/output/Output.js.map +1 -1
  25. package/lib/components/output/OutputState.js +1 -1
  26. package/lib/components/output/OutputState.js.map +1 -1
  27. package/lib/examples/JupyterExample.d.ts +1 -0
  28. package/lib/examples/JupyterExample.js +95 -0
  29. package/lib/examples/JupyterExample.js.map +1 -0
  30. package/lib/examples/JupyterExampleKernel.d.ts +1 -0
  31. package/lib/examples/JupyterExampleKernel.js +32 -0
  32. package/lib/examples/JupyterExampleKernel.js.map +1 -0
  33. package/lib/examples/JupyterExampleModel.d.ts +1 -0
  34. package/lib/examples/JupyterExampleModel.js +24 -0
  35. package/lib/examples/JupyterExampleModel.js.map +1 -0
  36. package/lib/examples/JupyterExampleUnmount.d.ts +1 -0
  37. package/lib/examples/JupyterExampleUnmount.js +41 -0
  38. package/lib/examples/JupyterExampleUnmount.js.map +1 -0
  39. package/lib/examples/NotebookExample1.ipynb.json +52 -0
  40. package/lib/examples/NotebookExample2.ipynb.json +52 -0
  41. package/lib/jupyter/JupyterContext.d.ts +1 -1
  42. package/lib/jupyter/JupyterContext.js +1 -1
  43. package/lib/jupyter/JupyterContext.js.map +1 -1
  44. package/lib/jupyter/services/kernel/Kernel.d.ts +4 -0
  45. package/lib/jupyter/services/kernel/Kernel.js +12 -3
  46. package/lib/jupyter/services/kernel/Kernel.js.map +1 -1
  47. package/lib/state/State.d.ts +2 -2
  48. package/lib/state/State.js.map +1 -1
  49. package/package.json +2 -1
  50. 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
- }