-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Upgrade EUI to v53.0.1 #128825
Upgrade EUI to v53.0.1 #128825
Conversation
Pinging @elastic/eui-design (EUI) |
x-pack/plugins/ui_actions_enhanced/public/custom_time_range_badge.tsx
Outdated
Show resolved
Hide resolved
@constancecchen Forgot to mention this in the original PR, but the - const MockedEuiSuperDatePicker = EuiSuperDatePicker as jest.MockedClass<typeof EuiSuperDatePicker>;
+ const MockedEuiSuperDatePicker = EuiSuperDatePicker as jest.MockedFunction<typeof EuiSuperDatePicker>; |
- Fix mock typeof: this changed because the exported EuiSuperDatePicker is no longer a class, but a functional component wrapper around a class - CI test: update now-capitalized datepicker select copy - Jest tests: update snapshots, find()s (`Memo()` selector change is due to the exported EuiSuperDatePicker change)
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.
ML code change LGTM
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.
maps change lgtm!
Thanks y'all so much for the speedy approvals! Just wanted to give the remaining CODEOWNERS (@elastic/kibana-core , @elastic/kibana-app-services @elastic/security-solution) a heads up that we are on a timeline for this PR. Since it adds i18n for EuiSuperDatePicker (used extensively throughout Kibana), we're hoping to get this PR in before Friday, which will be when i18n tokens are extracted for translation. Thanks for your time! |
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.
LGTM
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.
Code changes LGTM.
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.
Security Solution LGTM 👍
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💛 Build succeeded, but was flakyTest Failures
Metrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
* Upgrade EUI to v53.0.1 * Update i18n EUI mappings with new super date picker tokens * Update deprecated prettyDuration usage * Fix misc tests/type updates caused by EuiSuperDatePicker i18n release - Fix mock typeof: this changed because the exported EuiSuperDatePicker is no longer a class, but a functional component wrapper around a class - CI test: update now-capitalized datepicker select copy - Jest tests: update snapshots, find()s (`Memo()` selector change is due to the exported EuiSuperDatePicker change) * [kibana-app-services feedback] use renderToString Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 6a44f1f)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
* Upgrade EUI to v53.0.1 * Update i18n EUI mappings with new super date picker tokens * Update deprecated prettyDuration usage * Fix misc tests/type updates caused by EuiSuperDatePicker i18n release - Fix mock typeof: this changed because the exported EuiSuperDatePicker is no longer a class, but a functional component wrapper around a class - CI test: update now-capitalized datepicker select copy - Jest tests: update snapshots, find()s (`Memo()` selector change is due to the exported EuiSuperDatePicker change) * [kibana-app-services feedback] use renderToString Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 6a44f1f) Co-authored-by: Constance <constancecchen@users.noreply.github.com>
Summary
eui@52.2.0
⏩eui@53.0.1
53.0.1
Bug fixes
EuiContext.i18n
'smappingFunc
not being called forEuiI18n
s with multiple tokens or function callbacks (#5748)EuiIcon
when using a custom data URItype
(#5751)53.0.0
EuiSuperDatePicker
(#5743)Breaking changes
prettyDuration
utility exported byEuiSuperDatePicker
- this util was converted to aPrettyDuration
component andusePrettyDuration
hook which should be used instead (#5743)commonDurationRanges
exported byEuiSuperDatePicker
. The new pretty duration utils will fall back tocommonDurationRanges
by default if noquickRanges
are passed (#5743)