docs(web-components): match storybook argTypes to custom element manifest#36271
Conversation
📊 Bundle size report✅ No changes found |
|
Pull request demo site: URL |
|
@radium-v @marchbox Thanks for the feedback because it made me realize there's got to be a better way. I pushed up some changes to the extent that this could be considered an entirely different PR. Here's what changed from before:
This has cleaned up a lot of the gnarliness from the previous PR and exposed some documentation pieces my previous The wc-toolkit fork is 90% the same but with three critical differences that map to how our stories work:
The biggest change here is that we're leveraging the CEM for 90% of our storybook Possible future explorations are fixing ordering and using the CEM for default |
Feedback was addressed. @radium-v went on vacation (yay!) and the only lingering point of feedback is about grouping aria-* attributes and that can be addressed in a follow up PR. This is also blocking a PR around TextInput autofocus.
Previous Behavior
Nearly all stories had either an error or some sort of missing property
New Behavior
verify-storybookscript that verifies that Storybook matches the CEMverify-storybookwill also surface missing JSDocs for cssProps/cssVars/events in the component classautofocusfrom all component classes because this is a feature of HTML, not our components (Tests passed in all browsers locally)Related Issue(s)