-
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 21.0.1 #60282
Upgrade EUI to 21.0.1 #60282
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.
@kbn/ui-shared-deps
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.
maps changes LGTM, code review
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 from stack monitoring
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 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.
Snapshot changes and type updates 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.
APM changes look good!
jenkins test this |
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.
KibanaApp changes LGTM
jenkins test this |
|
…nal test config imports
💚 Build SucceededHistory
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.
LGTM 🚀 🎸
* update to eui 21.0.1 * most changes needed for search bar ts changes * Passing types * snapshots * jest tests * Removed IQuery placeholder types * Updated functional test to only look at table headers with content * Moved 'filters' definition around in api docs * Update types * update snapshot * typo * Move DATA_FRAME_TASK_STATE enum to its own file to fix x-pack functional test config imports * merge public api 'changes' Co-authored-by: patrykkopycinski <patryk.kopycinski@elastic.co> Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com>
* Upgrade EUI to 21.0.1 (#60282) * update to eui 21.0.1 * most changes needed for search bar ts changes * Passing types * snapshots * jest tests * Removed IQuery placeholder types * Updated functional test to only look at table headers with content * Moved 'filters' definition around in api docs * Update types * update snapshot * typo * Move DATA_FRAME_TASK_STATE enum to its own file to fix x-pack functional test config imports * merge public api 'changes' Co-authored-by: patrykkopycinski <patryk.kopycinski@elastic.co> Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com> * unit test update Co-authored-by: patrykkopycinski <patryk.kopycinski@elastic.co> Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com>
Summary
Most changes fall under one of these reasons
EuiAccordion
, and a new aria id management inEuiFilePicker
th
cell contents, and EUI now renders empty table cells astd
for better accessibility support; these tests were updated to maintain the correct target to theirth
elementsEuiSearchBar
was converted to typescript, which affected some existing Kibana types & implementations. I've focused on modifying only the types and not any runtime code21.0.1
Bug Fixes
EuiDataGrid
'sschema.isSortable
value optional (#2991)21.0.0
EuiDataGrid
's default sort order property (#2987)EuiDataGrid
's pagination visibility when changing rows per page (#2978)highlightAll
prop toEuiHighlight
to highlight all matches (#2957)showOnFocus
prop toEuiScreenReaderOnly
to force display on keyboard focus (#2976)EuiSkipLink
component (#2976)EuiBadgeGroup
component (#2921)sections
andposition
props toEuiHeader
(#2928)gutterSize
prop toEuiListGroup
(#2980)color
prop toEuiListGroupItem
and updated size style (#2980)enableAllColumns
toEuiBasicTable
component (#2906)Bug Fixes
EuiDataGrid
's sort popover to behave properly on mobile screens (#2979)EuiButton
and other textual components' disabled contrast (#2874)EuiDataGrid
while in full screen mode (#2959)EuiDataGrid
to fix to the top within constrained containers and full screen mode (#2959)EuiDescribedFormGroup
to allow the content inside theEuiTitle
to be accessible to screen reader users (#2989)Breaking changes
@types/react
and@types/react-dom
to utilize React.RefCallback type instead of custom implementation (#2929)Theme: Amsterdam
20.1.0
theme
prop toEuiCodeEditor
in support ofAceEditor
themes (#2970)EuiButton
now has a single return statement (#2954)isSortable
props toEuiDataGridColumn
andEuiDataGridSchemaDetector
to mark them as un-sortable (#2952)EuiForm
to TypeScript, added many missing/form
Prop types (#2896)EuiTable
. (#2934)aria-describedby
forEuiFilePicker
(#2919)$euiColorPrimaryText
,$euiColorSecondaryText
, etc... Updated components to use these new variables. (#2873)makeHighContrastColor()
to default$background: $euiPageBackgroundColor
and$ratio: 4.5
. CreatedmakeGraphicContrastColor()
for graphic specific contrast levels of 3.0. (#2873)arrowDisplay
prop toEuiAccordion
for changing side or hiding completely (#2914)prepend
andappend
ability toEuiFieldSearch
(#2914)notification
andnotificationColor
props toEuiHeaderSectionItemButton
(#2914)folderCheck
,folderExclamation
,push
,quote
,reporter
andusers
icons (#2935)folderClosed
andfolderOpen
to match new additions and sit better on the pixel grid (#2935)EuiSearchBar
to Typescript (#2909)Bug fixes
EuiDataGrid
breaking if invalid schema passed (#2955)EuiTitle
not rendering child classes (#2925)div
element inEuiFlyout
type (#2914)Theme: Amsterdam
secondary
,accent
colors to be more saturated (#2873)