commercetools / ui-kit

Component library πŸ’…
https://uikit.commercetools.com
MIT License
144 stars 25 forks source link

Storybook v8 stories #2872

Closed misama-ct closed 1 month ago

misama-ct commented 1 month ago

This pull-request aims to provide an alternative story in typescript format for (almost) every existing story in the packages/components folder. The stories are added to the src folder of each component and are accompanied by a readme.mdx file that displays the auto-generated README.md file of the component within storybook.

The *.stories.tsx files are no engineering highlight (e.g. I didn't fix most type-errors), but they will do for now, as the current goal is to aim for feature-parity between the existing stories and the new typescript sb v8 stories. We want engineers to have the same or better DX when accessing storybook.

Shortcuts taken/compromises made

Suggested focus for the review

Add your comment to the respective *.stories.tsx file in this pull-request (if possible)

Next steps (happy path)

Just for context, here are the next issues/tasks I'm gonna tackle once this pull-request is merged:

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
ui-kit βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Aug 7, 2024 0:34am
ui-kit-storybook-v8 βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Aug 7, 2024 0:34am
changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: 82397b5a210c3bb7f33626d686b096b163859b48

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR