@jupyterlab/ui-components-extension 4.0.0-alpha.17 → 4.0.0-alpha.18

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
@@ -4,7 +4,7 @@
4
4
  * @packageDocumentation
5
5
  * @module ui-components-extension
6
6
  */
7
- import { FormComponentRegistry, FormWidgetRegistry, IFormComponentRegistry, IFormWidgetRegistry, ILabIconManager } from '@jupyterlab/ui-components';
7
+ import { FormRendererRegistry, IFormRendererRegistry, ILabIconManager } from '@jupyterlab/ui-components';
8
8
  /**
9
9
  * Placeholder for future extension that will provide an icon manager class
10
10
  * to assist with overriding/replacing particular sets of icons
@@ -18,28 +18,16 @@ const labiconManager = {
18
18
  }
19
19
  };
20
20
  /**
21
- * Sets up the component registry to be used by the FormEditor component.
21
+ * Sets up the renderer registry to be used by the FormEditor component.
22
22
  */
23
- const registryPlugin = {
24
- id: '@jupyterlab/settingeditor-extension:form-registry',
25
- provides: IFormComponentRegistry,
23
+ const rendererRegistryPlugin = {
24
+ id: '@jupyterlab/ui-components-extension:form-renderer-registry',
25
+ provides: IFormRendererRegistry,
26
26
  autoStart: true,
27
27
  activate: (app) => {
28
- const editorRegistry = new FormComponentRegistry();
28
+ const editorRegistry = new FormRendererRegistry();
29
29
  return editorRegistry;
30
30
  }
31
31
  };
32
- /**
33
- * Sets up the widget registry to be used by a RJSF form.
34
- */
35
- const widgetRegistryPlugin = {
36
- id: '@jupyterlab/ui-components-extension:widget-registry',
37
- provides: IFormWidgetRegistry,
38
- autoStart: true,
39
- activate: (app) => {
40
- const formRegistry = new FormWidgetRegistry();
41
- return formRegistry;
42
- }
43
- };
44
- export default [labiconManager, registryPlugin, widgetRegistryPlugin];
32
+ export default [labiconManager, rendererRegistryPlugin];
45
33
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"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D;IACzD,QAAQ,EAAE,eAAe;IACzB,SAAS,EAAE,IAAI;IACf,QAAQ,EAAE,CAAC,GAAoB,EAAE,EAAE;QACjC,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,sBAAsB,GAAiD;IAC3E,EAAE,EAAE,4DAA4D;IAChE,QAAQ,EAAE,qBAAqB;IAC/B,SAAS,EAAE,IAAI;IACf,QAAQ,EAAE,CAAC,GAAoB,EAAyB,EAAE;QACxD,MAAM,cAAc,GAAG,IAAI,oBAAoB,EAAE,CAAC;QAClD,OAAO,cAAc,CAAC;IACxB,CAAC;CACF,CAAC;AAEF,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlab/ui-components-extension",
3
- "version": "4.0.0-alpha.17",
3
+ "version": "4.0.0-alpha.18",
4
4
  "description": "JupyterLab - UI component plugins",
5
5
  "homepage": "https://github.com/jupyterlab/jupyterlab",
6
6
  "bugs": {
@@ -32,8 +32,8 @@
32
32
  "watch": "tsc -b --watch"
33
33
  },
34
34
  "dependencies": {
35
- "@jupyterlab/application": "^4.0.0-alpha.17",
36
- "@jupyterlab/ui-components": "^4.0.0-alpha.32"
35
+ "@jupyterlab/application": "^4.0.0-alpha.18",
36
+ "@jupyterlab/ui-components": "^4.0.0-alpha.33"
37
37
  },
38
38
  "devDependencies": {
39
39
  "rimraf": "~3.0.0",