Browse Source

integrity

telamonian 5 years ago
parent
commit
0277f0425f

+ 0 - 1
packages/tabmanager-extension/package.json

@@ -36,7 +36,6 @@
   },
   "dependencies": {
     "@jupyterlab/application": "^2.0.0-alpha.4",
-    "@jupyterlab/ui-components": "^2.0.0-alpha.4",
     "@lumino/algorithm": "^1.2.1",
     "@lumino/widgets": "^1.9.4"
   },

+ 0 - 1
packages/tabmanager-extension/style/index.css

@@ -5,6 +5,5 @@
 
 /* This file was auto-generated by ensurePackage() in @jupyterlab/buildutils */
 @import url('~@lumino/widgets/style/index.css');
-@import url('~@jupyterlab/ui-components/style/index.css');
 
 @import url('./base.css');

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

@@ -8,9 +8,6 @@
   "references": [
     {
       "path": "../application"
-    },
-    {
-      "path": "../ui-components"
     }
   ]
 }

+ 0 - 29
packages/ui-components/src/icon/jlicon.tsx

@@ -74,35 +74,6 @@ export class JLIcon {
   }
 
   protected _initReact() {
-    // const component = React.forwardRef(
-    //   (
-    //     { className, container, title, tag = 'div', ...propsStyle }: JLIcon.IProps = {},
-    //     ref: React.RefObject<HTMLDivElement>
-    //   ) => {
-    //     // const Tag = tag;
-    //     // const classNames = classes(
-    //     //   className,
-    //     //   propsStyle ? iconStyle(propsStyle) : ''
-    //     // );
-    //
-    //     // ensure that svg html is valid
-    //     const svgElement = this.resolveSvg(title);
-    //     if (!svgElement) {
-    //       // bail if failing silently
-    //       return <></>;
-    //     }
-    //
-    //     const attrs = svgElement.getAttributeNames().reduce((d, name) => {d[name] = svgElement.getAttribute(name); return d}, ({} as any));
-    //
-    //     return (
-    //       <svg
-    //         {...attrs}
-    //         dangerouslySetInnerHTML={{ __html: svgElement.innerHTML }}
-    //       />
-    //     );
-    //   }
-    // );
-
     const component = React.forwardRef(
       (
         {