-
Notifications
You must be signed in to change notification settings - Fork 37
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
Update stories - batch 1 #663
base: main
Are you sure you want to change the base?
Conversation
|
🟢 No design token changes found |
|
22d940b
to
f1eaba3
Compare
@rezrah @joshfarrant I could do with a bit of feedback on my approach so far: Here's what I'm doing:
Hope that sounds good to you! I'll do these in batches of ~5 components to make them easier to review, but could do a PR per component if that's preferred :) |
4047aee
to
9620c0b
Compare
9620c0b
to
4f1b260
Compare
4f1b260
to
a0ee2d9
Compare
Because the props of ActionMenu are properly annotated, the Storybook infers controls even when they're not intuitive for the playground - for example: classname, ref, id. I've made the playground only show controls for props we'd explicitly want to play with. Weirdly the controls are filtered by their name rather than argType key which is why they have to be hard-coded. This also removes the args from the default story so the code example is ready to use.
Adds controls for actions, removes controls from default story.
Remove controls from default, add alternative playground for responsive size, as this prop accepts two different types of data.
e9f994e
to
cc14203
Compare
Summary
Part of https://github.com/github/primer/issues/3635
List of notable changes:
Updated stories of:
What should reviewers focus on?
Steps to test:
Supporting resources (related issues, external links, etc):
Contributor checklist:
Reviewer checklist:
Screenshots: