Upgrade EUI to v81.0.0#158330
Conversation
|
Pinging @elastic/eui-team (EUI) |
|
I got a question regarding nested |
stratoula
left a comment
There was a problem hiding this comment.
Visualizations team changes LGTM
ashokaditya
left a comment
There was a problem hiding this comment.
security_solution/public/management changes LGTM.
Thanks for the super thoughtful and engaged question @walterra! The concept of "block" vs "inline" content no longer has any semantic meaning as of HTML5. It's now solely a presentational aspect of CSS (see MDN docs), and there is no longer any validation or concern around a block element nested within an inline wrapper. In this case, I opted for an inline That being said, yes, an escape hatch exists via the new <EuiThemeProvider wrapperProps={{ style: { display: 'block' } }}>Or alternatively, if you're using the theme provider in a layout-sensitive context, e.g. as a flexbox or grid child, and the child of your <EuiFlexGroup>
<EuiThemeProvider colorMode="inverse" wrapperProps={{ cloneElement: true }}>
<EuiFlexItem grow={false}> {/* only this wrapper will render */}
// ...
</EuiFlexItem>
</EuiThemeProvider>
</EuiFlexGroup>I'll do another pass here on this PR for usages of |
|
@elasticmachine merge upstream |
`EuiBottomBar` already sets the color mode of all children to dark by default - no need to set it again around the button
cqliu1
left a comment
There was a problem hiding this comment.
Presentation team changes LGTM 👍
paul-tavares
left a comment
There was a problem hiding this comment.
Files owned by Defend Workloads LGTM 👍
|
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @1Copenut |
Summary
@elastic/eui@80.0.0⏩@elastic/eui@81.0.081.0.0options.checkedto "mixed" inEuiSelectable(#6774)Bug fixes
EuiPopover,EuiModal,EuiFlyout) will correctly inherit text color from its nearestEuiThemeProviderparent.<EuiText color="default">is no longer needed. (#6775)Breaking changes
EuiSelectableno longer renders adata-test-selectedattribute on its list items. Use thearia-checkedproperty instead (#6774)EuiThemeProviders now render a wrapping<span>element in order to correctly set the inherited textcolorof all descendants.<EuiText color="default">is no longer needed. (#6775)