-
Notifications
You must be signed in to change notification settings - Fork 842
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
Playground System for Live Documentation #3529
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
I wanted to know the way to establish links between |
I think we can use the simpler |
This is going to be a substantial PR, so let's use this as a feature branch that smaller PRs can merge into (like we're currently doing with the markdown editor work) So let's work on establishing the correct pattern for the base-level playground here and then target this branch with PRs containing checklist items. @cchaos can start helping here now that there's something more real to look at. |
Yes, i am almost done with playground setup. Just some props extraction is remaining, and design stuff
|
I think the
I think yes. Those props won't have any discernible impact when added. Let's shift from adding more component examples and start a spec for what prop types should use which form element. For instance, I noticed that sometimes |
…ide unnecesary props, separated string & number in props
I have updated the mode to |
@thompsongl I tried this configuration for
|
The problem is that the labels under |
I had tried that but then the propValue passed is |
now I have fixed the issue. But on changing paddingSize or fontSize no change is observed in |
EuiCode does not really accept |
Do we still need any code from this PR, @anishagg17? Now that #3681 is merged and we'll work in per-component PRs, should this close? |
Sure this should be closed |
Summary
Fixes: #3057
used
react-view
to inculcate Live Documentation along with togglesChecklist
Check against all themes for compatibility in both light and dark modes
Checked in mobile
Checked in IE11 and Firefox
- [ ] Props have proper autodocs- [ ] Added documentation examplesAdded or updated jest tests
- [ ] Checked for breaking changes and labeled appropriatelyChecked for accessibility including keyboard-only and screenreader modes
Recreated knobs component with the EUI form components.
Extract props from component using docgen
Add Labels to toggles
Examples