Skip to content

Commit

Permalink
Upgrade EUI to v89.0.0 (elastic#168396)
Browse files Browse the repository at this point in the history
`v88.5.4`⏩`v89.0.0`

---

## [`89.0.0`](https://github.com/elastic/eui/tree/v89.0.0)

- Added new `pushAnimation` prop to push `EuiFlyout`s, which enables a
slide in animation ([elastic#7239](elastic/eui#7239))
- Updated `EuiComboBox` to use `EuiInputPopover` under the hood
([elastic#7246](elastic/eui#7246))
- Added `inputPopoverProps` to `EuiComboBox`, which allows customizing
the underlying popover
([elastic#7246](elastic/eui#7246))
- Added a new beta `EuiTextBlockTruncate` component for multi-line
truncation ([elastic#7250](elastic/eui#7250))
- Updated `EuiBasicTable` and `EuiInMemoryTable` to support multi-line
truncation. This can be set via `truncateText.lines` in the `columns`
prop. ([elastic#7254](elastic/eui#7254))

**Bug fixes**

- Fixed `EuiFlexGroup` and `EuiFlexGrid`'s `m` gutter size
([elastic#7251](elastic/eui#7251))
- Fixed focus trap rerender issues in `EuiFlyout` with memoization
([elastic#7259](elastic/eui#7259))
- Fixed a visual bug with `EuiContextMenu`'s animation between panels
([elastic#7268](elastic/eui#7268))

**Breaking changes**

- EUI's global body font-size now respects the `font.defaultUnits`
token. This means that the global font size will use the `rem` unit by
default, instead of `px`.
([elastic#7182](elastic/eui#7182))
- Removed exported `accessibleClickKeys`, `comboBoxKeys`, and
`cascadingMenuKeys` services. Use the generic `keys` service instead
([elastic#7256](elastic/eui#7256))
- Removed `EuiColorStops` due to low usage
([elastic#7262](elastic/eui#7262))
- Removed `EuiSuggest`. We recommend using `EuiSelectable` or
`EuiComboBox` instead
([elastic#7263](elastic/eui#7263))
- Removed `euiHeaderAffordForFixed` Sass mixin, and `$euiHeaderHeight`
and `$euiHeaderHeightCompensation` Sass variables. Use the CSS variable
`--var(euiFixedHeadersOffset, 0)` instead.
([elastic#7264](elastic/eui#7264))

**Accessibility**

- When using `rem` or `em` font units, EUI now respects, instead of
ignoring, browser default font sizes set by end users.
([elastic#7182](elastic/eui#7182))
  • Loading branch information
cee-chen authored and dej611 committed Oct 17, 2023
1 parent b100733 commit 887f985
Show file tree
Hide file tree
Showing 22 changed files with 414 additions and 468 deletions.
2 changes: 0 additions & 2 deletions examples/search_examples/public/index.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import '@elastic/eui/src/global_styling/variables/header';

.searchExampleStepDsc {
padding-left: $euiSizeXL;
font-style: italic;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"@elastic/datemath": "5.0.3",
"@elastic/elasticsearch": "npm:@elastic/[email protected]",
"@elastic/ems-client": "8.4.0",
"@elastic/eui": "88.5.4",
"@elastic/eui": "89.0.0",
"@elastic/filesaver": "1.1.2",
"@elastic/node-crypto": "1.2.1",
"@elastic/numeral": "^2.5.1",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -202,44 +202,6 @@ export const getEuiContextMapping = (): EuiTokensObject => {
'euiColorPicker.popoverLabel': i18n.translate('core.euiColorPicker.popoverLabel', {
defaultMessage: 'Color selection dialog',
}),
'euiColorStopThumb.removeLabel': i18n.translate('core.euiColorStopThumb.removeLabel', {
defaultMessage: 'Remove this stop',
description: 'Label accompanying a button whose action will remove the color stop',
}),
'euiColorStopThumb.screenReaderAnnouncement': i18n.translate(
'core.euiColorStopThumb.screenReaderAnnouncement',
{
defaultMessage:
'A popup with a color stop edit form opened. Tab forward to cycle through form controls or press escape to close this popup.',
description:
'Message when the color picker popover has opened for an individual color stop thumb.',
}
),
'euiColorStopThumb.buttonAriaLabel': i18n.translate('core.euiColorStopThumb.buttonAriaLabel', {
defaultMessage: 'Press the Enter key to modify this stop. Press Escape to focus the group',
description: 'Screen reader text to describe picker interaction',
}),
'euiColorStopThumb.buttonTitle': i18n.translate('core.euiColorStopThumb.buttonTitle', {
defaultMessage: 'Click to edit, drag to reposition',
description: 'Screen reader text to describe button interaction',
}),
'euiColorStopThumb.stopLabel': i18n.translate('core.euiColorStopThumb.stopLabel', {
defaultMessage: 'Stop value',
}),
'euiColorStopThumb.stopErrorMessage': i18n.translate(
'core.euiColorStopThumb.stopErrorMessage',
{
defaultMessage: 'Value is out of range',
}
),
'euiColorStops.screenReaderAnnouncement': ({ label, readOnly, disabled }: EuiValues) =>
i18n.translate('core.euiColorStops.screenReaderAnnouncement', {
defaultMessage:
'{label}: {readOnly} {disabled} Color stop picker. Each stop consists of a number and corresponding color value. Use the Down and Up arrow keys to select individual stops. Press the Enter key to create a new stop.',
values: { label, readOnly, disabled },
description:
'Screen reader text to describe the composite behavior of the color stops component.',
}),
'euiColorPickerSwatch.ariaLabel': ({ color }: EuiValues) =>
i18n.translate('core.euiColorPickerSwatch.ariaLabel', {
defaultMessage: 'Select {color} as the color',
Expand Down Expand Up @@ -1711,28 +1673,6 @@ export const getEuiContextMapping = (): EuiTokensObject => {
defaultMessage: 'Step {number} is loading',
values: { number },
}),
'euiSuggest.stateSavedTooltip': i18n.translate('core.euiSuggest.stateSavedTooltip', {
defaultMessage: 'Saved.',
}),

'euiSuggest.stateUnsavedTooltip': i18n.translate('core.euiSuggest.stateUnsavedTooltip', {
defaultMessage: 'Changes have not been saved.',
}),

'euiSuggest.stateLoading': i18n.translate('core.euiSuggest.stateLoading', {
defaultMessage: 'State: loading.',
}),

'euiSuggest.stateSaved': i18n.translate('core.euiSuggest.stateSaved', {
defaultMessage: 'State: saved.',
}),

'euiSuggest.stateUnsaved': i18n.translate('core.euiSuggest.stateUnsaved', {
defaultMessage: 'State: unsaved.',
}),
'euiSuggest.stateUnchanged': i18n.translate('core.euiSuggest.stateUnchanged', {
defaultMessage: 'State: unchanged.',
}),
'euiSuperSelect.screenReaderAnnouncement': i18n.translate(
'core.euiSuperSelect.screenReaderAnnouncement',
{
Expand Down
Loading

0 comments on commit 887f985

Please sign in to comment.