@jupytergis/jupytergis-lab 0.1.6 → 0.1.7

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { CommandIDs, ControlPanelModel, LeftPanelWidget, RightPanelWidget, addCommands, createDefaultLayerRegistry, logoMiniIcon } from '@jupytergis/base';
1
+ import { CommandIDs, ControlPanelModel, GlobalStateDbManager, LeftPanelWidget, RightPanelWidget, addCommands, createDefaultLayerRegistry, logoMiniIcon } from '@jupytergis/base';
2
2
  import { IJGISFormSchemaRegistryToken, IJGISLayerBrowserRegistryToken, IJupyterGISDocTracker } from '@jupytergis/schema';
3
3
  import { ILayoutRestorer } from '@jupyterlab/application';
4
4
  import { ICompletionProviderManager } from '@jupyterlab/completer';
@@ -26,6 +26,8 @@ const plugin = {
26
26
  tracker.currentWidget === app.shell.currentWidget);
27
27
  };
28
28
  createDefaultLayerRegistry(layerBrowserRegistry);
29
+ const stateDbManager = GlobalStateDbManager.getInstance();
30
+ stateDbManager.initialize(state);
29
31
  addCommands(app, tracker, translator, formSchemaRegistry, layerBrowserRegistry, state, completionProviderManager);
30
32
  // SOURCES context menu
31
33
  const newSourceSubMenu = new Menu({ commands: app.commands });
@@ -1,4 +1,4 @@
1
- import { ICollaborativeDrive } from '@jupyter/docprovider';
1
+ import { ICollaborativeDrive } from '@jupyter/collaborative-drive';
2
2
  import { JupyterGISPanel } from '@jupytergis/base';
3
3
  import { JupyterGISModel } from '@jupytergis/schema';
4
4
  import { MessageLoop } from '@lumino/messaging';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupytergis/jupytergis-lab",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "JupyterGIS Lab extension.",
5
5
  "keywords": [
6
6
  "jupyter",
@@ -52,27 +52,27 @@
52
52
  "watch:labextension": "jupyter labextension watch ."
53
53
  },
54
54
  "dependencies": {
55
- "@jupyter/docprovider": "^2.0.0",
56
- "@jupytergis/base": "^0.1.6",
57
- "@jupytergis/jupytergis-core": "^0.1.6",
58
- "@jupytergis/schema": "^0.1.6",
59
- "@jupyterlab/application": "^4.0.0",
60
- "@jupyterlab/apputils": "^4.0.0",
61
- "@jupyterlab/coreutils": "^6.0.0",
62
- "@jupyterlab/docregistry": "^4.0.0",
63
- "@jupyterlab/filebrowser": "^4.0.0",
64
- "@jupyterlab/launcher": "^4.0.0",
65
- "@jupyterlab/mainmenu": "^4.0.0",
66
- "@jupyterlab/services": "^7.0.0",
67
- "@jupyterlab/translation": "^4.0.0",
68
- "@jupyterlab/ui-components": "^4.0.0",
55
+ "@jupyter/collaborative-drive": "^3.0.0",
56
+ "@jupytergis/base": "^0.1.7",
57
+ "@jupytergis/jupytergis-core": "^0.1.7",
58
+ "@jupytergis/schema": "^0.1.7",
59
+ "@jupyterlab/application": "^4.3.0",
60
+ "@jupyterlab/apputils": "^4.3.0",
61
+ "@jupyterlab/coreutils": "^6.3.0",
62
+ "@jupyterlab/docregistry": "^4.3.0",
63
+ "@jupyterlab/filebrowser": "^4.3.0",
64
+ "@jupyterlab/launcher": "^4.3.0",
65
+ "@jupyterlab/mainmenu": "^4.3.0",
66
+ "@jupyterlab/services": "^7.3.0",
67
+ "@jupyterlab/translation": "^4.3.0",
68
+ "@jupyterlab/ui-components": "^4.3.0",
69
69
  "@lumino/messaging": "^2.0.0",
70
70
  "@lumino/widgets": "^2.0.0",
71
71
  "react": "^18.0.1",
72
72
  "yjs-widgets": "^0.3.5"
73
73
  },
74
74
  "devDependencies": {
75
- "@jupyterlab/builder": "^4.0.0",
75
+ "@jupyterlab/builder": "^4.3.0",
76
76
  "css-loader": "^6.7.1",
77
77
  "mkdirp": "^1.0.3",
78
78
  "npm-run-all": "^4.1.5",
package/style/base.css CHANGED
@@ -193,6 +193,7 @@ div.jGIS-toolbar-widget > div.jp-Toolbar-item:last-child {
193
193
  }
194
194
 
195
195
  .jGIS-Toolbar-Separator {
196
+ min-height: 25px;
196
197
  width: var(--jp-border-width);
197
198
  background-color: var(--jp-border-color1);
198
199
  padding-left: 0px !important;