1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 07:16:36 +01:00
metamask-extension/ui/pages/swaps
Jurriaan Den Toonder 1521e63913
Change over FeeCard stories to use controls instead of knobs, update props in stories (#13766)
This PR changes over the deprecated knobs and actions in `fee-card.stories.js` to controls.
I attempted to create a `README.mdx`, but unfortunately the `<ArgsTable of={FeeCard} />` refused to render out any of the documentation comments I added to the `FeeCard.propTypes`, thus that has not been included (and no documentation has been added to the propTypes of FeeCard).

_Please note:_ currently nested arg types are not possible in StoryBook, but discussions are open: https://github.com/storybookjs/storybook/issues/11486. This means that the StoryBook shows `primaryFee`, `primaryMaxFee`, `secondaryFee` and `secondaryMaxFee`, but these are mapped to the 2 `primaryFee` and `secondaryFee` props of the component. This is visible if the developer clicks on the `Show code` button at the docs page in StoryBook.

Signed-off-by: Jurriaan Den Toonder <1493561+Fastjur@users.noreply.github.com>
2022-03-29 16:13:00 -06:00
..
__snapshots__ Swaps UI redesign for the View Quote page (#12950) 2021-12-07 00:21:26 -03:30
awaiting-signatures Dark Mode: Swap hex colors in ui/pages (#14214) 2022-03-25 15:15:31 -07:00
awaiting-swap Dark Mode: Swap hex colors in ui/pages (#14214) 2022-03-25 15:15:31 -07:00
build-quote Remove usages of useNewMetricEvent hook (#13955) 2022-03-25 08:21:29 -05:00
countdown-timer Dark Mode: Swap hex colors in ui/pages (#14214) 2022-03-25 15:15:31 -07:00
dropdown-input-pair Dark mode: Updating arrows icon in build quote (#14155) 2022-03-23 12:07:29 -07:00
dropdown-search-list Remove usages of useNewMetricEvent hook (#13955) 2022-03-25 08:21:29 -05:00
exchange-rate-display Dark Mode: Fix some colors (#14228) 2022-03-28 10:23:27 -07:00
fee-card Change over FeeCard stories to use controls instead of knobs, update props in stories (#13766) 2022-03-29 16:13:00 -06:00
import-token Dark Mode: Fix Import Token Styles (#14099) 2022-03-22 11:21:32 -07:00
loading-swaps-quotes metaMetricsEvent -> trackEvent (#14249) 2022-03-29 19:19:40 +02:00
main-quote-summary Dark Mode: Swap hex colors in ui/pages (#14214) 2022-03-25 15:15:31 -07:00
searchable-item-list Dark mode: search icon (#14201) 2022-03-25 15:22:56 +01:00
select-quote-popover Dark Mode: Swap hex colors in ui/pages (#14214) 2022-03-25 15:15:31 -07:00
slippage-buttons Improvements for Smart Transactions / Swaps (#14022) 2022-03-23 20:28:26 +01:00
smart-transaction-status Dark Mode: Swap hex colors in ui/pages (#14214) 2022-03-25 15:15:31 -07:00
swaps-footer Dark mode: Updating all left over static hex values in scss (#14167) 2022-03-24 19:08:08 +01:00
swaps-gas-customization-modal Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
view-quote Dark Mode: Swap hex colors in ui/pages (#14214) 2022-03-25 15:15:31 -07:00
index.js Remove usages of useNewMetricEvent hook (#13955) 2022-03-25 08:21:29 -05:00
index.scss Improvements for Smart Transactions / Swaps (#14022) 2022-03-23 20:28:26 +01:00
index.test.js Send all swaps requests to api2, remove useNewSwapsApi boolean (#12792) 2021-11-30 19:56:28 +01:00
swaps-util-test-constants.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
swaps.util.js Improvements for Smart Transactions / Swaps (#14022) 2022-03-23 20:28:26 +01:00
swaps.util.test.js Add a new fiat onboarding option via MoonPay (#13934) 2022-03-21 10:26:52 +01:00