diff --git a/packages/app-rpc/package.json b/packages/app-rpc/package.json index bae5709188..2d8f4854b2 100644 --- a/packages/app-rpc/package.json +++ b/packages/app-rpc/package.json @@ -12,7 +12,7 @@ "dependencies": { "@babel/runtime": "^7.2.0", "@polkadot/ui-app": "^0.21.10", - "@polkadot/ui-keyring": "^0.24.14", + "@polkadot/ui-keyring": "^0.24.15", "@polkadot/ui-signer": "^0.21.10" } } diff --git a/packages/app-settings/package.json b/packages/app-settings/package.json index b9b55947bc..5187dc2b26 100644 --- a/packages/app-settings/package.json +++ b/packages/app-settings/package.json @@ -13,6 +13,6 @@ "@babel/runtime": "^7.2.0", "@polkadot/ui-app": "^0.21.10", "@polkadot/ui-react-rx": "^0.21.10", - "@polkadot/ui-settings": "^0.24.14" + "@polkadot/ui-settings": "^0.24.15" } } diff --git a/packages/app-staking/package.json b/packages/app-staking/package.json index 4b675007b5..6714e545db 100644 --- a/packages/app-staking/package.json +++ b/packages/app-staking/package.json @@ -15,7 +15,7 @@ "@polkadot/keyring": "^0.33.27", "@polkadot/storage": "^0.35.13", "@polkadot/ui-app": "^0.21.10", - "@polkadot/ui-keyring": "^0.24.14", + "@polkadot/ui-keyring": "^0.24.15", "@polkadot/ui-react-rx": "^0.21.10" } } diff --git a/packages/app-toolbox/package.json b/packages/app-toolbox/package.json index f2569a28fb..f289151672 100644 --- a/packages/app-toolbox/package.json +++ b/packages/app-toolbox/package.json @@ -12,6 +12,6 @@ "dependencies": { "@babel/runtime": "^7.2.0", "@polkadot/ui-app": "^0.21.10", - "@polkadot/ui-keyring": "^0.24.14" + "@polkadot/ui-keyring": "^0.24.15" } } diff --git a/packages/app-transfer/package.json b/packages/app-transfer/package.json index 2082d3b2d9..431d552d3c 100644 --- a/packages/app-transfer/package.json +++ b/packages/app-transfer/package.json @@ -12,7 +12,7 @@ "dependencies": { "@babel/runtime": "^7.2.0", "@polkadot/ui-app": "^0.21.10", - "@polkadot/ui-keyring": "^0.24.14", + "@polkadot/ui-keyring": "^0.24.15", "@polkadot/ui-react-rx": "^0.21.10" } } diff --git a/packages/apps/package.json b/packages/apps/package.json index 1724882e00..1524fcfd8a 100644 --- a/packages/apps/package.json +++ b/packages/apps/package.json @@ -26,7 +26,7 @@ "@polkadot/app-transfer": "^0.21.10", "@polkadot/app-vanitygen": "^0.21.10", "@polkadot/ui-app": "^0.21.10", - "@polkadot/ui-assets": "^0.24.14", + "@polkadot/ui-assets": "^0.24.15", "@polkadot/ui-signer": "^0.21.10" } } diff --git a/packages/ui-app/package.json b/packages/ui-app/package.json index 511df67e42..5a5766e660 100644 --- a/packages/ui-app/package.json +++ b/packages/ui-app/package.json @@ -12,10 +12,10 @@ "dependencies": { "@babel/runtime": "^7.2.0", "@polkadot/types": "^0.35.13", - "@polkadot/ui-identicon": "^0.24.14", - "@polkadot/ui-keyring": "^0.24.14", + "@polkadot/ui-identicon": "^0.24.15", + "@polkadot/ui-keyring": "^0.24.15", "@polkadot/ui-react-rx": "^0.21.10", - "@polkadot/ui-settings": "^0.24.14", + "@polkadot/ui-settings": "^0.24.15", "@types/chart.js": "^2.7.42", "@types/i18next": "^12.1.0", "@types/i18next-browser-languagedetector": "^2.0.1", diff --git a/packages/ui-app/src/Params/Param/Unknown.tsx b/packages/ui-app/src/Params/Param/Unknown.tsx index 4fb7d7c137..f9735b4e4f 100644 --- a/packages/ui-app/src/Params/Param/Unknown.tsx +++ b/packages/ui-app/src/Params/Param/Unknown.tsx @@ -9,7 +9,7 @@ import React from 'react'; import Static from '../../Static'; import translate from '../../translate'; -import Base from './Base'; +import BaseBytes from './BaseBytes'; type Props = BareProps & WithNamespaces & { defaultValue: RawParam, @@ -18,7 +18,7 @@ type Props = BareProps & WithNamespaces & { class Unknown extends React.PureComponent { render () { - const { defaultValue, isDisabled, label, t, withLabel, type } = this.props; + const { className, defaultValue, isDisabled, isError, label, name, onChange, style, t, type } = this.props; if (isDisabled) { const value = defaultValue && defaultValue.value && defaultValue.value.toString(); @@ -34,20 +34,20 @@ class Unknown extends React.PureComponent { } return ( - -
- {t('param.unknown', { - defaultValue: `ERROR: Unimplemented type '{{type}}' requested. No renderer exists`, - replace: { - type: type.type - } - })} -
- + length={-1} + name={name} + onChange={onChange} + size='full' + style={style} + type={type} + withLength={false} + /> ); } } diff --git a/packages/ui-signer/package.json b/packages/ui-signer/package.json index 56a6e8d239..bda5ed7f1f 100644 --- a/packages/ui-signer/package.json +++ b/packages/ui-signer/package.json @@ -12,6 +12,6 @@ "dependencies": { "@babel/runtime": "^7.2.0", "@polkadot/ui-app": "^0.21.10", - "@polkadot/ui-keyring": "^0.24.14" + "@polkadot/ui-keyring": "^0.24.15" } } diff --git a/yarn.lock b/yarn.lock index 8e44985580..b1d793a5dd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1599,31 +1599,31 @@ "@polkadot/util" "^0.33.27" core-js "^2.6.1" -"@polkadot/ui-assets@^0.24.14": - version "0.24.14" - resolved "https://registry.yarnpkg.com/@polkadot/ui-assets/-/ui-assets-0.24.14.tgz#309cb75db0c01b174f0e60726cc65df791ddc16b" - integrity sha512-zmQfDEJI70yhq33nbrhc7AJaSoFA2SN0BvtpcBJg+hVEWWj4+yOFCxeHqmMa3xvfVkvI35k1cY6lK8GQEBCmDw== +"@polkadot/ui-assets@^0.24.15": + version "0.24.15" + resolved "https://registry.yarnpkg.com/@polkadot/ui-assets/-/ui-assets-0.24.15.tgz#277b1f7eba52d554ad9377162510d27d9dac1a9c" + integrity sha512-F3+Vf6OJYlCY5KIKD6vU+XMKRlQy/mq/sSd4zgR2nU6pVyl/Bkv+9MXggaJT9O5/TwuFlll6I15DCcQjAMD50w== dependencies: "@babel/runtime" "^7.2.0" -"@polkadot/ui-identicon@^0.24.14": - version "0.24.14" - resolved "https://registry.yarnpkg.com/@polkadot/ui-identicon/-/ui-identicon-0.24.14.tgz#b4e2512f5717e9c1b35af552bc60f483e272e00c" - integrity sha512-SEPPmIJXfKEsQeUJ2bWje/Rv80bTwv4fBdH/kpjshByv10nPivCpUrllEGdc2yfrVsyfSh1JcMUoafmmkJjJpQ== +"@polkadot/ui-identicon@^0.24.15": + version "0.24.15" + resolved "https://registry.yarnpkg.com/@polkadot/ui-identicon/-/ui-identicon-0.24.15.tgz#0bc579b406f2e20fba37965c120a69f564991532" + integrity sha512-LJKfUgNV7fk17Avg06VJjT+vyhQrgVFoDXUY0YBlmWgqj55VGaN8cGDFQUOyXjsDMmEX3kvCT9C6Y9mSX+4f+Q== dependencies: "@babel/runtime" "^7.2.0" "@polkadot/keyring" "^0.33.27" - "@polkadot/ui-settings" "^0.24.14" + "@polkadot/ui-settings" "^0.24.15" "@polkadot/util-crypto" "^0.33.27" "@types/color" "^3.0.0" "@types/react-copy-to-clipboard" "^4.2.6" color "^3.0.0" react-copy-to-clipboard "^5.0.1" -"@polkadot/ui-keyring@^0.24.14": - version "0.24.14" - resolved "https://registry.yarnpkg.com/@polkadot/ui-keyring/-/ui-keyring-0.24.14.tgz#990e39d96df521997f46bb089b7bcae7bdd4aabf" - integrity sha512-6dQUEPBMpO790j6BMGUfj1vO86o4eU1T2xc9HaCQT1RfKTPB2BJv2/gmJHZNmBdfvZ2vs+A5TErCP0CGFwC89g== +"@polkadot/ui-keyring@^0.24.15": + version "0.24.15" + resolved "https://registry.yarnpkg.com/@polkadot/ui-keyring/-/ui-keyring-0.24.15.tgz#75eebdd4c57bfcccdcc2dc97599bb0e370a19c92" + integrity sha512-gLKZ00trJIfXZTLBHkz6xfE44VEujhDS1DmaHJ2JVze6tnzn7hodiQDcPyPdlLg41kIiZdQQQXCckryqWCV+Vw== dependencies: "@babel/runtime" "^7.2.0" "@polkadot/keyring" "^0.33.27" @@ -1631,10 +1631,10 @@ "@types/store" "^2.0.1" store "^2.0.12" -"@polkadot/ui-settings@^0.24.14": - version "0.24.14" - resolved "https://registry.yarnpkg.com/@polkadot/ui-settings/-/ui-settings-0.24.14.tgz#aa96dc5092e333fddacefb7cfc4fe68e0ecc2d11" - integrity sha512-vG/XeHxOnwPKrEMaQH8ZT4V8Y+WWNPcsTw8KtOeduv7QALr76FPMClxiB2l53x15hZHd+OcS5NVxhaOQPCAm3g== +"@polkadot/ui-settings@^0.24.15": + version "0.24.15" + resolved "https://registry.yarnpkg.com/@polkadot/ui-settings/-/ui-settings-0.24.15.tgz#22d16fbd8b4582739ec86860b026df9ab88d43c1" + integrity sha512-s0nqvBC5X5EFFVpbsVRhhzhFiNGcQY9OcsqaxlCek8ex3O86Jk+l7jpeURCEBbSIV+JDcuUxr0ETyVAKVcsDUQ== dependencies: "@babel/runtime" "^7.2.0" "@types/store" "^2.0.1"