Releases: elastic/eui
Releases Β· elastic/eui
v74.0.0
- Added the
component
prop toEuiModalHeaderTitle
, which allows overriding the defaulth1
tag (#6530) - Added the
titleProps
prop toEuiConfirmModal
, which allows overriding the defaulth1
tag (#6530)
Bug fixes
- Fixed slight row height jumping in
EuiBasicTable
s when actions with tooltips became disabled (#6538)
Breaking changes
EuiModalHeaderTitle
now always wraps its children in ah1
tag (previously attempted to conditionally detect whether its children were raw strings or not). To change this tag type to, e.g. a more genericdiv
, use the newcomponent
prop. (#6530)EuiLink
now appliesrel="noreferrer"
to all domains, includingelastic.co
(#6535)EuiBasicTable
no longer blocks mouse/keyboard interactions whileloading
(#6543)
CSS-in-JS conversions
v73.0.0
Bug fixes
- Fixed
EuiDataGrid
a11y errors within toolbar popovers containing draggable elements with interactive children (#6517) - Fixed several styling bugs within
EuiDataGrid
's sorting toolbar popover (#6517)
Breaking changes
EuiToolTip
s now internally enforce only showing one tooltip at a time (the most recently triggered tooltip). This primarily affects scenarios where users are focused on a tooltip toggle via click, and then hover onto another tooltip toggle. (#6520)
v72.2.0
- Added
onFullScreen
callback to expose theisFullScreen
state of theEuiImage
(#6504) - Added an extra spacing between the title and subtitle to
EuiTour
(#6512) - Updated
EuiText.blockquote
styles to match theEuiMarkdownFormat.blockquote
styles (#6514) - Added the
repositionOnScroll
prop toEuiToolTip
(#6515)
v72.1.0
- Changed design of empty ranges in
EuiColorStops
to have diagonal gray stripes instead of a solid light gray color (#6489) - Changed popover in
EuiColorStops
to not appear when dragging/moving a color stop (#6489) EuiPopover
now supports overridingfocusTrapProps.onClickOutside
, which allows customization of auto-close behavior on outside click. (#6500)
CSS-in-JS conversions
v72.0.0
- Added the
customQuickSelectRender
render prop toEuiSuperDatePicker
, which allows customizing the Quick Select popover (#6382) EuiFilePicker
styles have been updated to look more like an interactive element. (#6479)- Added a third argument to
EuiSelectable
'sonChange
callback. The singleoption
object that triggered theonChange
event is now also passed to consumers with its most recentchecked
state (#6487)
Bug fixes
EuiTabs
now passessize
andexpand
to all children using a React context provider. (#6478)- Fixed security warnings caused by
[email protected]
sub-dependency (#6482)
Breaking changes
- Removed
size
andexpand
props fromEuiTab
(#6478)
v71.1.0
v71.0.0
- Implemented new
EuiRange
andEuiDualRange
designs where thelevels
are now on top of the tracks (#6092) - Added
discuss
anddotInCircle
glyphs toEuiIcon
(#6434) - Added
article
glyph toEuiIcon
(#6437) - Changed the
EuiProvider
usage warnings to not rely on development mode. (#6451)
Breaking changes
EuiDualRange
now explicitly requires bothmin
andmax
via props types, to matchEuiRange
(#6092)EuiRange
andEuiDualRange
'scompressed
size no longer impacts track or level sizes, but continues to compress tick and input sizes. (#6092)- Removed all variables for the following components from EUI's theme JSON files: (#6443)
euiCollapsibleNav*
euiColorPicker*
euiContextMenu*
euiControlBar*
euiDataGrid*
(except for z-indices and cell padding sizes)euiDatePicker*
euiSuperDatePicker*
euiDragAndDrop*
euiEuiEmptyPrompt*
euiFilePicker*
euiRange*
euiHeaderLinks*
euiKeyPad*
euiMarkdownEditor*
euiResizable*
euiSelectable*
euiSideNav*
euiStep*
euiSuggest*
euiTable*
(except for color variables)euiTooltip*
euiButtonFontWeight
,euiButtonDefaultTransparency
, andeuiButtonMinWidth
- If you were importing any of the above removed JSON variables, we strongly recommend using generic color or sizing variables from
useEuiTheme()
instead. (#6443)
CSS-in-JS conversions
- Converted
EuiRange
andEuiDualRange
to Emotion; Removed$euiRangeThumbRadius
(#6092) - Added a new
logicalStyles
utility that automatically converts all non-logical properties in astyle
object to their corresponding logical properties (#6426) - Added a new
logicalShorthandCSS
utility that automatically convertsmargin
,padding
, and other 4-sided shorthands to their corresponding logical properties (#6429) - Added a new
logicalBorderRadiusCSS
utility that automatically convertsborder-radius
to corresponding logical properties (#6429)
v70.4.0
- Updated
EuiTourStep.footerAction
type to acceptReactNode[]
(#6384) - Vertically aligned all footer content so that
euiTourStepIndicator
is always centered (#6384) - Added
filterInCircle
glyph toEuiIcon
(#6385) - Added
color
prop toEuiBeacon
(#6420) - Added the
euiMaxBreakpoint
andeuiMinBreakpoint
CSS-in-JS utilities for creating min/max-width media queries (#6431)
Bug fixes
- Restores the previous match operator behaviour when the query value is split into multiple terms after analysis. (#6409)
- Fixed missing slide-in animation on
EuiCollapsibleNav
s and left-sideEuiFlyout
s (#6422) - Fix bug in
EuiCard
where footer were not aligned to the bottom of the card (#6424) - Fixed multiple component media queries for consumers with custom theme breakpoints (#6431)
v70.3.0
EuiSearchBar
now automatically wraps special characters not used by query syntax in quotes (#6356)- Added
alignment
prop toEuiBetaBadge
(#6361) EuiButton
now acceptsminWidth={false}
(#6373)
Bug fixes
- Fixed
EuiPageTemplate
not correctly passing thecomponent
prop to the inner main content wrapper. (#6352) EuiSkipLink
now correctly callsonClick
even whenfallbackDestination
is invalid (#6355)- Permanently fixed
EuiModal
to not cause scroll-jumping issues on modal open (#6360) - Re-fixed
EuiPageSection
not correctly mergingcontentProps.css
(#6365) - Fixed
EuiTab
not defaulting to sizem
(#6366) - Fixed the shadow sizes of
.eui-yScrollWithShadows
and.eui-xScrollWithShadows
(#6374) - Fixed bug in
EuiCard
where the inner content in vertical cards was not growing 100% in width (#6377) - Fixed incorrect margins in
EuiSuperDatePicker
caused byEuiFlex
CSS gap change (#6380) - Fixed visual bug in nested
EuiFlexGroup
s, where the parentEuiFlexGroup
is responsive but a childEuiFlexGroup
is not (#6381)
CSS-in-JS conversions
- Converted
EuiModal
to Emotion (#6321)
Fixes
v70.2.0
- Added a keyboard shortcuts popover to
EuiDataGrid
's toolbar. This can be visually hidden viatoolbarVisibility.showKeyboardShortcuts
, but will always remain accessible to keyboard and screen reader users. (#6036) EuiScreenReaderOnly
'sshowOnFocus
prop now also shows on focus within its children (#6036)- Added
onFocus
prop callback toEuiSuperDatePicker
(#6320)
Bug fixes
- Fixed
EuiSelectable
to ensure the full options list is re-displayed when the search bar is controlled and cleared usingsearchProps.value
(#6317) - Fixed incorrect padding on
xl
-sizedEuiTabs
(#6336) - Fixed
EuiCard
not correctly mergingcss
on its childicon
s (#6341) - Fixed
EuiCheckableCard
not settingcss
on the correct DOM node (#6341) - Fixed a webkit rendering issue with
EuiModal
s containingEuiBasicTable
s tall enough to scroll (#6343) - Fixed bug in
to_initials
that truncates custom initials (#6346) - Fix bug in
EuiCard
where layout breaks whenhorizontal
andselectable
are both passed (#6348)