v62.1.0
- Updated
tokenFile
,tokenSymbol
andtokenRepo
default shapes tosquare
instead ofrectangle
(#6067) - Updated
EuiGlobalToastList
to be a function component (#6068) - Added new
useCurrentEuiBreakpoint
hook, which returns the current browser window width as a named EUI breakpoint size (e.g.xl
) (#6079)
Bug fixes
- Fixed unintentional subcomponent remounting in
EuiCodeBlock
during rerenders (#6077) - Fixed
useIsWithinBreakpoints
hook not correctly respecting consumer theme breakpoint overrides (#6079)
CSS-in-JS conversions
- Converted
EuiBreadcrumbs
andEuiHeaderBreadcrumbs
to Emotion; removed$euiBreadcrumbSpacing
and$euiBreadcrumbTruncateWidth
(#5934) - Converted
EuiDescriptionList
to Emotion (#5971) - Converted
EuiToken
to Emotion (#6067) - Converted
EuiToast
,EuiGlobalToastList
, andEuiGlobalToastListItem
to Emotion (#6068) - Moved
.euiBody-hasPortalContent
styles that used to live in_portal.scss
to EmotionEuiGlobalStyles
(#6075)