1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app
Mark Stacey b628ff05d1
Rewrite checkbox component (#8305)
This new checkbox component uses a plain `input` component internally,
so the browser treats it like a native checkbox. It is styled by hiding
the native checkbox and replacing it with Font Awesome icons (the same
that we are using in Figma).

Support for a 'disabled' state and an indeterminate state has been
added as well. The `onClick` prop has been made optional, as it may not
be required if the parent component is intercepting the click instead.

The `regular` Font Awesome font style needed to be added so that we
could use the `far fa-square` icon for the unchecked checkbox.
2020-04-09 18:51:12 -03:00
..
components Rewrite checkbox component (#8305) 2020-04-09 18:51:12 -03:00
contexts Migrate "i18n-provider" to new context API (#8213) 2020-03-23 14:07:05 -03:00
css Rewrite checkbox component (#8305) 2020-04-09 18:51:12 -03:00
ducks Move action constants to separate module (#8308) 2020-04-08 21:35:37 -03:00
helpers Connected status indicator (#8270) 2020-04-01 16:14:59 -02:30
pages Rewrite checkbox component (#8305) 2020-04-09 18:51:12 -03:00
selectors Tidy getAccountsWithLabels selector (#8311) 2020-04-08 20:45:36 -02:30
store Move action constants to separate module (#8308) 2020-04-08 21:35:37 -03:00