1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui
Mark Stacey 8b1230acab
Add ShowHideToggle component (#13979)
Add a new component for controlling whether a field should be shown
or hidden. This will be used in later PRs as a control for sensitive
fields that are hidden by default.

This component should be fully accessible. Both mouse and keyboard
interactions have been tested, and `aria-label` attributes have been
added to explain the two "eye" icons that don't have any corresponding
text.

Thorough unit tests have been written, testing all props except
`className` (I don't know how to test that using Jest/`jsdom`).
2022-03-17 08:41:50 -02:30
..
__mocks__ Increase Jest unit test coverage for the Swaps feature to ~60% (#11343) 2021-07-02 08:48:34 -05:00
components Add ShowHideToggle component (#13979) 2022-03-17 08:41:50 -02:30
contexts add asset_type to transactions (#13858) 2022-03-16 17:15:03 -05:00
css General backgrounds and borders design token updates (#13764) 2022-03-16 15:49:25 +01:00
ducks add asset_type to transactions (#13858) 2022-03-16 17:15:03 -05:00
helpers add asset_type to transactions (#13858) 2022-03-16 17:15:03 -05:00
hooks Permissions: convert hook to util (#13906) 2022-03-14 15:26:02 -03:00
pages Dark Mode: Fix Onboarding image text color (#13983) 2022-03-16 17:22:13 -05:00
selectors ConfirmAddSuggestToken: replace mapDispatchToProps & mapStateToProps; Add Tests (#13526) 2022-03-10 23:40:06 -03:00
store Dev olu update swap approval transaction (#13641) 2022-03-09 23:01:04 -03:30
index.js Include transactions from all networks in state logs (#13599) 2022-02-14 13:29:24 -05:00