From d9fca8992d9e37b2bf780b8f14480a6853a446fc Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Tue, 8 Dec 2020 00:08:03 +0100 Subject: [PATCH] Add the completer extension --- builder/index.js | 6 ++ builder/package.json | 1 + builder/style.css | 7 +- yarn.lock | 204 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 217 insertions(+), 1 deletion(-) diff --git a/builder/index.js b/builder/index.js index d27021472..80da1c5ab 100644 --- a/builder/index.js +++ b/builder/index.js @@ -80,6 +80,12 @@ async function main() { require('@jupyterlab/codemirror-extension').default.filter(({ id }) => ['@jupyterlab/codemirror-extension:services'].includes(id) ), + require('@jupyterlab/completer-extension').default.filter(({ id }) => + [ + '@jupyterlab/completer-extension:manager', + '@jupyterlab/completer-extension:notebooks' + ].includes(id) + ), require('@jupyterlab/docmanager-extension').default.filter(({ id }) => ['@jupyterlab/docmanager-extension:plugin'].includes(id) ), diff --git a/builder/package.json b/builder/package.json index 2fa270c3c..2b8972ddf 100644 --- a/builder/package.json +++ b/builder/package.json @@ -15,6 +15,7 @@ "@jupyterlab-classic/ui-components": "^0.1.0", "@jupyterlab/apputils-extension": "^3.0.0-rc.12", "@jupyterlab/codemirror-extension": "^3.0.0-rc.12", + "@jupyterlab/completer-extension": "^3.0.0-rc.12", "@jupyterlab/docmanager-extension": "^3.0.0-rc.12", "@jupyterlab/mainmenu-extension": "^3.0.0-rc.12", "@jupyterlab/mathjax2-extension": "^3.0.0-rc.12", diff --git a/builder/style.css b/builder/style.css index 0801a3d34..719425815 100644 --- a/builder/style.css +++ b/builder/style.css @@ -1,8 +1,13 @@ @import url('~@jupyterlab-classic/application-extension/style/index.css'); @import url('~@jupyterlab-classic/ui-components/style/index.css'); +/* TODO: check is the the extension package can be used directly */ +@import url('~@jupyterlab/completer/style/index.css'); + @import url('~@jupyterlab/codemirror-extension/style/index.css'); @import url('~@jupyterlab/docmanager-extension/style/index.css'); -@import url('~@jupyterlab/rendermime-extension/style/index.css'); +@import url('~@jupyterlab/mainmenu-extension/style/index.css'); @import url('~@jupyterlab/notebook-extension/style/index.css'); +@import url('~@jupyterlab/rendermime-extension/style/index.css'); @import url('~@jupyterlab/theme-light-extension/style/index.css'); +@import url('~@jupyterlab/theme-dark-extension/style/index.css'); diff --git a/yarn.lock b/yarn.lock index 1c13ae09d..4d26aa44b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1302,6 +1302,18 @@ "@lumino/disposable" "^1.4.3" "@lumino/signaling" "^1.4.3" +"@jupyterlab/attachments@^3.0.0-rc.13": + version "3.0.0-rc.13" + resolved "https://registry.yarnpkg.com/@jupyterlab/attachments/-/attachments-3.0.0-rc.13.tgz#dc3e86fe96f8b03f45e442eda0915332e738f520" + integrity sha512-BQsLZTuWDBro2emvoERWhpyl3DgQgaVpBwRKo0I+mcovr33cWeURFig5TEWPuVrhJKWZC7Sdw6rskQ8g5Y09uw== + dependencies: + "@jupyterlab/nbformat" "^3.0.0-rc.13" + "@jupyterlab/observables" "^4.0.0-rc.13" + "@jupyterlab/rendermime" "^3.0.0-rc.13" + "@jupyterlab/rendermime-interfaces" "^3.0.0-rc.13" + "@lumino/disposable" "^1.4.3" + "@lumino/signaling" "^1.4.3" + "@jupyterlab/builder@^3.0.0-rc.12": version "3.0.0-rc.12" resolved "https://registry.yarnpkg.com/@jupyterlab/builder/-/builder-3.0.0-rc.12.tgz#ae4e87d29bd73e2adc2919dd65d6480580b686c1" @@ -1387,6 +1399,32 @@ "@lumino/widgets" "^1.16.1" react "^17.0.1" +"@jupyterlab/cells@^3.0.0-rc.13": + version "3.0.0-rc.13" + resolved "https://registry.yarnpkg.com/@jupyterlab/cells/-/cells-3.0.0-rc.13.tgz#33c08a0e64924cda7fdd9c622b84c739c752d54f" + integrity sha512-QrkTBkIkDVvumpv5AEvgJIKQ4OZqt9zrKJBjyumt65+AFABzKSaZQF3K7yDzLP2+K8NSHs+ou+giIUSmp7OT8g== + dependencies: + "@jupyterlab/apputils" "^3.0.0-rc.13" + "@jupyterlab/attachments" "^3.0.0-rc.13" + "@jupyterlab/codeeditor" "^3.0.0-rc.13" + "@jupyterlab/codemirror" "^3.0.0-rc.13" + "@jupyterlab/coreutils" "^5.0.0-rc.13" + "@jupyterlab/filebrowser" "^3.0.0-rc.13" + "@jupyterlab/nbformat" "^3.0.0-rc.13" + "@jupyterlab/observables" "^4.0.0-rc.13" + "@jupyterlab/outputarea" "^3.0.0-rc.13" + "@jupyterlab/rendermime" "^3.0.0-rc.13" + "@jupyterlab/services" "^6.0.0-rc.13" + "@jupyterlab/ui-components" "^3.0.0-rc.13" + "@lumino/algorithm" "^1.3.3" + "@lumino/coreutils" "^1.5.3" + "@lumino/dragdrop" "^1.7.1" + "@lumino/messaging" "^1.4.3" + "@lumino/signaling" "^1.4.3" + "@lumino/virtualdom" "^1.8.0" + "@lumino/widgets" "^1.16.1" + react "^17.0.1" + "@jupyterlab/codeeditor@^3.0.0-rc.12": version "3.0.0-rc.12" resolved "https://registry.yarnpkg.com/@jupyterlab/codeeditor/-/codeeditor-3.0.0-rc.12.tgz#6ebdbe1081d01eb808297ecb3271c7a707a9243b" @@ -1482,6 +1520,62 @@ codemirror "~5.57.0" react "^17.0.1" +"@jupyterlab/completer-extension@^3.0.0-rc.12": + version "3.0.0-rc.13" + resolved "https://registry.yarnpkg.com/@jupyterlab/completer-extension/-/completer-extension-3.0.0-rc.13.tgz#16e566a20a1a4802bb1bffc8f13474e7441d4598" + integrity sha512-rD55i4XcSngHx5v5jN6vIHNI1fk/7lJ4J7ENX5FrzcQ+37cwjAYcit5h5g5adYdaPQY9wAvv5juHgFqkJ5zGJA== + dependencies: + "@jupyterlab/application" "^3.0.0-rc.13" + "@jupyterlab/completer" "^3.0.0-rc.13" + "@jupyterlab/console" "^3.0.0-rc.13" + "@jupyterlab/fileeditor" "^3.0.0-rc.13" + "@jupyterlab/notebook" "^3.0.0-rc.13" + "@jupyterlab/services" "^6.0.0-rc.13" + "@lumino/algorithm" "^1.3.3" + "@lumino/widgets" "^1.16.1" + +"@jupyterlab/completer@^3.0.0-rc.13": + version "3.0.0-rc.13" + resolved "https://registry.yarnpkg.com/@jupyterlab/completer/-/completer-3.0.0-rc.13.tgz#9f6f186fae96c116829b0604a32494ecb1cd200d" + integrity sha512-i0Lj0YdJQDpRuZ3gIddQvhwBqV1+5YW4pUHWUIJvub0U7JCVZtlF1lB4g5htNj4cx+7A2RuDitN78ZH9C1NavQ== + dependencies: + "@jupyterlab/apputils" "^3.0.0-rc.13" + "@jupyterlab/codeeditor" "^3.0.0-rc.13" + "@jupyterlab/coreutils" "^5.0.0-rc.13" + "@jupyterlab/services" "^6.0.0-rc.13" + "@jupyterlab/statedb" "^3.0.0-rc.13" + "@jupyterlab/ui-components" "^3.0.0-rc.13" + "@lumino/algorithm" "^1.3.3" + "@lumino/coreutils" "^1.5.3" + "@lumino/disposable" "^1.4.3" + "@lumino/domutils" "^1.2.3" + "@lumino/messaging" "^1.4.3" + "@lumino/signaling" "^1.4.3" + "@lumino/widgets" "^1.16.1" + +"@jupyterlab/console@^3.0.0-rc.13": + version "3.0.0-rc.13" + resolved "https://registry.yarnpkg.com/@jupyterlab/console/-/console-3.0.0-rc.13.tgz#ef7e92a359e525db3560d0038b17d5b9cf3efae2" + integrity sha512-9LmvD5Re/Tlm67PFtVvK19bfbq6mhYr/Sy8g2tmZgW2Jil7s3H0Gdzy7jgVBQRgMnUdf5n8lUD3uLyNIAUtVGA== + dependencies: + "@jupyterlab/apputils" "^3.0.0-rc.13" + "@jupyterlab/cells" "^3.0.0-rc.13" + "@jupyterlab/codeeditor" "^3.0.0-rc.13" + "@jupyterlab/coreutils" "^5.0.0-rc.13" + "@jupyterlab/nbformat" "^3.0.0-rc.13" + "@jupyterlab/observables" "^4.0.0-rc.13" + "@jupyterlab/rendermime" "^3.0.0-rc.13" + "@jupyterlab/services" "^6.0.0-rc.13" + "@jupyterlab/translation" "^3.0.0-rc.13" + "@jupyterlab/ui-components" "^3.0.0-rc.13" + "@lumino/algorithm" "^1.3.3" + "@lumino/coreutils" "^1.5.3" + "@lumino/disposable" "^1.4.3" + "@lumino/dragdrop" "^1.7.1" + "@lumino/messaging" "^1.4.3" + "@lumino/signaling" "^1.4.3" + "@lumino/widgets" "^1.16.1" + "@jupyterlab/coreutils@^5.0.0-rc.12", "@jupyterlab/coreutils@~5.0.0-rc.12": version "5.0.0-rc.12" resolved "https://registry.yarnpkg.com/@jupyterlab/coreutils/-/coreutils-5.0.0-rc.12.tgz#65c4fbbeb5ac9769702666930ee7cbb91d4798ed" @@ -1548,6 +1642,26 @@ "@lumino/widgets" "^1.16.1" react "^17.0.1" +"@jupyterlab/docmanager@^3.0.0-rc.13": + version "3.0.0-rc.13" + resolved "https://registry.yarnpkg.com/@jupyterlab/docmanager/-/docmanager-3.0.0-rc.13.tgz#4b8ddb2b99533c5af9e96dbfa9c36e413695f0f5" + integrity sha512-pKVVwXc6yFxdfZ+h39NBtQyQvwG4CmBX+hafr23QsmWyo0+M1sy7EYIqYWuZPoaSFQ6uIYx91+gAKmWRDjhDIQ== + dependencies: + "@jupyterlab/apputils" "^3.0.0-rc.13" + "@jupyterlab/coreutils" "^5.0.0-rc.13" + "@jupyterlab/docregistry" "^3.0.0-rc.13" + "@jupyterlab/services" "^6.0.0-rc.13" + "@jupyterlab/statusbar" "^3.0.0-rc.13" + "@jupyterlab/translation" "^3.0.0-rc.13" + "@lumino/algorithm" "^1.3.3" + "@lumino/coreutils" "^1.5.3" + "@lumino/disposable" "^1.4.3" + "@lumino/messaging" "^1.4.3" + "@lumino/properties" "^1.2.3" + "@lumino/signaling" "^1.4.3" + "@lumino/widgets" "^1.16.1" + react "^17.0.1" + "@jupyterlab/docregistry@^3.0.0-rc.12": version "3.0.0-rc.12" resolved "https://registry.yarnpkg.com/@jupyterlab/docregistry/-/docregistry-3.0.0-rc.12.tgz#9bd6cfd3489996fc108bc86fd3f674123bbe357d" @@ -1618,6 +1732,32 @@ "@lumino/widgets" "^1.16.1" react "^17.0.1" +"@jupyterlab/filebrowser@^3.0.0-rc.13": + version "3.0.0-rc.13" + resolved "https://registry.yarnpkg.com/@jupyterlab/filebrowser/-/filebrowser-3.0.0-rc.13.tgz#c25ecc9657df784e673fbf0aeacb4d5d364687e9" + integrity sha512-Ikl4qu34A1cEgYFJqp+OEHG+ISPTo1LXEMeToV480TTatlKXVHkuCLEJXOVH/KmgBND60pyIqARTg277jc/MlA== + dependencies: + "@jupyterlab/apputils" "^3.0.0-rc.13" + "@jupyterlab/coreutils" "^5.0.0-rc.13" + "@jupyterlab/docmanager" "^3.0.0-rc.13" + "@jupyterlab/docregistry" "^3.0.0-rc.13" + "@jupyterlab/services" "^6.0.0-rc.13" + "@jupyterlab/statedb" "^3.0.0-rc.13" + "@jupyterlab/statusbar" "^3.0.0-rc.13" + "@jupyterlab/translation" "^3.0.0-rc.13" + "@jupyterlab/ui-components" "^3.0.0-rc.13" + "@lumino/algorithm" "^1.3.3" + "@lumino/coreutils" "^1.5.3" + "@lumino/disposable" "^1.4.3" + "@lumino/domutils" "^1.2.3" + "@lumino/dragdrop" "^1.7.1" + "@lumino/messaging" "^1.4.3" + "@lumino/polling" "^1.3.3" + "@lumino/signaling" "^1.4.3" + "@lumino/virtualdom" "^1.8.0" + "@lumino/widgets" "^1.16.1" + react "^17.0.1" + "@jupyterlab/fileeditor@^3.0.0-rc.12": version "3.0.0-rc.12" resolved "https://registry.yarnpkg.com/@jupyterlab/fileeditor/-/fileeditor-3.0.0-rc.12.tgz#e95711adfd83f4dcb62d6bf253de386f4823b086" @@ -1634,6 +1774,22 @@ "@lumino/widgets" "^1.16.1" react "^17.0.1" +"@jupyterlab/fileeditor@^3.0.0-rc.13": + version "3.0.0-rc.13" + resolved "https://registry.yarnpkg.com/@jupyterlab/fileeditor/-/fileeditor-3.0.0-rc.13.tgz#ced4f9371de85638bd0d46b1b0d44c1acc548cca" + integrity sha512-8ChTnJ6Ui1+sryHpjr1gNNjs5EdY4hBeZDS/gVbBCI1zS+CTTN4ILBWOsDRe0HejkzWEni7zb+Vm/2Hbbp+zUA== + dependencies: + "@jupyterlab/apputils" "^3.0.0-rc.13" + "@jupyterlab/codeeditor" "^3.0.0-rc.13" + "@jupyterlab/docregistry" "^3.0.0-rc.13" + "@jupyterlab/statusbar" "^3.0.0-rc.13" + "@jupyterlab/translation" "^3.0.0-rc.13" + "@jupyterlab/ui-components" "^3.0.0-rc.13" + "@lumino/coreutils" "^1.5.3" + "@lumino/messaging" "^1.4.3" + "@lumino/widgets" "^1.16.1" + react "^17.0.1" + "@jupyterlab/launcher@^3.0.0-rc.12": version "3.0.0-rc.12" resolved "https://registry.yarnpkg.com/@jupyterlab/launcher/-/launcher-3.0.0-rc.12.tgz#71f848fbf2e70d84a796e91495e47ce22395b07a" @@ -1788,6 +1944,34 @@ "@lumino/widgets" "^1.16.1" react "^17.0.1" +"@jupyterlab/notebook@^3.0.0-rc.13": + version "3.0.0-rc.13" + resolved "https://registry.yarnpkg.com/@jupyterlab/notebook/-/notebook-3.0.0-rc.13.tgz#ce2536983a169832a746e59f428a10d148b5a6dd" + integrity sha512-1/NFMWgg4aZkyZx3uULULNyrKrB0UkDpvh/Xt28nSl+cqv/xW/egnX7uGi8WclgozjVwMJgbIzZ+QTt9SbJHfA== + dependencies: + "@jupyterlab/apputils" "^3.0.0-rc.13" + "@jupyterlab/cells" "^3.0.0-rc.13" + "@jupyterlab/codeeditor" "^3.0.0-rc.13" + "@jupyterlab/coreutils" "^5.0.0-rc.13" + "@jupyterlab/docregistry" "^3.0.0-rc.13" + "@jupyterlab/nbformat" "^3.0.0-rc.13" + "@jupyterlab/observables" "^4.0.0-rc.13" + "@jupyterlab/rendermime" "^3.0.0-rc.13" + "@jupyterlab/services" "^6.0.0-rc.13" + "@jupyterlab/statusbar" "^3.0.0-rc.13" + "@jupyterlab/translation" "^3.0.0-rc.13" + "@jupyterlab/ui-components" "^3.0.0-rc.13" + "@lumino/algorithm" "^1.3.3" + "@lumino/coreutils" "^1.5.3" + "@lumino/domutils" "^1.2.3" + "@lumino/dragdrop" "^1.7.1" + "@lumino/messaging" "^1.4.3" + "@lumino/properties" "^1.2.3" + "@lumino/signaling" "^1.4.3" + "@lumino/virtualdom" "^1.8.0" + "@lumino/widgets" "^1.16.1" + react "^17.0.1" + "@jupyterlab/observables@^4.0.0-rc.12": version "4.0.0-rc.12" resolved "https://registry.yarnpkg.com/@jupyterlab/observables/-/observables-4.0.0-rc.12.tgz#e41a4364e41fbc085e98f9c0289f22cc1927328f" @@ -1830,6 +2014,26 @@ "@lumino/widgets" "^1.16.1" resize-observer-polyfill "^1.5.1" +"@jupyterlab/outputarea@^3.0.0-rc.13": + version "3.0.0-rc.13" + resolved "https://registry.yarnpkg.com/@jupyterlab/outputarea/-/outputarea-3.0.0-rc.13.tgz#38f4cdf321499ab4a7afa8da9eade1023f71ddfd" + integrity sha512-uwHnd5bICRmZDacix4FmwjqvFMNb+u203X/VGobra4/ynsLft9mAnD7swR/UNWe8CKCvZgnYpaVrdNAX0leKiA== + dependencies: + "@jupyterlab/apputils" "^3.0.0-rc.13" + "@jupyterlab/nbformat" "^3.0.0-rc.13" + "@jupyterlab/observables" "^4.0.0-rc.13" + "@jupyterlab/rendermime" "^3.0.0-rc.13" + "@jupyterlab/rendermime-interfaces" "^3.0.0-rc.13" + "@jupyterlab/services" "^6.0.0-rc.13" + "@lumino/algorithm" "^1.3.3" + "@lumino/coreutils" "^1.5.3" + "@lumino/disposable" "^1.4.3" + "@lumino/messaging" "^1.4.3" + "@lumino/properties" "^1.2.3" + "@lumino/signaling" "^1.4.3" + "@lumino/widgets" "^1.16.1" + resize-observer-polyfill "^1.5.1" + "@jupyterlab/property-inspector@^3.0.0-rc.12": version "3.0.0-rc.12" resolved "https://registry.yarnpkg.com/@jupyterlab/property-inspector/-/property-inspector-3.0.0-rc.12.tgz#966090162067ccf1cd4187b15324034f212caadb"