diff --git a/config.xml b/config.xml index 13bbdbbb7c..d370458be0 100644 --- a/config.xml +++ b/config.xml @@ -1,5 +1,5 @@ - + SuperHero SuperHero wallet diff --git a/package-lock.json b/package-lock.json index a28970508f..b67f307b22 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "superhero-wallet", - "version": "0.0.15", + "version": "0.0.16", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -2605,24 +2605,24 @@ "version": "github:aeternity/aepp-raendom#9bf50b4c526e81ee6d26f3eb57c7becfba3cdd5e", "from": "github:aeternity/aepp-raendom#feature/layout-superhero", "requires": { - "@aeternity/aepp-sdk": "7.1.1", "axios": "^0.19.0", "bignumber.js": "^9.0.0", "bootstrap": "^4.4.1", - "bootstrap-vue": "^2.4.0", - "i18n": "^0.8.5", + "bootstrap-vue": "^2.9.0", + "core-js": "^3.6.4", + "detect-browser": "^4.8.0", + "i18n": "^0.8.6", "lodash-es": "^4.17.15", - "timers": "^0.1.1", - "vue": "^2.6.10", - "vue-i18n": "^8.15.3", - "vue-router": "^3.1.3", - "vuex": "^3.1.2" + "vue": "^2.6.11", + "vue-i18n": "^8.16.0", + "vue-router": "^3.1.6", + "vuex": "^3.1.3" }, "dependencies": { "@aeternity/aepp-sdk": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/@aeternity/aepp-sdk/-/aepp-sdk-7.2.1.tgz", - "integrity": "sha512-ok15jB7FB6QkHf3kjFBKQ0GCp/2QHIFYq+TvBh59l6D7pYfb/7eU4/tLZKdxJPqYDtO9I7t3KIzCWG39yCWzhQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@aeternity/aepp-sdk/-/aepp-sdk-7.1.1.tgz", + "integrity": "sha512-xSdmqyQZgCTpqCWAw+qUcMT5joId6gOYcT/aIWgw64FLlQaCqrqvvzeIfmt4aKqa+sKEex1vqmYjSrynbHTEgg==", "requires": { "@aeternity/bip39": "^0.1.0", "@stamp/it": "^1.0.3", @@ -5623,8 +5623,7 @@ "core-js": { "version": "3.6.4", "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.4.tgz", - "integrity": "sha512-4paDGScNgZP2IXXilaffL9X7968RuvwlkK3xWtZRVqgd8SYNiVKRJvkFd1aqqEuPfN7E68ZHEp9hDj6lHj4Hyw==", - "dev": true + "integrity": "sha512-4paDGScNgZP2IXXilaffL9X7968RuvwlkK3xWtZRVqgd8SYNiVKRJvkFd1aqqEuPfN7E68ZHEp9hDj6lHj4Hyw==" }, "core-js-compat": { "version": "3.6.4", @@ -18304,11 +18303,6 @@ "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz", "integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8=" }, - "timers": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/timers/-/timers-0.1.1.tgz", - "integrity": "sha1-hqxceMHuQZaU81pY3k/UGDz7nB4=" - }, "timers-browserify": { "version": "2.0.11", "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.11.tgz", diff --git a/package.json b/package.json index db33935c97..66172750d0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "superhero-wallet", - "version": "0.0.15", + "version": "0.0.16", "description": "Superhero wallet", "author": "SuperHero", "license": "MIT", diff --git a/src/common/variables.scss b/src/common/variables.scss index f2f6ddfb05..ddd022ba0c 100644 --- a/src/common/variables.scss +++ b/src/common/variables.scss @@ -20,15 +20,16 @@ $bg-color: #16161D; $white-color: #F1F1F1; $border-color: #34343B; $input-bg-color: #121217; -$button-color: #3F4048; -$button-text-color: #CFCFCF; +$button-color: #2A9CFF; +$button-text-color: #FFFFFF; +$modal-background: #1B1B23; $placeholder-color: #67676D; $text-color: #BCBCC4; $accent-color: #67f7b8; $secondary-color: #2a9cff; $nav-bg-color: #21212A; -$input-focus-color: #67f7b8; -$input-error-color: #2a9cff; +$input-focus-color: #2a9cff; +$input-error-color: #FF5857; $transactions-bg: #12121b; $nav-border-color: #3A3A47; $tx-border-color: #33343e; diff --git a/src/icons/icon_128.png b/src/icons/icon_128.png index c6aea1d0ba..99e4fdf51f 100644 Binary files a/src/icons/icon_128.png and b/src/icons/icon_128.png differ diff --git a/src/icons/icon_48.png b/src/icons/icon_48.png index c4796a7e19..7bf23cd699 100644 Binary files a/src/icons/icon_48.png and b/src/icons/icon_48.png differ diff --git a/src/popup/locales/en.json b/src/popup/locales/en.json index b69148cf61..3bf3b3a761 100644 --- a/src/popup/locales/en.json +++ b/src/popup/locales/en.json @@ -155,7 +155,7 @@ "wholeTransaction": "Whole transaction history", "latestTransactions": "Latest transactions", "noTransactionsFound": "No transactions found!", - "tipSomeone": "Send Tips", + "tipSomeone": "Send Tip", "howToClaim": "How to claim AE", "balance": "Balance", "copied": "Copied!", @@ -187,9 +187,6 @@ "recentTransactions": { "recentActivity": "Recent Activity", "viewAll": "View all", - "pendingStatus": "Pending", - "sentStatus": "Sent", - "receivedStatus": "Received", "noTransactionsFound": "No transactions found!" }, "addFungibleToken": { @@ -597,6 +594,7 @@ }, "tipPage": { "back": "Back", + "OkButton": "OK", "noImage": "No Image", "domainVerified": "Verified", "domainNotVerified": "Not verified", @@ -610,6 +608,9 @@ "tipDetails": "Details", "tipWebsite": "Website", "heading": "Send", + "sendTipConfirmationHeader": "Send Tip Confirmation", + "sendTipConfirmationBody": "You are going to send tip to untrusted URL. Third party issues prevent us to ensure that tips will be directly delivered to the URL owner.", + "sendTipConfirmationQstn":"Are you sure you would like to send the tip anyway?", "headingSending": "Sending", "selectTip": "Select amount to tip", "tipDomain": "Tip domain", @@ -621,15 +622,19 @@ "title": "Title", "titlePlaceholder": "Send a message of #support along with your donation...", "account": "Account", - "next": "Send Tips", - "url": "Send a tip to", + "next": "Send Tip", + "url": "Send Tip to", "to": "to", "amountPlaceholder": "Enter amount", "amountLabel": "Amount", "availableLabel": "Available", "confirm": "Confirm", "cancel": "Cancel", - "edit": "Edit AE Details" + "edit": "Edit AE Details", + "whatIsVerifieddUrl": "What is \"Verified\" URL?", + "whatIsUntrustedUrl": "What is \"Untrusted\" URL?", + "untrustedUrlInfo": "Third party issues prevent us to ensure that tips will be directly delivered to the URL owner. You are sending the tip at your own risk.", + "verifiedUrlInfo": "If a URL is marked as verified, it means the owner of this URL is already a fellow Superhero — and that is awesome! An AE address has been included in the URL and tips can be claimed." }, "successTip": { "sendMore": "Send More AE", @@ -707,7 +712,10 @@ "nameUpdate": "name update tx", "createTx": "create tx", "clear": "Clear filter", - "apply": "Apply filter" + "apply": "Apply filter", + "sent": "Sent", + "received": "Received", + "pending": "Pending" }, "utilities": { "heading": "Utilities", diff --git a/src/popup/router/components/Button.vue b/src/popup/router/components/Button.vue index 4f7bd1cb0d..29096e89cb 100644 --- a/src/popup/router/components/Button.vue +++ b/src/popup/router/components/Button.vue @@ -13,6 +13,7 @@ export default { small: Boolean, third: Boolean, onboarding: Boolean, + dark: Boolean, }, computed: { getClasses() { @@ -23,6 +24,7 @@ export default { if (this.small) c.push('small'); if (this.third) c.push('third'); if (this.onboarding) c.push('onboarding'); + if (this.dark) c.push('dark'); return c.join(' '); }, }, @@ -61,6 +63,9 @@ export default { width: 48% !important; margin: 0 !important; } +.primary-button.dark { + background: $box-button-color !important; +} .primary-button.small { width: auto !important; line-height: 1px !important; diff --git a/src/popup/router/components/CheckBox.vue b/src/popup/router/components/CheckBox.vue index 90c3d50be7..e2081c9c39 100644 --- a/src/popup/router/components/CheckBox.vue +++ b/src/popup/router/components/CheckBox.vue @@ -40,7 +40,6 @@ export default { .checkbox-container { display: flex; position: relative; - padding-left: 15px; height: 20px; cursor: pointer; justify-content: start; diff --git a/src/popup/router/components/Loader.vue b/src/popup/router/components/Loader.vue index 50e30d011e..f251c837ca 100644 --- a/src/popup/router/components/Loader.vue +++ b/src/popup/router/components/Loader.vue @@ -37,14 +37,17 @@ export default { .fadeOut-leave-active { transition: all 0.5s ease-in-out; } + .fadeOut-leave-to { opacity: 0; } + .ae-loader { border: 0.2em solid $secondary-color !important; border-left-color: transparent !important; border-right-color: transparent !important; } + .mainLoader { position: fixed; width: 100%; @@ -52,25 +55,29 @@ export default { background-color: $bg-color; top: 0; z-index: 6; -} -.mainLoader .ae-loader { - position: absolute; - top: 50%; - left: 50%; - margin: -1.5em; - width: 3em !important; - height: 3em !important; - border-radius: 3em !important; padding-top: 50px; padding-top: calc(50px + env(safe-area-inset-top)); + + .ae-loader { + position: absolute; + top: 50%; + left: 50%; + margin: -1.5em; + width: 3em !important; + height: 3em !important; + border-radius: 3em !important; + } + + &.mainLoaderTransparent { + opacity: 0.6; + } } -.mainLoader.mainLoaderTransparent { - opacity: 0.6; -} + .loader .loading { width: 32px; margin-right: 15px; } + .center { position: relative; z-index: 5; diff --git a/src/popup/router/components/Modal.vue b/src/popup/router/components/Modal.vue index cdfe4fd0bb..4a4b6dc7a9 100644 --- a/src/popup/router/components/Modal.vue +++ b/src/popup/router/components/Modal.vue @@ -2,9 +2,9 @@