digdir / designsystemet

Designsystemet
https://designsystemet.no
MIT License
68 stars 34 forks source link

Migrate Storybook component stories to new format #366

Closed mimarz closed 9 months ago

mimarz commented 1 year ago

Use this script to auto-migrate the story, this helps you with the basis: https://storybook.js.org/docs/react/migration-guide#storiesmdx-to-mdxcsf.

You will still need to edit and adjust the files thereafter to get our desired result. Look at the stories of Accordion and Typography for inspiration.

Make a new issue + PR for each component when starting this cleanup

Checklist for new docs:

### Tasks
- [ ] Migrate Textfield stories to new format
- [ ] https://github.com/digdir/designsystem/issues/369
- [ ] https://github.com/digdir/designsystem/issues/514
- [ ] https://github.com/digdir/designsystem/issues/581
- [ ] https://github.com/digdir/designsystem/issues/583
mimarz commented 9 months ago

Closing this as it will be solved as part of developing new updated version of the components for "felles designsystem".