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
This commit is contained in:
Jaco Greeff 2017-11-15 11:28:42 +01:00 committed by Afri Schoedon
parent cab5b09591
commit 0bf48e94cc
3 changed files with 26 additions and 26 deletions

44
js/package-lock.json generated
View File

@ -118,16 +118,16 @@
} }
}, },
"@parity/plugin-signer-account": { "@parity/plugin-signer-account": {
"version": "github:paritytech/plugin-signer-account#a00e131273becccab59e9852ec3313cb0fe19663" "version": "github:paritytech/plugin-signer-account#90ca570e550fe0ff7f06fc9b67426982a083c928"
}, },
"@parity/plugin-signer-default": { "@parity/plugin-signer-default": {
"version": "github:paritytech/plugin-signer-default#54e7fa63063f2dcae409ead222ff87fbcc19f1f9" "version": "github:paritytech/plugin-signer-default#0299349a7ea1aacca9a598057103e6e9cd6f8fa8"
}, },
"@parity/plugin-signer-hardware": { "@parity/plugin-signer-hardware": {
"version": "github:paritytech/plugin-signer-hardware#34b5562062bb1fe8ea6246c06d45624d7f309aa7" "version": "github:paritytech/plugin-signer-hardware#ebdb81997a310709cbd261b7904b0ab93afbf6c8"
}, },
"@parity/plugin-signer-qr": { "@parity/plugin-signer-qr": {
"version": "github:paritytech/plugin-signer-qr#8d937dd5f5d726fb22be72967fd9a472fa467bfd" "version": "github:paritytech/plugin-signer-qr#4ae59a9e6867356596c1d13ae605bcd7934df932"
}, },
"@parity/shared": { "@parity/shared": {
"version": "2.2.5", "version": "2.2.5",
@ -151,9 +151,9 @@
} }
}, },
"@parity/ui": { "@parity/ui": {
"version": "2.2.6", "version": "2.2.13",
"resolved": "https://registry.npmjs.org/@parity/ui/-/ui-2.2.6.tgz", "resolved": "https://registry.npmjs.org/@parity/ui/-/ui-2.2.13.tgz",
"integrity": "sha512-QBvAoD7sjrGCCWet/nb25Md3kub/86x/kim4CYse0qVnsc46myWLB4ijURSXhWnGUaeVJEeQLWr8usSIRk9iIg==", "integrity": "sha512-hMs151GydqeU6fKNt4abptUU91df0GvDzO4I7P9WJ9L/GJYYl2plYZCdhysAg3eYSaKCSMUqD5LZt+JsqoHROQ==",
"requires": { "requires": {
"@parity/api": "2.1.3", "@parity/api": "2.1.3",
"@parity/etherscan": "2.1.3", "@parity/etherscan": "2.1.3",
@ -561,7 +561,7 @@
"dev": true, "dev": true,
"requires": { "requires": {
"browserslist": "1.7.7", "browserslist": "1.7.7",
"caniuse-db": "1.0.30000760", "caniuse-db": "1.0.30000764",
"normalize-range": "0.1.2", "normalize-range": "0.1.2",
"num2fraction": "1.2.2", "num2fraction": "1.2.2",
"postcss": "5.2.18", "postcss": "5.2.18",
@ -574,7 +574,7 @@
"integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=",
"dev": true, "dev": true,
"requires": { "requires": {
"caniuse-db": "1.0.30000760", "caniuse-db": "1.0.30000764",
"electron-to-chromium": "1.3.27" "electron-to-chromium": "1.3.27"
} }
} }
@ -1949,7 +1949,7 @@
"integrity": "sha512-vJEBcDTANoDhSHL46NeOEW5hvQw7It9uCqzeFPQhpawXfnOwnpvW5C97vn1eGJ7iCkSg8wWU0nYObE7d/N95Iw==", "integrity": "sha512-vJEBcDTANoDhSHL46NeOEW5hvQw7It9uCqzeFPQhpawXfnOwnpvW5C97vn1eGJ7iCkSg8wWU0nYObE7d/N95Iw==",
"dev": true, "dev": true,
"requires": { "requires": {
"caniuse-lite": "1.0.30000760", "caniuse-lite": "1.0.30000764",
"electron-to-chromium": "1.3.27" "electron-to-chromium": "1.3.27"
} }
}, },
@ -2045,7 +2045,7 @@
"dev": true, "dev": true,
"requires": { "requires": {
"browserslist": "1.7.7", "browserslist": "1.7.7",
"caniuse-db": "1.0.30000760", "caniuse-db": "1.0.30000764",
"lodash.memoize": "4.1.2", "lodash.memoize": "4.1.2",
"lodash.uniq": "4.5.0" "lodash.uniq": "4.5.0"
}, },
@ -2056,22 +2056,22 @@
"integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=",
"dev": true, "dev": true,
"requires": { "requires": {
"caniuse-db": "1.0.30000760", "caniuse-db": "1.0.30000764",
"electron-to-chromium": "1.3.27" "electron-to-chromium": "1.3.27"
} }
} }
} }
}, },
"caniuse-db": { "caniuse-db": {
"version": "1.0.30000760", "version": "1.0.30000764",
"resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000760.tgz", "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000764.tgz",
"integrity": "sha1-PqKUc+t4psywny63Osnh3r/sUo0=", "integrity": "sha1-1zqxGuYvap4vaYZ9bZwjrj8uXY0=",
"dev": true "dev": true
}, },
"caniuse-lite": { "caniuse-lite": {
"version": "1.0.30000760", "version": "1.0.30000764",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000760.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000764.tgz",
"integrity": "sha1-7HIDlXQvHH7IlH/W3SYE53qPmP8=", "integrity": "sha1-l+p0cvnT5pHu3jTyGYPPwhmseEI=",
"dev": true "dev": true
}, },
"caseless": { "caseless": {
@ -3335,7 +3335,7 @@
"dev": true, "dev": true,
"requires": { "requires": {
"browserslist": "1.7.7", "browserslist": "1.7.7",
"caniuse-db": "1.0.30000760", "caniuse-db": "1.0.30000764",
"css-rule-stream": "1.1.0", "css-rule-stream": "1.1.0",
"duplexer2": "0.0.2", "duplexer2": "0.0.2",
"jsonfilter": "1.1.2", "jsonfilter": "1.1.2",
@ -3354,7 +3354,7 @@
"integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=",
"dev": true, "dev": true,
"requires": { "requires": {
"caniuse-db": "1.0.30000760", "caniuse-db": "1.0.30000764",
"electron-to-chromium": "1.3.27" "electron-to-chromium": "1.3.27"
} }
}, },
@ -9128,7 +9128,7 @@
"integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=",
"dev": true, "dev": true,
"requires": { "requires": {
"caniuse-db": "1.0.30000760", "caniuse-db": "1.0.30000764",
"electron-to-chromium": "1.3.27" "electron-to-chromium": "1.3.27"
} }
} }
@ -11693,7 +11693,7 @@
"integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=", "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=",
"dev": true, "dev": true,
"requires": { "requires": {
"caniuse-db": "1.0.30000760", "caniuse-db": "1.0.30000764",
"electron-to-chromium": "1.3.27" "electron-to-chromium": "1.3.27"
} }
}, },

View File

@ -27,7 +27,7 @@
"build:embed": "cross-env EMBED=1 node webpack/embed", "build:embed": "cross-env EMBED=1 node webpack/embed",
"build:i18n": "npm run clean && npm run build && babel-node ./scripts/build-i18n.js", "build:i18n": "npm run clean && npm run build && babel-node ./scripts/build-i18n.js",
"ci:build": "cross-env NODE_ENV=production npm run build", "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", "coveralls": "npm run testCoverage && coveralls < coverage/lcov.info",
"lint": "npm run lint:css && npm run lint:js", "lint": "npm run lint:css && npm run lint:js",
"lint:cached": "npm run lint:css && npm run lint:js:cached", "lint:cached": "npm run lint:css && npm run lint:js:cached",
@ -143,12 +143,12 @@
"@parity/dapp-signaturereg": "paritytech/dapp-signaturereg", "@parity/dapp-signaturereg": "paritytech/dapp-signaturereg",
"@parity/dapp-tokendeploy": "paritytech/dapp-tokendeploy", "@parity/dapp-tokendeploy": "paritytech/dapp-tokendeploy",
"@parity/dapp-tokenreg": "paritytech/dapp-tokenreg", "@parity/dapp-tokenreg": "paritytech/dapp-tokenreg",
"@parity/dapp-vaults": "paritytech/dapp-vaults",
"@parity/dapp-web": "paritytech/dapp-web", "@parity/dapp-web": "paritytech/dapp-web",
"@parity/plugin-signer-account": "paritytech/plugin-signer-account", "@parity/plugin-signer-account": "paritytech/plugin-signer-account",
"@parity/plugin-signer-default": "paritytech/plugin-signer-default", "@parity/plugin-signer-default": "paritytech/plugin-signer-default",
"@parity/plugin-signer-hardware": "paritytech/plugin-signer-hardware", "@parity/plugin-signer-hardware": "paritytech/plugin-signer-hardware",
"@parity/plugin-signer-qr": "paritytech/plugin-signer-qr", "@parity/plugin-signer-qr": "paritytech/plugin-signer-qr",
"@parity/dapp-vaults": "paritytech/dapp-vaults",
"@parity/shared": "2.2.x", "@parity/shared": "2.2.x",
"@parity/ui": "2.2.x", "@parity/ui": "2.2.x",
"keythereum": "1.0.2", "keythereum": "1.0.2",

View File

@ -189,9 +189,9 @@ $modalZ: 10001;
} }
.header { .header {
/* height: 2em; */ border-radius: 4px 4px 0 0;
padding: 0.5em 1em;
margin-bottom: 0; margin-bottom: 0;
padding: 0.5em 1em;
&::after { &::after {
clear: both; clear: both;