Conversation
- EuiModalHeaderTitle now automatically wraps contents in `h1` by default
- use the new `component` prop instead
- use the new `component` prop instead
- `EuiFlexGroups` should be used directly below `EuiModalHeader`, not `EuiModalHeaderTitle`, which should only be wrapped around the actual title + `EuiModalHeaderTitle` now uses `EuiTitle` under the hood, so remove explicit `EuiTitle` usages in favor of modal titles
- all links, including `elastic.co`, now generate `rel=noreferrer`
- to account for Emotion conversion
- this is due to the presence of a new `RenderWithEuiTheme` render prop around the table body - workarounds are to either use `.render()` and DOM-esque queries, or to use `.renderProp` to dive into the table body
|
Synthetics tests seem to be hanging/stalling out, but I don't anticipate them failing (unless they time out, in which case I'll re-run), so going to go ahead and mark this PR as ready for review. |
stratoula
left a comment
There was a problem hiding this comment.
Visualizations team changes LGTM!
x-pack/plugins/apm/public/components/app/service_groups/service_group_save/select_services.tsx
Show resolved
Hide resolved
nreese
left a comment
There was a problem hiding this comment.
kibana-gis changes LGTM
code review
jennypavlova
left a comment
There was a problem hiding this comment.
Stack Monitoring changes LGTM!
kpatticha
left a comment
There was a problem hiding this comment.
APM changes LGTM 🥳
Thanks
|
@elasticmachine merge upstream |
TinaHeiligers
left a comment
There was a problem hiding this comment.
core-related changes are super small and LGTM!
walterra
left a comment
There was a problem hiding this comment.
ML related changes LGTM, checked all modals.
|
@elasticmachine merge upstream |
|
Thanks everyone for the thorough QA and reviews so far! @elastic/response-ops @elastic/security-solution-platform @elastic/security-threat-hunting-explore, as a heads up, I'll be asking for an admin merge by EOD tomorrow (Friday). Please take a second to review changes affecting your code (either EuiModalHeaderTitle related, or snapshot updates) if you can! |
|
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @cee-chen |
## Summary `eui@73.0.0` ⏩ `eui@74.0.1` --- ## [`74.0.1`](https://github.com/elastic/eui/tree/v74.0.1) **Bug fixes** - Fixed `EuiModalHeaderTitle` type errors when passed `EuiTitle` props ([elastic#6547](elastic/eui#6547)) ## [`74.0.0`](https://github.com/elastic/eui/tree/v74.0.0) - Added the `component` prop to `EuiModalHeaderTitle`, which allows overriding the default `h1` tag ([elastic#6530](elastic/eui#6530)) - Added the `titleProps` prop to `EuiConfirmModal`, which allows overriding the default `h1` tag ([elastic#6530](elastic/eui#6530)) **Bug fixes** - Fixed slight row height jumping in `EuiBasicTable`s when actions with tooltips became disabled ([elastic#6538](elastic/eui#6538)) **Breaking changes** - `EuiModalHeaderTitle` now **always** wraps its children in a `h1` tag (previously attempted to conditionally detect whether its children were raw strings or not). To change this tag type to, e.g. a more generic `div`, use the new `component` prop. ([elastic#6530](elastic/eui#6530)) - `EuiLink` now applies `rel="noreferrer"` to all domains, including `elastic.co` ([elastic#6535](elastic/eui#6535)) - `EuiBasicTable` no longer blocks mouse/keyboard interactions while `loading` ([elastic#6543](elastic/eui#6543)) **CSS-in-JS conversions** - Converted `EuiBasicTable` to Emotion ([elastic#6539](elastic/eui#6539)) - Added a new `RenderWithEuiTheme` render prop utility ([elastic#6539](elastic/eui#6539)) --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Summary
eui@73.0.0⏩eui@74.0.174.0.1Bug fixes
EuiModalHeaderTitletype errors when passedEuiTitleprops (#6547)74.0.0componentprop toEuiModalHeaderTitle, which allows overriding the defaulth1tag (#6530)titlePropsprop toEuiConfirmModal, which allows overriding the defaulth1tag (#6530)Bug fixes
EuiBasicTables when actions with tooltips became disabled (#6538)Breaking changes
EuiModalHeaderTitlenow always wraps its children in ah1tag (previously attempted to conditionally detect whether its children were raw strings or not). To change this tag type to, e.g. a more genericdiv, use the newcomponentprop. (#6530)EuiLinknow appliesrel="noreferrer"to all domains, includingelastic.co(#6535)EuiBasicTableno longer blocks mouse/keyboard interactions whileloading(#6543)CSS-in-JS conversions
EuiBasicTableto Emotion (#6539)RenderWithEuiThemerender prop utility (#6539)