addon-docs <Props> table should show CSS custom properties and parts
See original GitHub issueIs your feature request related to a problem? Please describe.
I have a custom-elements.json
with the cssCustomProperties
and cssShadowParts
fields but when I add the <Props />
element to generate the props table in my mdx
storybook these relevant tables are noticeably missing from the docs tab.
Describe the solution you’d like
The generated table has all the other relevant properties (like attributes, properties, slots, etc.) it would be nice if CSS custom properties and CSS shadow parts would be added as well
Describe alternatives you’ve considered
I could manually document these, but those run the risk of becoming obsolete, missing, or out of sync. Also the noticeable jump between the built in table and the manual table is weird.
Are you able to assist bring the feature to reality?
Yes, but only requested.
Additional context
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top GitHub Comments
Yowza!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.1.0-alpha.17 containing PR #10442 that references this issue. Upgrade today to try it out!
You can find this prerelease on the
@next
NPM tag.Closing this issue. Please re-open if you think there’s still more to do.
Hey there, it’s me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!