diff --git a/LICENSE b/LICENSE index 7a4a3ea24..b79d12ac1 100644 --- a/LICENSE +++ b/LICENSE @@ -187,7 +187,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright 2021 Soramitsu Co Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/package.json b/package.json index 612db9bd6..70b65f6a3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "polkaswap-exchange-web", - "version": "0.1.3", + "version": "0.1.4", "license": "Apache-2.0", "private": true, "author": "Stefan Popov ", @@ -14,8 +14,8 @@ }, "dependencies": { "@metamask/detect-provider": "^1.2.0", - "@soramitsu/soramitsu-js-ui": "^0.7.13", - "@soramitsu/soraneo-wallet-web": "^0.6.5", + "@soramitsu/soramitsu-js-ui": "^0.8.2", + "@soramitsu/soraneo-wallet-web": "^0.7.3", "@walletconnect/web3-provider": "^1.3.3", "axios": "^0.19.2", "core-js": "^3.6.4", diff --git a/src/App.vue b/src/App.vue index 83a52af40..47a5c76cf 100644 --- a/src/App.vue +++ b/src/App.vue @@ -12,7 +12,7 @@
@@ -82,7 +82,7 @@ diff --git a/src/components/ConfirmBridgeTransactionDialog.vue b/src/components/ConfirmBridgeTransactionDialog.vue index 2200ec5b7..ab928f837 100644 --- a/src/components/ConfirmBridgeTransactionDialog.vue +++ b/src/components/ConfirmBridgeTransactionDialog.vue @@ -11,7 +11,7 @@ {{ formatAssetSymbol(asset.symbol) }}
- +
{{ amount }}
diff --git a/src/components/ConfirmRemoveLiquidity.vue b/src/components/ConfirmRemoveLiquidity.vue index 5e12cd3cc..cf7ce205d 100644 --- a/src/components/ConfirmRemoveLiquidity.vue +++ b/src/components/ConfirmRemoveLiquidity.vue @@ -6,7 +6,7 @@
{{ formattedFromValue }} - + {{ formattedToValue }}
diff --git a/src/components/ConfirmSwap.vue b/src/components/ConfirmSwap.vue index acaa690cc..eb690e3e0 100644 --- a/src/components/ConfirmSwap.vue +++ b/src/components/ConfirmSwap.vue @@ -12,7 +12,7 @@ {{ tokenFrom.symbol }}
- +
{{ formattedToValue }}
@@ -126,7 +126,7 @@ export default class ConfirmSwap extends Mixins(TransactionMixin, DialogMixin, N .transaction-number { color: var(--s-color-base-content-primary); font-feature-settings: $s-font-feature-settings-common; - @include font-weight(600); + font-weight: 600; word-break: break-all; } } diff --git a/src/components/GenericPageHeader.vue b/src/components/GenericPageHeader.vue index 01a6e2e1f..e5c97181c 100644 --- a/src/components/GenericPageHeader.vue +++ b/src/components/GenericPageHeader.vue @@ -1,6 +1,6 @@
- + @@ -132,6 +132,7 @@ v-if="isInitRequestCompleted && isTransferCompleted" class="s-button--create-transaction" type="link" + icon="basic-circle-plus-24" @click="handleCreateTransaction" > {{ t('bridgeTransaction.newTransaction') }} @@ -558,31 +559,6 @@ $collapse-header-height: calc(#{$basic-spacing * 4} + #{$collapse-header-title-h .transaction { &-container { @include bridge-container; - .s-button--create-transaction { - span { - position: relative; - padding-left: $inner-spacing-mini * 4; - &:before { - position: absolute; - top: 0; - bottom: 0; - left: 0; - margin-top: auto; - margin-bottom: auto; - display: block; - height: var(--s-size-mini); - width: var(--s-size-mini); - content: ''; - background: url("~@/assets/img/icon-circle-plus.svg") center 100% no-repeat; - } - } - &:hover, - &:active { - span:before { - background-image: url("~@/assets/img/icon-circle-plus--hover.svg"); - } - } - } } &-content { .el-card__body { @@ -690,7 +666,7 @@ $collapse-header-height: calc(#{$basic-spacing * 4} + #{$collapse-header-title-h } &--view-transactions-history, &--create-transaction { - @include font-weight(700, true); + font-weight: 700; } &--view-transactions-history { line-height: $s-line-height-medium; @@ -702,7 +678,7 @@ $collapse-header-height: calc(#{$basic-spacing * 4} + #{$collapse-header-title-h @include bridge-content; .el-button { margin-top: $basic-spacing; - @include font-weight(600, true); + font-weight: 600; } } &-hash-container { @@ -741,7 +717,7 @@ $collapse-header-height: calc(#{$basic-spacing * 4} + #{$collapse-header-title-h &-details { margin-bottom: $inner-spacing-mini; font-feature-settings: $s-font-feature-settings-title; - @include font-weight(700, true); + font-weight: 700; line-height: $s-line-height-medium; } } @@ -756,7 +732,7 @@ $collapse-header-height: calc(#{$basic-spacing * 4} + #{$collapse-header-title-h padding-right: $inner-spacing-mini; padding-left: $inner-spacing-mini; font-feature-settings: $s-font-feature-settings-type; - @include font-weight(700, true); + font-weight: 700; letter-spacing: $s-letter-spacing-type; text-transform: uppercase; } diff --git a/src/views/BridgeTransactionsHistory.vue b/src/views/BridgeTransactionsHistory.vue index 4dee02613..ef7f9456e 100644 --- a/src/views/BridgeTransactionsHistory.vue +++ b/src/views/BridgeTransactionsHistory.vue @@ -10,7 +10,7 @@ - - + > + +