Releases: elastic/eui
Releases · elastic/eui
v58.1.1
v58.1.0
- Updated
useEuiPaddingCSS()
anduseEuiBackgroundColorCSS()
to rendercss
blocks so consuming components render the key name in the class (#5891) - Added padding sizes
xs
andxl
toEuiPanel
(#5891)
Bug fixes
- Fixed
EuiSplitPanel
contained border radius by settingoverflow: hidden
(#5891) - Fixed
EuiCallOut
description top margin when only child (#5891) - Fixed height stretching of
EuiEmptyPrompt
by settinggrow=false
on the nested panel (#5907) - Fixed
EuiInMemoryTable
's loading state from shifting layout (#5914) - Fixed accessibility errors with
EuiDataGrid
's column sorting drag & drop handles (#5916) - Fixed
EuiMark
's screen reader helpers causing scroll issues in Chrome (#5921)
CSS-in-JS conversions
v58.0.0
- Updated
EuiForm
to useforwardRef
(#5866) - Updated all CSS-in-JS shadow functions parameters to match a
(euiTheme, { color? })
order (#5892) - Updated
euiShadow()
parameters to(euiTheme, size, { color? })
(#5892)
Bug fixes
- Fixed
EuiContextMenuPanel
(when used within anEuiPopover
) to correctly return focus to its popover toggle in all scenarios, not just keyboard Escape press (#5880) - Fixed
EuiSelectableTemplateSitewide
to allow re-opening the search popover (if closed via Escape key) via the Enter key (#5886) - Fixed
EuiComboBox
by centering the enter badge in the list options. (#5890) - Fixed
EuiTour
position calculation issues caused by popover width styles (#5897) - Fixed
EuiIcon
from producing console warning inReact.StrictMode
(#5899)
Breaking changes
v57.0.0
- Updated
EuiMarkdownFormat
to allowmailto:
links by default (#5790) - Updated
EuiMarkdownEditor
'seuiMarkdownLinkValidator
parsing plugin to allow customization of link validation (#5790) - Added
logicals{}
,logicalCSS()
,logicalStyle()
,logicalTextAlignCSS()
, andlogicalTextAlignSTyle()
CSS property utilities (#5850) - Added
euiPaddingSize()
,useEuiPaddingSize()
, anduseEuiPaddingCSS()
sizing utilities (#5850) - Added
euiBackgroundColor()
,useEuiBackgroundColor()
anduseEuiBackgroundColorCSS()
color utilities (#5850) - Changed default
EuiCallOut
heading
element fromspan
top
(#5870) - Updated
EuiOverlayMask
to accept a React ref (#5876) - Renamed
user
glyph touserAvatar
inEuiIcon
(#5877) - Added new
user
glyph inEuiIcon
(#5877)
Bug fixes
- Fixed alignment of
EuiCallOut
icon with the heading text (#5870) - Fixed
EuiFlyout
outsideClickCloses
not being scoped to overlay mask whenownFocus=true
(#5876)
Deprecations
- Sass mixin
euiCallOutColor()
deprecated in favor of usingEuiCallOut
directly (#5870)
Breaking changes
- Removed deprecated options for
EuiDatePicker
'spopoverPosition
props - useEuiPopover
values going forward (#5868) - Removed
partition
prop from EuiCharts theme configuration - usetheme.partition
instead (#5868) - Removed
data-grid-cell-id
attribute fromEuiDataGrid
cells - use separatedata-gridcell-column-id
&data-gridcell-row-index
attributes instead (#5868) - Removed
noDivider
prop fromEuiFilterButton
- usewithNext
prop instead (#5868) - Removed
isSelected
andisComplete
props fromEuiHorizontalStep
- usestatus
prop instead (#5868) - Removed
isHollow
prop fromEuiStep
- this visual appearance is no longer used in Amsterdam (#5868) - Removed condensed
display
prop fromEuiTabs
&EuiTabbedContent
- this visual appearance is no longer used in Amsterdam (#5868) - Removed
descriptionDisplay
andlabelDisplay
props fromEuiSuggestItem
- usetruncate
andlabelWidth
instead, respectively (#5868) - Removed
.euiButton---subdued
className and$euiButtonTypes.subdued
Sass variable - usetext
color instead (#5868) - Removed
.eui-textOverflowWrap
- use.eui-textBreakWord
instead (#5868) - Removed
.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
v56.0.0
- Increased weight of
EuiLoadingSpinner
border (#5845) - Added
role
and defaultaria-label
toEuiLoadingLogo
,EuiLoadingContent
,EuiLoadingElastic
, andEuiLoadingSpinner
(#5845) - Added
euiTextTruncate
,euiTextWordBreak
, andeuiNumberFormat
CSS-in-JS text utilities (#5854) - Added
focus
token to globalEuiTheme
(#5855) - Added
euiFocusRing()
anduseEuiFocusRing()
function/hook for customizing focus outline (#5855) - Added the
focusTrapProps
prop toEuiFlyout
to aid outside click detection and closing event (#5860)
Bug fixes
- Fixed a number of
EuiMarkdownEditor
's default toolbar buttons to highlight when the text cursor is in a related location (#5840) - Fixed allotted animation size of
EuiLoadingLogo
(#5845) - Fixed
EuiLoadingElastic
in dark mode (#5845) - Fixed border-radius of nested
EuiSplitPanel
s (#5855) - Fixed
offset
of global focusoutline
(#5855) - Fixed
EuiCollapsibleNav
failing to close when the button is clicked (#5860)
CSS-in-JS conversions
- Converted
EuiBottomBar
to Emotion (#5823) - Converted
EuiHealth
to Emotion (#5832) - Converted
EuiTitle
to Emotion (#5842) - Converted
EuiLoadingLogo
,EuiLoadingContent
,EuiLoadingElastic
, andEuiLoadingSpinner
; Removed$euiLoadingSpinnerSizes
,$euiGradientStartStop
, and$euiGradientMiddle
(#5845) - Converted
EuiSkipLink
to Emotion (#5851)
Breaking change
- As part of
EuiTitle
's Emotion conversion, the line-height ofs
andxxs
sizedEuiTitle
s have been slightly reduced (#5842)
v55.1.0
- Improved
EuiTimeline
a11y by using better semantic elements (#5791) - Replaced sass usage in
EuiAspectRatio
with inline styles usingaspect-ratio
property of css (#5818) - Improved accessibility of
EuiLoadingChart
(#5821) - Added
euiFontSize()
anduseEuiFontSize()
JS function and React hook for font sizing (#5822) - Added
levels
object toEuiTheme
(#5827) - Updated the use of
@emotion/cache
to include all@emotion
styles (#5831)
Bug fixes
- Fixed layout bug in
EuiAccordion
children that useposition: fixed;
(#5806) - Fixed
EuiFlyout
so that it no longer closes when a click starts inside the flyout but completes outside (#5810) - Fixed
EuiBasicTable
mobile styles being in sync between JS and Sass (#5822)
CSS-in-JS conversions
v55.0.1
v55.0.0
- Added JS function versions of Sass style mixins (a11y, animation, scroll, shadows) (#5754)
- Added a
<p />
wrapper arounddescription
ofEuiDescribedFormGroup
when provided as a string (#5756) - Added a
ratio
prop toEuiDescribedFormGroup
to control the column width ratio (#5756)
Bug fixes
- Fixed margin calculation of
hasEmptyLabelSpace
onEuiFormRow
(#5756) - Fixed vertical alignment between
EuiDescribedFormGroup
columns (#5756) - Fixed
EuiContextMenu
stranding keyboard focus when pressing the left/right arrow keys quickly between more than 2 panels (#5783) - Fixed
EuiContextMenu
to enable up/down arrow key navigation to all focusableitems
(#5783) - Fixed
EuiContextMenu
to enable using the up/down arrow keys to navigate to the panel title back button (which takes the user to the previous panel), and focus this button ifinitialFocusedItemIndex
has not been set (#5783) - Fixed
EuiComboBox
losing focus when a disabled option is clicked (#5795) - Fixed an
EuiDataGrid
bug occurring when closing cell popovers on clicking the originating cell. The original fix was unintentionally affecting cell popovers with nested modals, popovers, etc. (#5797)
Breaking changes
EuiPopover
s will no longer focus the first tabbable child by default - instead, the popover panel will be focused. This change should be a better experience for both keyboard and screen reader users. Consumers who want to set an initial focus on specific popover element should use theinitialFocus
prop. (#5784)
v54.1.0
v54.0.0
EuiDataGrid
now allows limiting the number of visible cell actions with a newcolumns.visibleCellActions
prop (defaults to 2). All additional actions will be shown in the cell expansion popover. (#5675)- Added a new
gridStyle.rowClasses
API toEuiDataGrid
, which allows adding custom classes/styling to specific row indices, primarily for the purpose of highlighting rows (#5732) - Added
alert
icon indicator andaria-invalid
when the following form controls areisInvalid
:EuiFieldNumber
,EuiFieldPassword
,EuiFieldText
,EuiSelect
,EuiSuperSelect
,EuiFieldSearch
,EuiColorPicker
(#5738) - Added
isInvalid
prop toEuiFormControlLayout
to render thealert
icon (#5738) - Added
isDropdown
prop toEuiFormControlLayout
to create and control anarrowDown
icon (#5738) - Added
color
as toEuiFormControlLayout
'sicon
object (#5738)
Bug fixes
- Fixed
EuiSuperSelect
border-radius withappend
orprepend
(#5738) - Fixed
EuiSuperSelect
not respectingreadOnly
(#5738) - Fixed
EuiDataGrid
cell focus sometimes not being restored for keyboard users when cell expansion popovers were closed (#5761)
Breaking changes
- Removed the
closePopover()
callback passed toEuiDataGrid
'scellActions
render functions. UsecloseCellPopover()
passed byEuiDataGrid
'sref
prop instead. (#5734)
CSS-in-JS conversions
- Converted
EuiAvatar
to CSS-in-JS styling (#5670)