1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 20:02:58 +01:00
metamask-extension/.storybook
Maarten Zuidhoorn c341abaea6
Use Webpack 5 for Storybook (#16678)
* Fix storybook

* Update policies

* Bump all Storybook dependencies to the latest version

* Add Storybook dependencies to depcheck ignore list

* Update policy-override.json

* Fix SectionShape circular dependency

* Change policy override for eslint-scope

* Fix some Webpack build issues

* Add missing dependency

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-11-29 19:23:36 +01:00
..
__mocks__ Fix storybook by shimming MV3 method (#15749) 2022-09-06 15:56:08 -05:00
actions
i18n-party-addon
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
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
locales.js
main.js Use Webpack 5 for Storybook (#16678) 2022-11-29 19:23:36 +01:00
manager.js
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
preview-head.html
preview.js MV3: add retry logic to actions (#15337) 2022-09-05 20:25:34 +05:30
README.md
test-data.js Make ENS named elements domain generic (#16166) 2022-11-21 09:19:11 -06:00

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.