Browse Source

updated packages

David Sehnal 5 years ago
parent
commit
9addea79b7
3 changed files with 140 additions and 381 deletions
  1. 117 358
      package-lock.json
  2. 6 6
      package.json
  3. 17 17
      src/mol-plugin/layout.ts

File diff suppressed because it is too large
+ 117 - 358
package-lock.json


+ 6 - 6
package.json

@@ -85,19 +85,19 @@
     "simple-git": "^1.126.0",
     "style-loader": "^1.0.0",
     "ts-jest": "^24.1.0",
-    "tslint": "^5.20.0",
-    "typescript": "^3.6.4",
+    "tslint": "^5.20.1",
+    "typescript": "^3.7.2",
     "webpack": "^4.41.2",
-    "webpack-cli": "^3.3.9"
+    "webpack-cli": "^3.3.10"
   },
   "dependencies": {
     "@types/argparse": "^1.0.36",
     "@types/benchmark": "^1.0.31",
     "@types/compression": "1.0.1",
-    "@types/express": "^4.17.1",
+    "@types/express": "^4.17.2",
     "@types/jest": "^24.0.20",
     "@types/node": "^12.11.7",
-    "@types/node-fetch": "^2.5.2",
+    "@types/node-fetch": "^2.5.3",
     "@types/react": "^16.9.11",
     "@types/react-dom": "^16.9.3",
     "@types/swagger-ui-dist": "3.0.3",
@@ -111,7 +111,7 @@
     "react": "^16.11.0",
     "react-dom": "^16.11.0",
     "rxjs": "^6.5.3",
-    "swagger-ui-dist": "^3.24.0",
+    "swagger-ui-dist": "^3.24.2",
     "util.promisify": "^1.0.0",
     "xhr2": "^0.2.0"
   }

+ 17 - 17
src/mol-plugin/layout.ts

@@ -148,22 +148,22 @@ export class PluginLayout extends PluginComponent<PluginLayoutStateProps> {
                     }
 
                     const s = body.style
-                    s.top = t.top;
-                    s.bottom = t.bottom;
-                    s.left = t.left;
-                    s.right = t.right;
-
-                    s.width = t.width;
-                    s.height = t.height;
-                    s.maxWidth = t.maxWidth;
-                    s.maxHeight = t.maxHeight;
-                    s.margin = t.margin;
-                    s.marginLeft = t.marginLeft;
-                    s.marginRight = t.marginRight;
-                    s.marginTop = t.marginTop;
-                    s.marginBottom = t.marginBottom;
-
-                    s.position = t.position;
+                    s.top = t.top!;
+                    s.bottom = t.bottom!;
+                    s.left = t.left!;
+                    s.right = t.right!;
+
+                    s.width = t.width!;
+                    s.height = t.height!;
+                    s.maxWidth = t.maxWidth!;
+                    s.maxHeight = t.maxHeight!;
+                    s.margin = t.margin!;
+                    s.marginLeft = t.marginLeft!;
+                    s.marginRight = t.marginRight!;
+                    s.marginTop = t.marginTop!;
+                    s.marginBottom = t.marginBottom!;
+
+                    s.position = t.position!;
                     s.overflow = t.overflow || '';
 
                     const doc = this.getScrollElement();
@@ -171,7 +171,7 @@ export class PluginLayout extends PluginComponent<PluginLayoutStateProps> {
                     doc.scrollLeft = t.scrollLeft;
 
                     this.rootState = void 0;
-                    this.root.style.zIndex = t.zIndex;
+                    this.root.style.zIndex = t.zIndex!;
                 }
             }
         } catch (e) {

Some files were not shown because too many files changed in this diff