-
Notifications
You must be signed in to change notification settings - Fork 841
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
Add minSizeForControls to euiDataGrid #3527
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? |
💚 CLA has been signed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for the contribution! ❤️
Couple of changes requested, let me know if anything doesn't make sense / look right.
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two more quick clean ups and this should ready
jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3527/ |
Couple of lint errors (
|
Fixed. |
jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3527/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM, tested in the PR's deployed docs + React devtools for manipulating the new minSizeForControls
prop
* Add minSizeForControls to euiDataGrid * Update changelog * Update CHANGELOG.md Co-authored-by: Chandler Prall <chandler.prall@gmail.com> * Update src-docs/src/views/datagrid/datagrid_styling_example.js Co-authored-by: Chandler Prall <chandler.prall@gmail.com> * Review comment: move minSizeForControls to props destructuring * Review comments * Fix lint issues Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
Summary
Fixes #3505
Added
minSizeForControls
toeuiDataGrid
as prop to control the min size for grid controls.Checklist
[ ] Checked in IE11 and Firefox[ ] Added or updated jest tests[ ] Checked for accessibility including keyboard-only and screenreader modes