-
Notifications
You must be signed in to change notification settings - Fork 829
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
[Emotion] Convert EuiDataGrid gridStyle
s to Emotion (Part 3)
#8006
Commits on Sep 6, 2024
-
- unfortunately can't be as specific here, has to be applied to top level datagrid styles
Configuration menu - View commit details
-
Copy full SHA for f6f1910 - Browse repository at this point
Copy the full SHA f6f1910View commit details -
Convert grid border style options to Emotion
- handle this at topmost grid level, I personally don't think it makes any sense to split it up by component when they affect each other - more files makes it harder to write/predict + clean up several CSS unsets by assuming lack of borders rather than presence of borders
Configuration menu - View commit details
-
Copy full SHA for 5d96d13 - Browse repository at this point
Copy the full SHA 5d96d13View commit details -
Convert fontSize and cellPadding grid styles
- some fontSize/lineHeight tweaking required to stay the same as prod (due to changes Caroline made to euiFontSize) + improve Emotion className labeling
Configuration menu - View commit details
-
Copy full SHA for 61d0bcf - Browse repository at this point
Copy the full SHA 61d0bcfView commit details -
[tech debt] Address RowHeightUtils cell padding TODO
- we can now obtain cell padding sizes from dynamic themes, hooray
Configuration menu - View commit details
-
Copy full SHA for b5074bb - Browse repository at this point
Copy the full SHA b5074bbView commit details -
Convert header and footer row styles
- pass `gridStyles` down through the body and to the rows so CSS can be a bit flatter, as those styles only concern those components + convert enzyme tests to RTL
Configuration menu - View commit details
-
Copy full SHA for 0573a44 - Browse repository at this point
Copy the full SHA 0573a44View commit details -
[docs] Tweak footer example to allow testing sticky CSS
+ remove unnecessary show footer toggle - it's the entire point of the demo, why would we disable it? + remove flex in favor of EuiSpacer
Configuration menu - View commit details
-
Copy full SHA for 4e8aa7d - Browse repository at this point
Copy the full SHA 4e8aa7dView commit details -
Fix clashing border CSS from gridStyle props
- grid borders and header/footer underline/overlines were conflicting with one another - borders on header/footer cells were adding extra height to the cells themselves (unlike regular row cells)
Configuration menu - View commit details
-
Copy full SHA for 30c6f9b - Browse repository at this point
Copy the full SHA 30c6f9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95ee639 - Browse repository at this point
Copy the full SHA 95ee639View commit details -
Configuration menu - View commit details
-
Copy full SHA for 340b1df - Browse repository at this point
Copy the full SHA 340b1dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8210ac - Browse repository at this point
Copy the full SHA d8210acView commit details -
[storybook] update toolbar stories to dogfood new datagrid storybook …
…utils - VRT stories should use minimal data still for screenshot simplicity + add 2 new stories with more customizable controls, which lists the nested props documentation for each nested config
Configuration menu - View commit details
-
Copy full SHA for f5e9eac - Browse repository at this point
Copy the full SHA f5e9eacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cec2ad - Browse repository at this point
Copy the full SHA 4cec2adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 871cb40 - Browse repository at this point
Copy the full SHA 871cb40View commit details -
[storybook] Move row height stories to their own file/subdir
- allows us to expand props documentation & use controls for `rowHeightsOptions` + add test for lineHeight
Configuration menu - View commit details
-
Copy full SHA for 92e6fd8 - Browse repository at this point
Copy the full SHA 92e6fd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70ebe64 - Browse repository at this point
Copy the full SHA 70ebe64View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6c9b55 - Browse repository at this point
Copy the full SHA f6c9b55View commit details -
Fix
false
obj values not showing up in code snippet+ remove `PRESERVED_FALSE_VALUE_PROPS` logic - we should let the defaultProps logic handle that instead and always show `false` props if they're non-defaults (testable on, e.g. `<EuiExpression uppercase={false} />`)
Configuration menu - View commit details
-
Copy full SHA for 8aa6c0a - Browse repository at this point
Copy the full SHA 8aa6c0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5e1d07 - Browse repository at this point
Copy the full SHA c5e1d07View commit details