1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 03:12:42 +02:00
metamask-extension/.storybook
Mark Stacey 4f66dc948f
Update @metamask/controllers to v33 (#16493)
The controllers package has been updated to v33. The only breaking
change in this release was to rename the term "collectible" to "NFT"
wherever it appeared in the API.

Changes in this PR have been kept minimal; additional renaming can be
done in separate PRs. This PR only updates the controller names,
controller state, controller methods, and any direct references to
these things. NFTs are still called "collectibles" in most places.
2022-11-15 15:19:42 -03:30
..
__mocks__ Fix storybook by shimming MV3 method (#15749) 2022-09-06 15:56:08 -05:00
actions Add send-header to Storybook (#12084) 2021-09-29 13:43:18 -05:00
i18n-party-addon Docs/12367 Adding storybook essentials addons (#12393) 2021-10-29 07:22:07 -10:00
images Installing design tokens and writing docs in storybook (#13657) 2022-02-22 18:26:11 -08:00
initial-states Update @metamask/controllers to v33 (#16493) 2022-11-15 15:19:42 -03:30
reducers Add send-header to Storybook (#12084) 2021-09-29 13:43:18 -05:00
1.INTRODUCTION.stories.mdx Updating all instances of Metamask to MetaMask in content, comments and tests (#14848) 2022-06-03 09:32:50 -07:00
2.DOCUMENTATION.stories.mdx Updated all instances of "Component API" to "Props" in storybook documentation (#15324) 2022-07-27 00:22:40 +05:30
3.COLORS.stories.mdx Adding media query sass vars, mixins and docs (#15053) 2022-07-18 08:23:27 -07:00
4.SHADOW.stories.mdx Adding shadow docs to storybook (#15388) 2022-08-01 08:04:44 -05:00
5.BREAKPOINTS.stories.mdx Adding shadow docs to storybook (#15388) 2022-08-01 08:04:44 -05:00
i18n.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
locales.js storybook - i18n toolbar (#10381) 2021-02-06 10:28:54 +08:00
main.js Adding Icon component and removing BaseIcon component (#15772) 2022-09-20 12:15:14 -05:00
manager.js Updating Storybook base styles (#12862) 2021-12-02 09:11:35 -08:00
metamask-storybook-theme.js UI-14395: typography v2 (#15408) 2022-08-18 10:51:53 -07:00
metametrics.js Renamed metametrics.new.js to metametrics.js (#14327) 2022-04-01 14:11:12 -05:00
preview-body.html Extract Menu component from ConnectedAccountsListOptions (#8632) 2020-05-20 14:52:23 -03:00
preview-head.html Updating styles so they don't override fontawesome, removing duplicate addons (#12971) 2021-12-06 15:55:21 -08:00
preview.js MV3: add retry logic to actions (#15337) 2022-09-05 20:25:34 +05:30
README.md Switch from npm to yarn (#6843) 2019-07-30 15:36:23 -03:00
test-data.js Remove 3box feature and delete ThreeBoxController (#14571) 2022-10-31 13:50:50 -02:30

Storybook

We're currently using Storybook as part of our design system. To run Storybook and test some of our UI components, clone the repo and run the following:

yarn
yarn storybook

You should then see:

info Storybook started on => http://localhost:6006/

In your browser, navigate to http://localhost:6006/ to see the Storybook application. From here, you'll be able to easily view components and even modify some of their properties.