-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export stories as components #2570
Comments
@asudoh Thanks for putting this together - is there any chance of prioritizing this in the near future? |
We've marked this issue as stale because there hasn't been any activity for a couple of weeks. If there's no further activity on this issue in the next three days then we'll close it. Thanks for your contributions. |
Keeping with maintainer's interest. |
Hi there! 👋 If you're wondering why this issue was moved, we're currently updating our repo structure so that every package is found in the same project. This should not have any impact for you, but we wanted to give you a heads up in case you were wondering what is going on. If you have any questions, feel free to reach out to us on Slack or contact us at: [email protected]. Thanks! |
We've marked this issue as stale because there hasn't been any activity for a couple of weeks. If there's no further activity on this issue in the next three days then we'll close it. You can keep the conversation going with just a short comment. Thanks for your contributions. |
Could we keep this open please? Would love to be able to import stories into our addons library 🤩 |
We'd also like to see this for use in our Watson IoT addons. Instances where we are simply wanting to render the story as-is, I have found that we can import the story from Something we'd like to do in our storybook is divide "stock" carbon components (re-exported components without modifications) from "extended/custom" components via the |
We've marked this issue as stale because there hasn't been any activity for a couple of weeks. If there's no further activity on this issue in the next three days then we'll close it. You can keep the conversation going with just a short comment. Thanks for your contributions. |
Please keep this open 🙏 |
Storybook's new Component Story Format should provide a path to portable stories once v5.2 is stable. |
We've marked this issue as stale because there hasn't been any activity for a couple of weeks. If there's no further activity on this issue in the next three days then we'll close it. You can keep the conversation going with just a short comment. Thanks for your contributions. |
Please keep this open 🙏 |
Keeping an eye on https://github.com/storybookjs/storybook/releases for a stable |
5.2 is out! 🎉 |
We've marked this issue as stale because there hasn't been any activity for a couple of weeks. If there's no further activity on this issue in the next three days then we'll close it. You can keep the conversation going with just a short comment. Thanks for your contributions. |
Please keep this open 🙏 Storybook was recently updated to 5.2 in #4192. Are there any required items beyond refactoring stories to CSF and exporting them? |
Weighing in; I've been under an impression that CSF is designed for static stories. Most of our stories OTOH are parameterized via knobs. |
Everything in the |
We've marked this issue as stale because there hasn't been any activity for a couple of weeks. If there's no further activity on this issue in the next three days then we'll close it. You can keep the conversation going with just a short comment. Thanks for your contributions. |
I can help refactor some stories if there's an agreed upon direction. Storybook also has some codemods we could take advantage of to assist with the process. |
Hi 👋 thank you for your willingness for contribution! The biggest thing is making story exports don't run knob code, so those reused stories can run without knobs. While I still don't find any official direction from Storybook team on this front, putting knob setup code in story parameters and evaluating such knobs in story parameters in a decorator would be one idea. |
Closed by #6663 |
This issue is for tracking the effort of exporting Storybook story code as React components.
CC @jendowns
Summary/Justification
Some business units have created a design system based on Carbon. For such Carbon-based design systems, they have their own storybook but want to use some stories from Carbon.
Detailed design and usage example
This effort introduces modules like:
Using that, Carbon-based design system can create a story like:
Specific timeline issues / requests
N/A
The text was updated successfully, but these errors were encountered: