Erik Marks
e08a55c8bc
Add messages for MetaMetrics opt-in ( #9283 )
...
* Add messages for MetaMetrics opt-in
4 years ago
Erik Marks
02d318d493
Add @metamask/logo ( #9281 )
...
* Remove metamask-logo
4 years ago
Dan J Miller
42f4c2e407
MetaMask mascot support for provided directions targets and toggling followMouse ( #9166 )
...
* MetaMask mascot support for provided directions targets and toggling followMouse
* Fixes for mascot.component.js
* Update metamask-logo version to 2.4.0
* Lint fix
* Fix mouse follow updating
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
* Improve mascot story name
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
* Update package.json
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
* Lint fix
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Thomas Huang
5f11273550
Add react-testing-library/react ( #9249 )
...
* Add react-testing-library
Adds react-testing-library as a dependency, creates a wrapper function with Provider store/I18n context support, and implements it in unconnected-account-alert.
* Refactor renderWithProvider store to extra param, instead of component prop store
4 years ago
Brad Decker
a04ec49a57
remove unnecessary files and scss ( #9253 )
...
this moves very little code around, to enable deleting files that are
no longer used or necessary. There are a few more things to move and
delete that will be handled in a seperate PR after this one.
4 years ago
Brad Decker
cfff01164a
Reuse the loading-screen component and colocate it's styles ( #9177 )
4 years ago
Mark Stacey
b9f5f1c2c2
Hide ETH Gas Station stimates on non-main network ( #9277 )
...
* Hide gas estimate on non-main network (#9189 )
* Update v8.0.9 changelog
4 years ago
Brad Decker
c04cb63c63
Standardize scss import practices ( #9183 )
4 years ago
Whymarrh Whitby
b6ccd22d6c
Update ESLint shared config to v3 ( #9274 )
...
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Patryk Łucka
9a3c559b3d
Hide gas estimate on non-main network ( #9189 )
...
* hide advance gas on non mainnet
* hide edit gas button on non mainnet
4 years ago
Dan J Miller
a8199be553
Move the mascot component to its own directory ( #9272 )
4 years ago
Patryk Łucka
2986a6764c
move footer buttons to scrollable area ( #9228 )
...
Co-authored-by: Patryk Łucka <patryk.lucka@consensys.net>
4 years ago
Whymarrh Whitby
6ab12001e3
Fix prefer-destructuring issues ( #9263 )
...
See [`prefer-destructuring`](https://eslint.org/docs/rules/prefer-destructuring ) for more information.
This change enables `prefer-destructuring` and fixes the issues raised by the rule.
4 years ago
Dan J Miller
09e7f24b2d
Adds pulse loader component ( #9259 )
...
* Adds pulse loader component
* Move pulse-loader component to the UI directory
4 years ago
Whymarrh Whitby
c1e3c229bc
Fix import/order issues ( #9239 )
...
See [`import/order`](https://eslint.org/docs/rules/import/order ) for more information.
This change enables `import/order` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
b7259e5d6a
Fix radix issues ( #9247 )
...
See [`radix`](https://eslint.org/docs/rules/radix ) for more information.
This change enables `radix` and fixes the issues raised by the rule.
4 years ago
Dan J Miller
eb653dfb6e
New info tooltip component ( #9180 )
...
* Add info-tooltip and associated storybook stories
* Allow tooltip-v2 to support react-tippy themes
* Update info-tooltip to use tooltip-v2
4 years ago
Whymarrh Whitby
4357cda7b8
Fix no-shadow issues ( #9246 )
...
See [`no-shadow`](https://eslint.org/docs/rules/no-shadow ) for more information.
This change enables `no-shadow` and fixes the issues raised by the rule.
4 years ago
Brad Decker
d5a539e0e5
remove old tooltip component and styles ( #9250 )
...
The old tooltip component was only used in two places. Removing those usages
was simple and straight forward. So, instead of colocating the old tooltip
styles with the deprecated tooltip component, I removed all old styles and
made tooltip-v2 now simply 'tooltip' and removed the deprecated component.
4 years ago
Patryk Łucka
f7e4e209ef
move footer buttons to scrollable area ( #9228 )
...
Co-authored-by: Patryk Łucka <patryk.lucka@consensys.net>
4 years ago
Brad Decker
2e565d02b2
Removes the dropdown menu and colocates old styles with account-menu ( #9185 )
...
The only place that these .menu styles were being used was the account-menu by way of components/app/dropdowns/menu. Because account-menu is the only place that used these styles I moved them to exist with the account-menu
4 years ago
Whymarrh Whitby
e803807dd9
Fix no-param-reassign issues ( #9235 )
...
See [`no-param-reassign`](https://eslint.org/docs/rules/no-param-reassign ) for more information.
This change enables `no-param-reassign` and fixes the issues raised by the rule.
4 years ago
Thomas Huang
87e5281a82
Clear Account Details in AppState ( #9238 )
...
* Clear Account Details in AppState
We store sensitive information in the AppState under accountDetail for when the modal is active and present. This adds a new action/reducer and componentWillUnmount to clean up the persisted data left after leaving the modal.
* Remove reduntant clearAccountDetails call when clicking done button
4 years ago
Whymarrh Whitby
04bfe3772c
Delete page-container.component.test.js ( #9229 )
4 years ago
Whymarrh Whitby
2aa4b6bbee
Tidy up getAccountLink ( #9223 )
4 years ago
Whymarrh Whitby
5d42a9b773
Fix require-unicode-regexp issues ( #9212 )
...
* Fix require-unicode-regexp issues
See [`require-unicode-regexp`](https://eslint.org/docs/rules/require-unicode-regexp ) for more information.
This change enables `require-unicode-regexp` and fixes the issues raised by the rule.
* Remove case-insensitive flag from regexps
4 years ago
Whymarrh Whitby
884775cf71
Fix no-negated-condition issues ( #9222 )
...
See [`no-negated-condition`](https://eslint.org/docs/rules/no-negated-condition ) for more information.
This change enables `no-negated-condition` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
c11888f287
Fix no-empty-function issues ( #9216 )
...
See [`no-empty-function`](https://eslint.org/docs/rules/no-empty-function ) for more information.
This change enables `no-empty-function` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
9b78d3ab07
Fix import/extensions issues ( #9217 )
...
See [`import/extensions`](https://eslint.org/docs/rules/import/extensions ) for more information.
This change enables `import/extensions` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
42e7d205b2
Fix no-dupe-else-if issues ( #9208 )
...
See [`no-dupe-else-if`](https://eslint.org/docs/rules/no-dupe-else-if ) for more information.
This change enables `no-dupe-else-if` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
cd370be728
Fix no-invalid-this issues ( #9207 )
...
See [`no-invalid-this`](https://eslint.org/docs/rules/no-invalid-this ) for more information.
This change enables `no-invalid-this` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
310b15ba4a
Fix no-plusplus issues ( #9206 )
...
See [`no-plusplus`](https://eslint.org/docs/rules/no-plusplus ) for more information.
This change enables `no-plusplus` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
548b0bbbd5
Fix no-eq-null issues ( #9205 )
...
See [`no-eq-null`](https://eslint.org/docs/rules/no-eq-null ) for more information.
This change enables `no-eq-null` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
ef88d79fac
Fix no-useless-concat issues ( #9200 )
...
See [`no-useless-concat`](https://eslint.org/docs/rules/no-useless-concat ) for more information.
This change enables `no-useless-concat` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
a8863a3446
Fix consistent-return issues ( #9192 )
...
See [`consistent-return`](https://eslint.org/docs/rules/consistent-return ) for more information.
This change enables `consistent-return` and fixes the issues raised by the rule.
4 years ago
Brad Decker
b2813f0b54
colocate the base modal styles with the modal component ( #9151 )
...
finalizes the colocation of styles with the consuming components.
4 years ago
Brad Decker
42be0645da
colocate original request-signature component styles ( #9182 )
...
Moves the styles out of the itcss folder and colocates them with the component, as per the pattern set elsewhere.
4 years ago
Erik Marks
ef68a7963c
fix account modal back styling
4 years ago
Brad Decker
01f69d7e7a
colocate account modal styles with their components ( #9150 )
...
This one gets a bit more complicated because the styles were interwoven and needed to be untangled to be moved. Essentially, though, the goal is to put the styles where they make the most sense and colocate them with their components.
4 years ago
Brad Decker
6ba9e65712
colocate tab-bar styles with the tab-bar component ( #9176 )
...
Moves styles out of the itcss components folder and places them alongside the component.
4 years ago
Brad Decker
2e33b57d17
colocate hide-token-confirmation modal styles ( #9149 )
4 years ago
Brad Decker
d59fc79e0f
colocate deposit-ether-modal styles ( #9148 )
...
Moves the still alive deposit-ether-modal styles to be colocated with it's component, as per the examples already in place in the components/modal folder
4 years ago
Brad Decker
f3ba18d79f
remove unused section scss ( #9146 )
4 years ago
Brad Decker
85e658993b
colocate notification-modal styles ( #9147 )
...
Follows former examples of colocating styles with the modals that use them.
4 years ago
Brad Decker
ecaa6c55dd
trim unused account-list-item code and co-locate styles ( #9116 )
4 years ago
Brad Decker
db1b72a95c
colocate editable label styles and code ( #9120 )
4 years ago
Brad Decker
b92475ac7c
Colocate alert styles ( #9117 )
4 years ago
Brad Decker
46ba1ef100
Update font family globally ( #9073 )
4 years ago
Brad Decker
1582855e28
Use mixins for typography instead of placeholder selectors ( #9072 )
...
Using extend would not work inside of some css, namely
inside of media queries. This made it a clear choice to
use mixins for these styles.
4 years ago
Brad Decker
df8eb494fe
Updates Typography Variables and styles. ( #9017 )
...
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago