v64.0.0
- Added
onPositionChange
callback prop toEuiPopover
for when the popover positon changes (#6087) - Added
isDisabled
prop toEuiAccordion
(#6095) - Added
css
prop toCommonProps
interface (#6118) - Added new
useIsWithinMaxBreakpoint
anduseIsWithinMinBreakpoint
service hooks (#6119)
Bug fixes
- Fixed the
steps
prop type foruseEuiTour
to not requireonFinish
(#6087) - Fixed JS breakpoint hooks (
useCurrentEuiBreakpoint
,useIsWithinBreakpoints
, andeuiBreakpoint
) to correctly handle custom theme breakpoint keys (#6111) - Fixed
:first-child/:nth-child
console warnings for consumers not passing in acache
toEuiProvider
(#6126) - Fixed
EuiScreenReaderLive
double announcements on VO whenfocusRegionOnTextChange
is not set (#6133) - Fixed
onBlur
andonFocus
handlers fromEuiDatePickerRange
being incorrectly applied to wrapping element rather than the start/end control datepickers. (#6136) - Fixed missing
data-fixed-headers
property in some layout configurations usingEuiPageTemplate
. (#6140) - Fixed
EuiAspectRatio
sometimes incorrectly inheriting its height from parent containers as opposed to from its aspect ratio (#6141) - Fixed
EuiAspectRatio
to allow customstyle
s to be passed by consumers (#6141) - Fixed
eui.d.ts
containing@testing-library
type definitions (#6142)
Breaking changes
- Removed
getBreakpoint
. UseuseCurrentEuiBreakpoint
instead (#6119) - Removed
BREAKPOINTS
andBREAKPOINT_KEYS
. UseeuiTheme.breakpoint
instead (#6119) - Removed
isWithinBreakpoints
. UseuseIsWithinBreakpoints
instead (#6119) - Removed
isWithinMaxBreakpoint
. UseuseIsWithinMaxBreakpoint
instead (#6119) - Removed
isWithinMinBreakpoint
. UseuseIsWithinMinBreakpoint
instead (#6119) EuiFlyout
now only accepts a named breakpoint size for itspushMinBreakpoint
prop (#6119)EuiCollapsibleNav
now only accepts a named breakpoint size for itsdockedBreakpoint
prop (#6119)@emotion/cache
is now a required peer dependency, alongside@emotion/react
(#6126)
CSS-in-JS conversions
- Converted
EuiTour
to Emotion (#6087)