-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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 v58.0.0 #132257
Upgrade EUI to v58.0.0 #132257
Conversation
…ts for euiLink and euiTitle as they have been converted to Emotion
…alth, euiAvatar, euiSpacer, euiTitle, and euiLink as they have recently been converted to Emotion
… EuiSpacer, EuiText, EuiCallout, EuiHorizontalRule, EuiTitle, and EuiLink have been converted to Emotion. Updated the i18n translation snapshots
…rade-57.0.0 Pulling in the latest code from the main branch
…EuiLink, EuiTitle, EuiHorizontalRule, EuiSpace, and EuiCallout have been converted to Emotion
…as EuiLoader has been converted to Emotion
…Spacer, EuiHorizontalRule, Eui Callout, and EuiLink have been converted to Emotion
…Props prop. It was recently deprecated in EUI PR# 5880 (elastic/eui#5880) as is no longer needed
…Props prop. It was recently deprecated in EUI PR# 5880 (elastic/eui#5880) as is no longer needed
…Props prop. It was recently deprecated in EUI PR# 5880 (elastic/eui#5880) as is no longer needed
…iDatePicket component with new / valid values. A list of values were deprecated and new values were added in EUI PR #5868 (elastic/eui#5868)
…condensed as it is no longer a part of the Amsterdam theme via EUI PR #5868(elastic/eui#5868)
9a3f8e7
to
d26fc85
Compare
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.
VisEditors changes LGTM, only test adjustments for new element tree structure
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.
Unified Observability 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.
infra
and monitoring
plugin changes LGTM
x-pack/plugins/infra/public/pages/metrics/metric_detail/components/time_controls.test.tsx
Show resolved
Hide resolved
@elasticmachine merge upstream |
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.
Enterprise Search changes approved.
No issues found on local build.
…into eui-upgrade-57.0.0 Pulling the latest code from upgrade branch
…sx. Restored snapshot
…sx. Restored snapshot
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.
Synth/RUM changes LGTM
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
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 platform changes look good
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.
app services 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.
ResponseOps changes LTGM
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 edits 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.
Files in x-pack/plugins/security_solution/public/common/components/endpoint/*
LGTM (on behalf of @elastic/security-onboarding-and-lifecycle-mgt team)
@@ -145,8 +145,127 @@ exports[`AnalyticsNoDataPageComponent renders correctly 1`] = ` | |||
> | |||
<EuiLoadingSpinner> | |||
<span | |||
className="euiLoadingSpinner euiLoadingSpinner--medium" | |||
/> | |||
aria-label="Loading" |
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.
The bloat here will need to be resolved on our end, either with a shallow
render or a mock. cc: @majagrubic @sebelga
eui@55.1.2 ⏩ eui@58.0.0
Added .render() calls to snapshot tests are intended to reduce the output of EUI components that use Emotion for styling. If you prefer the more verbose snapshot output in your plugin, we can remove the call.
58.0.0
EuiForm
to useforwardRef
(#5866)(euiTheme, { color? })
order (#5892)euiShadow()
parameters to(euiTheme, size, { color? })
(#5892)Bug fixes
EuiContextMenuPanel
(when used within anEuiPopover
) to correctly return focus to its popover toggle in all scenarios, not just keyboard Escape press (#5880)EuiSelectableTemplateSitewide
to allow re-opening the search popover (if closed via Escape key) via the Enter key (#5886)EuiComboBox
by centering the enter badge in the list options. (#5890)EuiTour
position calculation issues caused by popover width styles (#5897)EuiIcon
from producing console warning inReact.StrictMode
(#5899)57.0.0
EuiMarkdownFormat
to allowmailto:
links by default (#5790)EuiMarkdownEditor
'seuiMarkdownLinkValidator
parsing plugin to allow customization of link validation (#5790)logicals{}
,logicalCSS()
,logicalStyle()
,logicalTextAlignCSS()
, andlogicalTextAlignSTyle()
CSS property utilities (#5850)euiPaddingSize()
,useEuiPaddingSize()
, anduseEuiPaddingCSS()
sizing utilities (#5850)euiBackgroundColor()
,useEuiBackgroundColor()
anduseEuiBackgroundColorCSS()
color utilities (#5850)EuiCallOut
heading
element fromspan
top
(#5870)EuiOverlayMask
to accept a React ref (#5876)user
glyph touserAvatar
inEuiIcon
(#5877)user
glyph inEuiIcon
(#5877)Bug fixes
EuiCallOut
icon with the heading text (#5870)EuiFlyout
outsideClickCloses
not being scoped to overlay mask whenownFocus=true
(#5876)Deprecations
euiCallOutColor()
deprecated in favor of usingEuiCallOut
directly (#5870)Breaking changes
EuiDatePicker
'spopoverPosition
props - useEuiPopover
values going forward (#5868)partition
prop from EuiCharts theme configuration - usetheme.partition
instead (#5868)data-grid-cell-id
attribute fromEuiDataGrid
cells - use separatedata-gridcell-column-id
&data-gridcell-row-index
attributes instead (#5868)noDivider
prop fromEuiFilterButton
- usewithNext
prop instead (#5868)isSelected
andisComplete
props fromEuiHorizontalStep
- usestatus
prop instead (#5868)isHollow
prop fromEuiStep
- this visual appearance is no longer used in Amsterdam (#5868)display
prop fromEuiTabs
&EuiTabbedContent
- this visual appearance is no longer used in Amsterdam (#5868)descriptionDisplay
andlabelDisplay
props fromEuiSuggestItem
- usetruncate
andlabelWidth
instead, respectively (#5868).euiButton---subdued
className and$euiButtonTypes.subdued
Sass variable - usetext
color instead (#5868).eui-textOverflowWrap
- use.eui-textBreakWord
instead (#5868).euiYScrollWithShadows
- use.eui-yScrollWithShadows
instead (#5868)EuiMarkdownEditor
no longer automatically includes the tooltip plugin in custom plugin arrays passed touiPlugins
. To use EUI's tooltip plugin, usegetDefaultEuiMarkdownPlugins()
(#5868)CSS-in-JS conversions
EuiLink
to Emotion and removed$euiLinkColors
(#5856)EuiCallOut
to Emotion (#5870)56.0.0
EuiLoadingSpinner
border (#5845)role
and defaultaria-label
toEuiLoadingLogo
,EuiLoadingContent
,EuiLoadingElastic
, andEuiLoadingSpinner
(#5845)euiTextTruncate
,euiTextWordBreak
, andeuiNumberFormat
CSS-in-JS text utilities (#5854)focus
token to globalEuiTheme
(#5855)euiFocusRing()
anduseEuiFocusRing()
function/hook for customizing focus outline (#5855)focusTrapProps
prop toEuiFlyout
to aid outside click detection and closing event (#5860)Bug fixes
EuiMarkdownEditor
's default toolbar buttons to highlight when the text cursor is in a related location (#5840)EuiLoadingLogo
(#5845)EuiLoadingElastic
in dark mode (#5845)EuiSplitPanel
s (#5855)offset
of global focusoutline
(#5855)EuiCollapsibleNav
failing to close when the button is clicked (#5860)CSS-in-JS conversions
EuiBottomBar
to Emotion (#5823)EuiHealth
to Emotion (#5832)EuiTitle
to Emotion (#5842)EuiLoadingLogo
,EuiLoadingContent
,EuiLoadingElastic
, andEuiLoadingSpinner
; Removed$euiLoadingSpinnerSizes
,$euiGradientStartStop
, and$euiGradientMiddle
(#5845)EuiSkipLink
to Emotion (#5851)Breaking change
EuiTitle
's Emotion conversion, the line-height ofs
andxxs
sizedEuiTitle
s have been slightly reduced (#5842)