1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
metamask-extension/ui/components/app/cancel-speedup-popover
Matthias Kretschmann 113fdc189c
Part of #17670: Replace Typography with Text component in CancelSpeedupPopover (#18638)
* create story

* replace Typography with Text component

* review changes

* replace CSS with props styling
* use `Button` from `component-library`
* tooltip HTML refactor with `component-library` components
* remove whitespace in story

* strong tag support within Text component

* addresses #18651
* taken from #18752 as suggested in https://github.com/MetaMask/metamask-extension/pull/18638#discussion_r1176334805

* replace `strong` with new `Text as="strong"`

* remove unneccessary css from fa564e3f036f1439f9f220cca23595b508760614

* add text variant definition

* Updating text variant of button

* restrore proper spacing between elements

* Quick fix for test

* Adding key

---------

Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-06-26 13:52:54 -07:00
..
cancel-speedup-popover.js Part of #17670: Replace Typography with Text component in CancelSpeedupPopover (#18638) 2023-06-26 13:52:54 -07:00
cancel-speedup-popover.stories.js Part of #17670: Replace Typography with Text component in CancelSpeedupPopover (#18638) 2023-06-26 13:52:54 -07:00
cancel-speedup-popover.test.js Part of #17670: Replace Typography with Text component in CancelSpeedupPopover (#18638) 2023-06-26 13:52:54 -07:00
index.js
index.scss Part of #17670: Replace Typography with Text component in CancelSpeedupPopover (#18638) 2023-06-26 13:52:54 -07:00