Skip to content
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

Merged
merged 19 commits into from
Mar 20, 2020
Merged

Upgrade EUI to 21.0.1 #60282

merged 19 commits into from
Mar 20, 2020

Conversation

chandlerprall
Copy link
Contributor

Summary

Most changes fall under one of these reasons

  • Snapshot updates are from a new default prop on EuiAccordion, and a new aria id management in EuiFilePicker
  • A couple tests verified table th cell contents, and EUI now renders empty table cells as td for better accessibility support; these tests were updated to maintain the correct target to their th elements
  • EuiSearchBar was converted to typescript, which affected some existing Kibana types & implementations. I've focused on modifying only the types and not any runtime code

21.0.1

Bug Fixes

  • Made EuiDataGrid's schema.isSortable value optional (#2991)

21.0.0

  • Added EuiDataGrid's default sort order property (#2987)
  • Fixed EuiDataGrid's pagination visibility when changing rows per page (#2978)
  • Added highlightAll prop to EuiHighlight to highlight all matches (#2957)
  • Added showOnFocus prop to EuiScreenReaderOnly to force display on keyboard focus (#2976)
  • Added EuiSkipLink component (#2976)
  • Created EuiBadgeGroup component (#2921)
  • Added sections and position props to EuiHeader (#2928)
  • Added gutterSize prop to EuiListGroup (#2980)
  • Added color prop to EuiListGroupItem and updated size style (#2980)
  • Added enableAllColumns to EuiBasicTable component (#2906)

Bug Fixes

  • Fixed EuiDataGrid's sort popover to behave properly on mobile screens (#2979)
  • Fixed EuiButton and other textual components' disabled contrast (#2874)
  • Fixed z-index conflict with cell popovers in EuiDataGrid while in full screen mode (#2959)
  • Adjusted the header on EuiDataGrid to fix to the top within constrained containers and full screen mode (#2959)
  • Refactored EuiDescribedFormGroup to allow the content inside the EuiTitle to be accessible to screen reader users (#2989)

Breaking changes

  • Updated @types/react and @types/react-dom to utilize React.RefCallback type instead of custom implementation (#2929)

Theme: Amsterdam

  • Buttons have a new visual style (#2874)

20.1.0

  • Added theme prop to EuiCodeEditor in support of AceEditor themes (#2970)
  • EuiButton now has a single return statement (#2954)
  • Added isSortable props to EuiDataGridColumn and EuiDataGridSchemaDetector to mark them as un-sortable (#2952)
  • Converted EuiForm to TypeScript, added many missing /form Prop types (#2896)
  • Empty table th elements replaced with td in EuiTable. (#2934)
  • Added default prompt text to aria-describedby for EuiFilePicker (#2919)
  • Added SASS variables for text variants of the primary palette $euiColorPrimaryText, $euiColorSecondaryText, etc... Updated components to use these new variables. (#2873)
  • Updated SASS mixin makeHighContrastColor() to default $background: $euiPageBackgroundColor and $ratio: 4.5. Created makeGraphicContrastColor() for graphic specific contrast levels of 3.0. (#2873)
  • Added arrowDisplay prop to EuiAccordion for changing side or hiding completely (#2914)
  • Added prepend and append ability to EuiFieldSearch (#2914)
  • Added notification and notificationColor props to EuiHeaderSectionItemButton (#2914)
  • Added folderCheck, folderExclamation, push, quote, reporter and users icons (#2935)
  • Updated folderClosed and folderOpen to match new additions and sit better on the pixel grid (#2935)
  • Converted EuiSearchBar to Typescript (#2909)

Bug fixes

  • Fixed EuiDataGrid breaking if invalid schema passed (#2955)
  • Fixed EuiTitle not rendering child classes (#2925)
  • Extended div element in EuiFlyout type (#2914)
  • Fixed popover positioning service to be more lenient when positioning 0-width or 0-height content (#2948)

Theme: Amsterdam

  • Text sizes are now based on a 14px base font size. Headings are now bold. (#2936)
  • Altered secondary, accent colors to be more saturated (#2873)

@chandlerprall chandlerprall added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.7.0 labels Mar 16, 2020
@chandlerprall chandlerprall requested review from a team as code owners March 16, 2020 16:38
@chandlerprall chandlerprall requested a review from a team March 16, 2020 16:38
@chandlerprall chandlerprall requested review from a team as code owners March 16, 2020 16:38
@chandlerprall chandlerprall requested a review from a team March 16, 2020 16:38
Copy link
Contributor

@spalger spalger left a 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.

Copy link
Contributor

@nreese nreese left a 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

@chandlerprall chandlerprall changed the title Eui 21 0 1 Upgrade EUI to 21.0.1 Mar 16, 2020
Copy link
Contributor

@chrisronline chrisronline left a 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

@chandlerprall chandlerprall requested a review from a team as a code owner March 17, 2020 04:19
Copy link
Contributor

@crob611 crob611 left a 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 👍

Copy link
Contributor

@thompsongl thompsongl left a 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

Copy link
Contributor

@smith smith left a 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!

@chandlerprall
Copy link
Contributor Author

jenkins test this

Copy link
Member

@kertal kertal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

KibanaApp changes LGTM

@chandlerprall
Copy link
Contributor Author

jenkins test this

@patrykkopycinski
Copy link
Contributor

patrykkopycinski commented Mar 20, 2020

[2020-03-19T19:51:55.180Z] window is not defined
[2020-03-19T19:51:55.180Z] at Object.getAceInstance (/dev/shm/workspace/kibana/node_modules/@elastic/eui/node_modules/react-ace/src/editorOptions.ts:51:3)

@chandlerprall chandlerprall requested a review from a team as a code owner March 20, 2020 16:26
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@stephmilovic stephmilovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀 🎸

@chandlerprall chandlerprall merged commit 0bf62cb into elastic:master Mar 20, 2020
@chandlerprall chandlerprall deleted the eui-21-0-1 branch March 20, 2020 20:07
chandlerprall added a commit to chandlerprall/kibana that referenced this pull request Mar 20, 2020
* 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>
chandlerprall added a commit that referenced this pull request Mar 21, 2020
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes v7.7.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.