Ver código fonte

docs and integrity

telamonian 5 anos atrás
pai
commit
a882925580

+ 2 - 1
packages/htmlviewer-extension/package.json

@@ -36,7 +36,8 @@
     "@jupyterlab/application": "^2.0.0-alpha.4",
     "@jupyterlab/apputils": "^2.0.0-alpha.4",
     "@jupyterlab/docregistry": "^2.0.0-alpha.4",
-    "@jupyterlab/htmlviewer": "^2.0.0-alpha.4"
+    "@jupyterlab/htmlviewer": "^2.0.0-alpha.4",
+    "@jupyterlab/ui-components": "^2.0.0-alpha.4"
   },
   "devDependencies": {
     "rimraf": "~3.0.0",

+ 3 - 0
packages/htmlviewer-extension/tsconfig.json

@@ -17,6 +17,9 @@
     },
     {
       "path": "../htmlviewer"
+    },
+    {
+      "path": "../ui-components"
     }
   ]
 }

+ 7 - 2
packages/ui-components/src/icon/jlicon.tsx

@@ -204,10 +204,15 @@ export namespace JLIcon {
      */
     className?: string;
 
+    /**
+     * The icon's outermost node, which acts as a container for the actual
+     * svg node. If container is not supplied, it will be created
+     */
     container?: HTMLElement;
+
     /**
-     * HTML element tag of the icon's outermost node, which acts as a
-     * container for the actual svg node
+     * HTML element tag used to create the icon's outermost container node,
+     * if no container is passed in
      */
     tag?: 'div' | 'span';