Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: run lint, ignore e on mew input type number #315

Merged
merged 9 commits into from
Oct 26, 2022
14 changes: 12 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,32 @@
### devop

- ignore e on mew-input type number [#315](https://github.com/MyEtherWallet/mew-components/pull/315)

### Release 1.3.7

### devop

- remove dapp btn capitalization [#313](https://github.com/MyEtherWallet/mew-components/pull/313)
- swap notification arrow alignment [#312](https://github.com/MyEtherWallet/mew-components/pull/312)
- address selector showing invalid identicon [#311](https://github.com/MyEtherWallet/mew-components/pull/311)
- tooltip alignment [#304](https://github.com/MyEtherWallet/mew-components/pull/304)


### Release 1.3.5

### devop

- Remove text capital style from mew button [#306](https://github.com/MyEtherWallet/mew-components/pull/306)

### fix

- use token container for notification swap tokens [#307](https://github.com/MyEtherWallet/mew-components/pull/307)
- ledger back button [#308](https://github.com/MyEtherWallet/mew-components/pull/308)
- token display on tablet view [#309](https://github.com/MyEtherWallet/mew-components/pull/309)


### Release 1.3.4

### devop

- allow users to hide address select save icon [#302](https://github.com/MyEtherWallet/mew-components/pull/302)
- fix persistent hint [#303](https://github.com/MyEtherWallet/mew-components/pull/303)

@@ -34,6 +43,7 @@
### fix

- mew-address-select showing wrong identicon bug [#296](https://github.com/MyEtherWallet/mew-components/pull/296)

### Release 1.1.0

### devop
9 changes: 7 additions & 2 deletions src/components/MewAddressSelect/MewAddressSelect.vue
Original file line number Diff line number Diff line change
@@ -87,7 +87,9 @@
class="dropdown-icon-container d-flex align-center justify-center cursor-pointer full-height"
@click="toggle"
>
<v-icon class="mew-heading-1 mx-5"> mdi-chevron-down </v-icon>
<v-icon class="mew-heading-1 mx-5">
mdi-chevron-down
</v-icon>
</div>
</template>

@@ -113,7 +115,10 @@
v-if="!item.resolvedAddr || item.resolvedAddr === ''"
:hash="item.address"
/>
<span v-else class="mew-address">{{ item.address }}</span>
<span
v-else
class="mew-address"
>{{ item.address }}</span>
</div>
<div class="overline primary--text font-weight-medium ml-3">
{{ item.nickname }}
14 changes: 11 additions & 3 deletions src/components/MewBlockie/MewBlockie.vue
Original file line number Diff line number Diff line change
@@ -10,16 +10,24 @@
:src="blockieImg"
alt="Blockie Image"
style="display: block; border-radius: 50%"
/>
>

<!--
=====================================================================
Inset shadow on edge of blockie image
=====================================================================
-->
<div v-if="!flat" class="inset-shadow" />
<div
v-if="!flat"
class="inset-shadow"
/>
</div>
<img v-if="currency" alt="icon" class="currency-icon" :src="currency" />
<img
v-if="currency"
alt="icon"
class="currency-icon"
:src="currency"
>
</div>
</template>

4 changes: 4 additions & 0 deletions src/components/MewInput/MewInput.vue
Original file line number Diff line number Diff line change
@@ -24,6 +24,7 @@
:append-icon="showPasswordIcon"
:readonly="isReadOnly"
@click:append="onPasswordIconClick"
@keydown.native="preventCharE($event)"
validate-on-blur
height="62"
>
@@ -328,6 +329,9 @@ export default {
clear(val) {
this.inputValue = val ? val : '';
},
preventCharE(e) {
if (this.type === 'number' && e.key === 'e') e.preventDefault();
},
},
};
</script>
12 changes: 10 additions & 2 deletions src/components/MewTooltip/MewTooltip.vue
Original file line number Diff line number Diff line change
@@ -9,10 +9,18 @@
>
<!-- Popover trigger -->
<template #trigger>
<v-icon v-if="!hideIcon" class="cursor-pointer" color="searchText" small>
<v-icon
v-if="!hideIcon"
class="cursor-pointer"
color="searchText"
small
>
mdi-information
</v-icon>
<slot name="activatorSlot" class="d-flex" />
<slot
name="activatorSlot"
class="d-flex"
/>
</template>
<!-- Popover content -->
<slot name="contentSlot" />