From 0bf48e94cc2e30634022bbb84b4a6526d5b5e535 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Wed, 15 Nov 2017 11:28:42 +0100 Subject: [PATCH] Properly display Signer errors (Snackbar display popup) (#7053) * Update to fixed @parity/ui (Errors component) * Update ParityBar radius to align with Snackbar/Errors * Update to latest @parity/ui * Update dependencies @parity/signer-plugin-* * Really pull in @parity/signer-plugin-* deps --- js/package-lock.json | 44 +++++++++++++++++----------------- js/package.json | 4 ++-- js/src/ParityBar/parityBar.css | 4 ++-- 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/js/package-lock.json b/js/package-lock.json index f444927bc..0c1c2ff8e 100644 --- a/js/package-lock.json +++ b/js/package-lock.json @@ -118,16 +118,16 @@ } }, "@parity/plugin-signer-account": { - "version": "github:paritytech/plugin-signer-account#a00e131273becccab59e9852ec3313cb0fe19663" + "version": "github:paritytech/plugin-signer-account#90ca570e550fe0ff7f06fc9b67426982a083c928" }, "@parity/plugin-signer-default": { - "version": "github:paritytech/plugin-signer-default#54e7fa63063f2dcae409ead222ff87fbcc19f1f9" + "version": "github:paritytech/plugin-signer-default#0299349a7ea1aacca9a598057103e6e9cd6f8fa8" }, "@parity/plugin-signer-hardware": { - "version": "github:paritytech/plugin-signer-hardware#34b5562062bb1fe8ea6246c06d45624d7f309aa7" + "version": "github:paritytech/plugin-signer-hardware#ebdb81997a310709cbd261b7904b0ab93afbf6c8" }, "@parity/plugin-signer-qr": { - "version": "github:paritytech/plugin-signer-qr#8d937dd5f5d726fb22be72967fd9a472fa467bfd" + "version": "github:paritytech/plugin-signer-qr#4ae59a9e6867356596c1d13ae605bcd7934df932" }, "@parity/shared": { "version": "2.2.5", @@ -151,9 +151,9 @@ } }, "@parity/ui": { - "version": "2.2.6", - "resolved": "https://registry.npmjs.org/@parity/ui/-/ui-2.2.6.tgz", - "integrity": "sha512-QBvAoD7sjrGCCWet/nb25Md3kub/86x/kim4CYse0qVnsc46myWLB4ijURSXhWnGUaeVJEeQLWr8usSIRk9iIg==", + "version": "2.2.13", + "resolved": "https://registry.npmjs.org/@parity/ui/-/ui-2.2.13.tgz", + "integrity": "sha512-hMs151GydqeU6fKNt4abptUU91df0GvDzO4I7P9WJ9L/GJYYl2plYZCdhysAg3eYSaKCSMUqD5LZt+JsqoHROQ==", "requires": { "@parity/api": "2.1.3", "@parity/etherscan": "2.1.3", @@ -561,7 +561,7 @@ "dev": true, "requires": { "browserslist": "1.7.7", - "caniuse-db": "1.0.30000760", + "caniuse-db": "1.0.30000764", "normalize-range": "0.1.2", "num2fraction": "1.2.2", "postcss": "5.2.18", @@ -574,7 +574,7 @@ "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", "dev": true, "requires": { - "caniuse-db": "1.0.30000760", + "caniuse-db": "1.0.30000764", "electron-to-chromium": "1.3.27" } } @@ -1949,7 +1949,7 @@ "integrity": "sha512-vJEBcDTANoDhSHL46NeOEW5hvQw7It9uCqzeFPQhpawXfnOwnpvW5C97vn1eGJ7iCkSg8wWU0nYObE7d/N95Iw==", "dev": true, "requires": { - "caniuse-lite": "1.0.30000760", + "caniuse-lite": "1.0.30000764", "electron-to-chromium": "1.3.27" } }, @@ -2045,7 +2045,7 @@ "dev": true, "requires": { "browserslist": "1.7.7", - "caniuse-db": "1.0.30000760", + "caniuse-db": "1.0.30000764", "lodash.memoize": "4.1.2", "lodash.uniq": "4.5.0" }, @@ -2056,22 +2056,22 @@ "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", "dev": true, "requires": { - "caniuse-db": "1.0.30000760", + "caniuse-db": "1.0.30000764", "electron-to-chromium": "1.3.27" } } } }, "caniuse-db": { - "version": "1.0.30000760", - "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000760.tgz", - "integrity": "sha1-PqKUc+t4psywny63Osnh3r/sUo0=", + "version": "1.0.30000764", + "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000764.tgz", + "integrity": "sha1-1zqxGuYvap4vaYZ9bZwjrj8uXY0=", "dev": true }, "caniuse-lite": { - "version": "1.0.30000760", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000760.tgz", - "integrity": "sha1-7HIDlXQvHH7IlH/W3SYE53qPmP8=", + "version": "1.0.30000764", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000764.tgz", + "integrity": "sha1-l+p0cvnT5pHu3jTyGYPPwhmseEI=", "dev": true }, "caseless": { @@ -3335,7 +3335,7 @@ "dev": true, "requires": { "browserslist": "1.7.7", - "caniuse-db": "1.0.30000760", + "caniuse-db": "1.0.30000764", "css-rule-stream": "1.1.0", "duplexer2": "0.0.2", "jsonfilter": "1.1.2", @@ -3354,7 +3354,7 @@ "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", "dev": true, "requires": { - "caniuse-db": "1.0.30000760", + "caniuse-db": "1.0.30000764", "electron-to-chromium": "1.3.27" } }, @@ -9128,7 +9128,7 @@ "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", "dev": true, "requires": { - "caniuse-db": "1.0.30000760", + "caniuse-db": "1.0.30000764", "electron-to-chromium": "1.3.27" } } @@ -11693,7 +11693,7 @@ "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", "dev": true, "requires": { - "caniuse-db": "1.0.30000760", + "caniuse-db": "1.0.30000764", "electron-to-chromium": "1.3.27" } }, diff --git a/js/package.json b/js/package.json index d7e96512b..31c9ccc7b 100644 --- a/js/package.json +++ b/js/package.json @@ -27,7 +27,7 @@ "build:embed": "cross-env EMBED=1 node webpack/embed", "build:i18n": "npm run clean && npm run build && babel-node ./scripts/build-i18n.js", "ci:build": "cross-env NODE_ENV=production npm run build", - "clean": "rimraf ./.build ./.coverage ./.happypack ./build ./node_modules/.cache", + "clean": "rimraf ./.build ./.coverage ./.happypack ./build", "coveralls": "npm run testCoverage && coveralls < coverage/lcov.info", "lint": "npm run lint:css && npm run lint:js", "lint:cached": "npm run lint:css && npm run lint:js:cached", @@ -143,12 +143,12 @@ "@parity/dapp-signaturereg": "paritytech/dapp-signaturereg", "@parity/dapp-tokendeploy": "paritytech/dapp-tokendeploy", "@parity/dapp-tokenreg": "paritytech/dapp-tokenreg", + "@parity/dapp-vaults": "paritytech/dapp-vaults", "@parity/dapp-web": "paritytech/dapp-web", "@parity/plugin-signer-account": "paritytech/plugin-signer-account", "@parity/plugin-signer-default": "paritytech/plugin-signer-default", "@parity/plugin-signer-hardware": "paritytech/plugin-signer-hardware", "@parity/plugin-signer-qr": "paritytech/plugin-signer-qr", - "@parity/dapp-vaults": "paritytech/dapp-vaults", "@parity/shared": "2.2.x", "@parity/ui": "2.2.x", "keythereum": "1.0.2", diff --git a/js/src/ParityBar/parityBar.css b/js/src/ParityBar/parityBar.css index 49c71aa6a..c1ec5c08e 100644 --- a/js/src/ParityBar/parityBar.css +++ b/js/src/ParityBar/parityBar.css @@ -189,9 +189,9 @@ $modalZ: 10001; } .header { - /* height: 2em; */ - padding: 0.5em 1em; + border-radius: 4px 4px 0 0; margin-bottom: 0; + padding: 0.5em 1em; &::after { clear: both;