@datalayer/jupyter-react 0.2.2 → 0.3.1
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/README.md +8 -6
- package/lib/components/cell/Cell.d.ts +1 -1
- package/lib/components/cell/CellAdapter.js +51 -6
- package/lib/components/cell/CellAdapter.js.map +1 -1
- package/lib/components/codemirror/CodeMirrorOutputToolbar.d.ts +1 -1
- package/lib/components/commands/CommandsState.d.ts +1 -1
- package/lib/components/console/Console.js +2 -2
- package/lib/components/console/Console.js.map +1 -1
- package/lib/components/console/ConsoleAdapter.d.ts +2 -2
- package/lib/components/console/ConsoleAdapter.js +65 -21
- package/lib/components/console/ConsoleAdapter.js.map +1 -1
- package/lib/components/console/ConsoleState.d.ts +1 -1
- package/lib/components/filebrowser/FileBrowserAdapter.js +20 -3
- package/lib/components/filebrowser/FileBrowserAdapter.js.map +1 -1
- package/lib/components/filebrowser/FileBrowserState.d.ts +1 -1
- package/lib/components/notebook/Notebook.d.ts +1 -1
- package/lib/components/notebook/NotebookAdapter.js +47 -5
- package/lib/components/notebook/NotebookAdapter.js.map +1 -1
- package/lib/components/notebook/NotebookCommands.js +2 -1
- package/lib/components/notebook/NotebookCommands.js.map +1 -1
- package/lib/components/notebook/NotebookState.d.ts +13 -12
- package/lib/components/notebook/NotebookState.js +6 -0
- package/lib/components/notebook/NotebookState.js.map +1 -1
- package/lib/components/notebook/cell/metadata/CellMetadataEditor.d.ts +1 -1
- package/lib/components/notebook/cell/sidebar/base/CellSidebarContentFactory.d.ts +1 -1
- package/lib/components/notebook/cell/sidebar/base/CellSidebarContentFactory.js +1 -1
- package/lib/components/notebook/cell/sidebar/base/CellSidebarContentFactory.js.map +1 -1
- package/lib/components/notebook/cell/sidebar/base/CellSidebarWidget.d.ts +1 -1
- package/lib/components/notebook/marked/marked.d.ts +2 -1
- package/lib/components/notebook/marked/marked.js +17 -25
- package/lib/components/notebook/marked/marked.js.map +1 -1
- package/lib/components/output/Output.d.ts +1 -1
- package/lib/components/output/Output.js +0 -6
- package/lib/components/output/Output.js.map +1 -1
- package/lib/components/output/OutputRenderer.d.ts +1 -1
- package/lib/components/output/OutputState.d.ts +1 -1
- package/lib/components/settings/SettingsState.d.ts +1 -1
- package/lib/components/terminal/TerminalState.d.ts +1 -1
- package/lib/examples/Cell.js +2 -2
- package/lib/examples/Cell.js.map +1 -1
- package/lib/examples/Console.d.ts +1 -0
- package/lib/examples/Console.js +11 -0
- package/lib/examples/Console.js.map +1 -0
- package/lib/examples/Notebook.js +4 -3
- package/lib/examples/Notebook.js.map +1 -1
- package/lib/examples/notebooks/NotebookExample1.ipynb.json +2 -2
- package/lib/examples/notebooks/NotebookExample2.ipynb.json +2 -2
- package/lib/examples/toolbars/NotebookToolbarStatus.d.ts +4 -0
- package/lib/examples/toolbars/NotebookToolbarStatus.js +9 -0
- package/lib/examples/toolbars/NotebookToolbarStatus.js.map +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/jupyter/Jupyter.d.ts +2 -2
- package/lib/jupyter/Jupyter.js +1 -1
- package/lib/jupyter/Jupyter.js.map +1 -1
- package/lib/jupyter/JupyterConfig.d.ts +1 -1
- package/lib/jupyter/JupyterConfig.js +1 -1
- package/lib/jupyter/JupyterConfig.js.map +1 -1
- package/lib/jupyter/JupyterContext.d.ts +2 -1
- package/lib/jupyter/JupyterContext.js +42 -25
- package/lib/jupyter/JupyterContext.js.map +1 -1
- package/lib/jupyter/ipywidgets/plotly/Figure.d.ts +3 -3
- package/lib/jupyter/ipywidgets/plotly/Figure.js +2 -1
- package/lib/jupyter/ipywidgets/plotly/Figure.js.map +1 -1
- package/lib/jupyter/lab/__tests__/datalayer.spec.d.ts +0 -3
- package/lib/jupyter/lab/__tests__/datalayer.spec.js +0 -3
- package/lib/jupyter/lab/__tests__/datalayer.spec.js.map +1 -1
- package/lib/jupyter/lab/index.js +5 -5
- package/lib/jupyter/lab/index.js.map +1 -1
- package/lib/jupyter/lite/LiteServer.js.map +1 -1
- package/lib/jupyter/lumino/LuminoReactPortal.d.ts +1 -1
- package/lib/jupyter/services/kernel/Kernel.d.ts +1 -1
- package/lib/jupyter/services/kernel/Kernel.js +2 -2
- package/lib/jupyter/services/kernel/Kernel.js.map +1 -1
- package/package.json +62 -64
package/package.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datalayer/jupyter-react",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Jupyter
|
|
3
|
+
"version": "0.3.1",
|
|
4
|
+
"description": "Jupyter UI",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"private": false,
|
|
7
6
|
"main": "lib/index.js",
|
|
8
7
|
"files": [
|
|
9
8
|
"lib",
|
|
@@ -11,13 +10,13 @@
|
|
|
11
10
|
],
|
|
12
11
|
"keywords": [
|
|
13
12
|
"jupyter",
|
|
14
|
-
"react",
|
|
15
13
|
"jupyterlab",
|
|
16
|
-
"jupyterlab-extension"
|
|
14
|
+
"jupyterlab-extension",
|
|
15
|
+
"react"
|
|
17
16
|
],
|
|
18
17
|
"repository": {
|
|
19
18
|
"type": "git",
|
|
20
|
-
"url": "https://github.com/datalayer/jupyter-
|
|
19
|
+
"url": "https://github.com/datalayer/jupyter-ui.git",
|
|
21
20
|
"directory": "packages/react"
|
|
22
21
|
},
|
|
23
22
|
"scripts": {
|
|
@@ -46,8 +45,7 @@
|
|
|
46
45
|
"prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
|
|
47
46
|
"prettier:check": "jlpm prettier:base --check",
|
|
48
47
|
"start": "run-p -c start:*",
|
|
49
|
-
"start
|
|
50
|
-
"start:jupyter-server": "cd ./../../dev/sh && ./start-jupyter-server.sh",
|
|
48
|
+
"start-jupyter": "cd ./../.. && make start-jupyter-server",
|
|
51
49
|
"start:webpack": "webpack serve",
|
|
52
50
|
"stylelint": "jlpm stylelint:check --fix",
|
|
53
51
|
"stylelint:check": "stylelint --cache \"style/**/*.css\"",
|
|
@@ -59,6 +57,7 @@
|
|
|
59
57
|
},
|
|
60
58
|
"dependencies": {
|
|
61
59
|
"@codemirror/lang-python": "6.0.1",
|
|
60
|
+
"@datalayer/icons": "0.0.10",
|
|
62
61
|
"@datalayer/jupyterlite-ipykernel": "0.1.0-beta.13",
|
|
63
62
|
"@datalayer/jupyterlite-ipykernel-extension": "0.1.0-beta.13",
|
|
64
63
|
"@datalayer/jupyterlite-kernel": "0.1.0-beta.13",
|
|
@@ -70,36 +69,35 @@
|
|
|
70
69
|
"@jupyter-widgets/html-manager": "1.0.5",
|
|
71
70
|
"@jupyter-widgets/jupyterlab-manager": "5.0.5",
|
|
72
71
|
"@jupyter-widgets/output": "6.0.2",
|
|
73
|
-
"@jupyter/ydoc": "0.
|
|
74
|
-
"@jupyterlab/apputils": "4.0.0-
|
|
75
|
-
"@jupyterlab/cells": "4.0.0-
|
|
76
|
-
"@jupyterlab/codemirror": "4.0.0-
|
|
77
|
-
"@jupyterlab/completer": "4.0.0-
|
|
78
|
-
"@jupyterlab/console": "4.0.0-
|
|
79
|
-
"@jupyterlab/coreutils": "6.0.0-
|
|
80
|
-
"@jupyterlab/docmanager": "4.0.0-
|
|
81
|
-
"@jupyterlab/
|
|
82
|
-
"@jupyterlab/
|
|
83
|
-
"@jupyterlab/
|
|
84
|
-
"@jupyterlab/
|
|
85
|
-
"@jupyterlab/
|
|
86
|
-
"@jupyterlab/
|
|
87
|
-
"@jupyterlab/
|
|
88
|
-
"@jupyterlab/
|
|
89
|
-
"@jupyterlab/
|
|
90
|
-
"@jupyterlab/
|
|
91
|
-
"@jupyterlab/
|
|
92
|
-
"@jupyterlab/
|
|
93
|
-
"@jupyterlab/rendermime": "4.0.0-
|
|
94
|
-
"@jupyterlab/rendermime-
|
|
95
|
-
"@jupyterlab/
|
|
96
|
-
"@jupyterlab/
|
|
97
|
-
"@jupyterlab/
|
|
98
|
-
"@jupyterlab/theme-
|
|
99
|
-
"@
|
|
100
|
-
"@
|
|
101
|
-
"@primer/
|
|
102
|
-
"@primer/react": "35.18.0",
|
|
72
|
+
"@jupyter/ydoc": "1.0.2",
|
|
73
|
+
"@jupyterlab/apputils": "4.0.0-beta.1",
|
|
74
|
+
"@jupyterlab/cells": "4.0.0-beta.1",
|
|
75
|
+
"@jupyterlab/codemirror": "4.0.0-beta.1",
|
|
76
|
+
"@jupyterlab/completer": "4.0.0-beta.1",
|
|
77
|
+
"@jupyterlab/console": "4.0.0-beta.1",
|
|
78
|
+
"@jupyterlab/coreutils": "6.0.0-beta.1",
|
|
79
|
+
"@jupyterlab/docmanager": "4.0.0-beta.1",
|
|
80
|
+
"@jupyterlab/docregistry": "4.0.0-beta.1",
|
|
81
|
+
"@jupyterlab/documentsearch": "4.0.0-beta.1",
|
|
82
|
+
"@jupyterlab/filebrowser": "4.0.0-beta.1",
|
|
83
|
+
"@jupyterlab/fileeditor": "4.0.0-beta.1",
|
|
84
|
+
"@jupyterlab/javascript-extension": "4.0.0-beta.1",
|
|
85
|
+
"@jupyterlab/json-extension": "4.0.0-beta.1",
|
|
86
|
+
"@jupyterlab/markedparser-extension": "4.0.0-beta.1",
|
|
87
|
+
"@jupyterlab/mathjax2": "4.0.0-alpha.21",
|
|
88
|
+
"@jupyterlab/nbconvert-css": "4.0.0-beta.1",
|
|
89
|
+
"@jupyterlab/notebook": "4.0.0-beta.1",
|
|
90
|
+
"@jupyterlab/outputarea": "4.0.0-beta.1",
|
|
91
|
+
"@jupyterlab/rendermime": "4.0.0-beta.1",
|
|
92
|
+
"@jupyterlab/rendermime-extension": "4.0.0-beta.1",
|
|
93
|
+
"@jupyterlab/rendermime-interfaces": "3.8.0-beta.1",
|
|
94
|
+
"@jupyterlab/services": "7.0.0-beta.1",
|
|
95
|
+
"@jupyterlab/terminal": "4.0.0-beta.1",
|
|
96
|
+
"@jupyterlab/theme-dark-extension": "4.0.0-beta.1",
|
|
97
|
+
"@jupyterlab/theme-light-extension": "4.0.0-beta.1",
|
|
98
|
+
"@lumino/default-theme": "2.1.0",
|
|
99
|
+
"@primer/octicons-react": "18.2.0",
|
|
100
|
+
"@primer/react": "35.22.0",
|
|
103
101
|
"assert": "2.0.0",
|
|
104
102
|
"codemirror": "6.0.1",
|
|
105
103
|
"lodash": "^4.17.4",
|
|
@@ -109,7 +107,7 @@
|
|
|
109
107
|
"react-dom": "18.2.0",
|
|
110
108
|
"react-error-boundary": "3.1.3",
|
|
111
109
|
"react-redux": "7.2.4",
|
|
112
|
-
"redux": "4.
|
|
110
|
+
"redux": "4.0.5",
|
|
113
111
|
"redux-observable": "1.2.0",
|
|
114
112
|
"rxjs": "6.6.0",
|
|
115
113
|
"stream": "0.0.2",
|
|
@@ -119,33 +117,33 @@
|
|
|
119
117
|
"uuid": "8.3.2"
|
|
120
118
|
},
|
|
121
119
|
"devDependencies": {
|
|
122
|
-
"@babel/core": "7.
|
|
120
|
+
"@babel/core": "7.21.0",
|
|
123
121
|
"@babel/plugin-proposal-class-properties": "7.18.6",
|
|
124
|
-
"@babel/preset-env": "7.
|
|
122
|
+
"@babel/preset-env": "7.20.2",
|
|
125
123
|
"@babel/preset-react": "7.18.6",
|
|
126
|
-
"@babel/preset-typescript": "7.
|
|
127
|
-
"@jupyterlab/builder": "4.0.0-
|
|
124
|
+
"@babel/preset-typescript": "7.21.0",
|
|
125
|
+
"@jupyterlab/builder": "4.0.0-beta.1",
|
|
128
126
|
"@jupyterlab/geojson-extension": "3.3.1",
|
|
129
|
-
"@jupyterlab/launcher": "4.0.0-
|
|
130
|
-
"@jupyterlab/testutils": "4.0.0-
|
|
127
|
+
"@jupyterlab/launcher": "4.0.0-beta.1",
|
|
128
|
+
"@jupyterlab/testutils": "4.0.0-beta.1",
|
|
131
129
|
"@jupyterlab/vega3-extension": "3.1.3",
|
|
132
|
-
"@mui/material": "5.10.7",
|
|
133
130
|
"@mui/icons-material": "5.10.16",
|
|
134
131
|
"@mui/lab": "5.0.0-alpha.85",
|
|
132
|
+
"@mui/material": "5.10.7",
|
|
135
133
|
"@mui/styles": "5.10.7",
|
|
136
134
|
"@mui/system": "5.10.7",
|
|
137
135
|
"@types/codemirror": "5.60.4",
|
|
138
|
-
"@types/jest": "
|
|
136
|
+
"@types/jest": "29.4.0",
|
|
139
137
|
"@types/marked": "4.0.1",
|
|
140
138
|
"@types/node": "18.11.9",
|
|
141
139
|
"@types/plotly.js": "1.54.11",
|
|
142
|
-
"@types/react": "18.0.
|
|
143
|
-
"@types/react-dom": "18.0.
|
|
140
|
+
"@types/react": "18.0.28",
|
|
141
|
+
"@types/react-dom": "18.0.11",
|
|
144
142
|
"@types/styled-components": "5.1.26",
|
|
145
143
|
"@types/uuid": "8.3.0",
|
|
146
144
|
"@typescript-eslint/eslint-plugin": "4.8.1",
|
|
147
145
|
"@typescript-eslint/parser": "4.8.1",
|
|
148
|
-
"babel-loader": "
|
|
146
|
+
"babel-loader": "9.1.2",
|
|
149
147
|
"bundle-loader": "0.5.6",
|
|
150
148
|
"css-loader": "5.2.4",
|
|
151
149
|
"eslint": "7.14.0",
|
|
@@ -158,7 +156,7 @@
|
|
|
158
156
|
"gulp-watch": "5.0.1",
|
|
159
157
|
"html-webpack-plugin": "5.3.1",
|
|
160
158
|
"html-webpack-tags-plugin": "2.0.17",
|
|
161
|
-
"jest": "
|
|
159
|
+
"jest": "29.4.3",
|
|
162
160
|
"mkdirp": "1.0.3",
|
|
163
161
|
"npm-run-all": "4.1.5",
|
|
164
162
|
"prettier": "2.1.1",
|
|
@@ -173,9 +171,9 @@
|
|
|
173
171
|
"stylelint-config-standard": "~24.0.0",
|
|
174
172
|
"stylelint-prettier": "2.0.0",
|
|
175
173
|
"svg-url-loader": "~3.0.3",
|
|
176
|
-
"ts-jest": "
|
|
177
|
-
"typedoc": "0.
|
|
178
|
-
"typescript": "
|
|
174
|
+
"ts-jest": "29.0.5",
|
|
175
|
+
"typedoc": "0.24.4",
|
|
176
|
+
"typescript": "5.0.3",
|
|
179
177
|
"url-loader": "~3.0.0",
|
|
180
178
|
"watch": "~1.0.2",
|
|
181
179
|
"webpack": "5.74.0",
|
|
@@ -184,8 +182,8 @@
|
|
|
184
182
|
},
|
|
185
183
|
"sideEffects": [
|
|
186
184
|
"style/*.css",
|
|
187
|
-
"
|
|
188
|
-
"
|
|
185
|
+
"src/**/*.css",
|
|
186
|
+
"style/index.js"
|
|
189
187
|
],
|
|
190
188
|
"styleModule": "style/index.js",
|
|
191
189
|
"publishConfig": {
|
|
@@ -193,14 +191,14 @@
|
|
|
193
191
|
},
|
|
194
192
|
"jupyterlab": {
|
|
195
193
|
"discovery": {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
}
|
|
194
|
+
"server": {
|
|
195
|
+
"managers": [
|
|
196
|
+
"pip"
|
|
197
|
+
],
|
|
198
|
+
"base": {
|
|
199
|
+
"name": "jupyter_react"
|
|
203
200
|
}
|
|
201
|
+
}
|
|
204
202
|
},
|
|
205
203
|
"extension": "./lib/jupyter/lab/index.js",
|
|
206
204
|
"outputDir": "jupyter_react/labextension",
|
|
@@ -209,7 +207,7 @@
|
|
|
209
207
|
"jupyter-releaser": {
|
|
210
208
|
"hooks": {
|
|
211
209
|
"before-build-npm": [
|
|
212
|
-
"python -m pip install jupyterlab==4.0.
|
|
210
|
+
"python -m pip install jupyterlab==4.0.0b1",
|
|
213
211
|
"jlpm"
|
|
214
212
|
],
|
|
215
213
|
"before-build-python": [
|