-
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 v19.0.0 #57284
Upgrade EUI to v19.0.0 #57284
Conversation
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.
package.json, snaps, and code changes LGTM, but ideally the @types/enzyme installs can be unified.
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.
Yeah nothing for EuiTokens as expected. Looks like most of the changes are for the idAria
removal and code block portal stuffs. 👍
* - EuiPageContent | ||
*/ | ||
foo bar { | ||
"foo bar { |
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.
🎉
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.
Looks right to me!
I am not sure what we can do about it now - but it's worth keeping an eye on master after merging. What has happened in the past is there are green PR's which have invalid snapshots that ultimately fail when merged into master following an EUI bump. |
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/Spaces LGTM - tested locally
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.
Tested ML locally and 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.
One more time for Kibana App 👍
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.
Looks good for operations 👍
Pinging @elastic/es-ui to look at the |
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.
Canvas 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 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.
es-ui changes LGTM.
Remaining code owner ping is for a single snapshot update. Will merge when green. |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* eui to v19.0.0 * typescript updates; idAria removal * src snapshot updates * mock euicode and euicodeblock for jest * x-pack snapshot updates * mock euicode for jest * more euicode snapshots * mock euicode in storyshots * types/enzyme yarn.lock * sidenav type update
* eui to v19.0.0 * typescript updates; idAria removal * src snapshot updates * mock euicode and euicodeblock for jest * x-pack snapshot updates * mock euicode for jest * more euicode snapshots * mock euicode in storyshots * types/enzyme yarn.lock * sidenav type update
Summary
[email protected]
⏩[email protected]
idAria
prop is not longer part of theEuiDescribedFormGroup
API. A11y is now handled internally, so all instances have been removed.EuiCode
&EuiCodeBlock
now use a React portal in some cases to render complex content. Jest tests for several components need a mocked version until EUI's more robust test environment solution is available (🔜)EuiToken
change is marked as "breaking", but no instances were yet in use in Kibana19.0.0
cheer
glyph toEuiIcon
(#2814)tableCaption
prop toEuiBasicTable
and improved the default one (#2782)EuiDescribedFormGroup
to TypeScript (#2810)rowHeader
prop toEuiBasicTable
to allow consumers to set the identifying cell in a row (#2802)EuiColorPicker
(#2819)EuiDescribedFormGroup
accessibility by avoiding duplicated output in screen readers (#2783)key
attribute toEuiContextMenu
items and relaxedname
attribute to allow any React node (#2817)EuiColorPicker
color conversion functions tochroma-js
methods (#2805)direction
parameter toeuiPaletteColorBlind()
for specifiying lighter or darker (or both) alternates (#2822)EuiSideNav
to TypeScript (#2818)test-env/
) to target Kibana's Jest environment (#2698)EuiToken
and add added more token types to match ES field types oftokenAlias
,tokenDate
,tokenGeo
,tokenIP
,tokenNested
,tokenRange
,tokenShape
(#2758)Bug fixes
EuiSelectProps
type (#2815)EuiCode
's &EuiCodeBlock
's ability to accept non-string children (#2792) (#2820)EuiSearchBar
,Query
, andAST
's ability to accept literal parenthesis characters (#2791)@types/enzyme
and@types/react-virtualized
todependencies
status (#2828)@elastic/charts
from inclusion ineui.d.ts
output (#2828)Breaking changes
idAria
prop fromEuiDescribedFormGroup
(#2783)EuiToken
'shideBorder
anddisplayOptions
prop for applyingcolor
,shape
, andfill
props directly. Changedfill
prop type fromboolean
tolight | dark | none
. (#2758)