Published by chandlerprall about 2 years ago
EuiPageTemplate
namespaced component that uses context to pass through props (#5768)EuiPageSection
component for easier section stacking (#5768)EuiPageSidebar
component that is an upgrade to EuiPageSideBar
(#5768)bottomBorder
prop to add 'extended'
on EuiPageHeader
(#5768)paddingSize
and restrictWidth
directly on EuiPageHeaderContent
(#5768)data-fixed-headers
attribute to <body>
with the count of fixed EuiHeader
components (#5768)usePortal
prop on EuiBottomBar
to accept EuiPortalProps
(#5768)paddingSize
support by EuiPage
for xl
and xs
sizes (#5768)restrictWidth
default true
style to style
attribute on EuiPage
and EuiPageBody
(#5768)height
parameter to euiYScroll()
, useEuiYScroll
, euiYScrollWithShadows()
, and useEuiYScrollWithShadows
(#5768)repositionOnScroll
directly to EuiPopover
rendered by mobile version of EuiHeaderLinks
(#5768)Bug fixes
breadcrumbs
on EuiPageHeader
when alignItems = 'top'
(#5768)logicalStyle()
to return the same value type as was passed in (instead of converting to string) (#5768)Deprecations
EuiPageTemplate
component and renamed to EuiPageTemplate_Deprecated
(#5768)EuiPageContent
and EuiPageContentBody
in favor of new EuiPageSection
(#5768)EuiPageContent
and renamed to EuiPageContent_Deprecated
(#5768)EuiPageContentBody
and renamed to EuiPageContentBody_Deprecated
(#5768)EuiPageContentHeader
and renamed to EuiPageContentHeader_Deprecated
(#5768)EuiPageContentHeaderSection
and renamed to EuiPageContentHeaderSection_Deprecated
(#5768)EuiPageSideBar
and renamed to EuiPageSideBar_Deprecated
(#5768)Breaking changes
EuiPageHeader
styles when a child of EuiPageBody
(#5768)paddingSize
of EuiPage
from m
to none
(#5768)CSS-in-JS conversion
Published by chandlerprall about 2 years ago
EuiDataGrid
's rowHeightOptions
now contain an optional scrollAnchorRow
property, which enables vertical layout shift compensation when rendering auto
-sized rows. (#6070)waitForEuiToolTipVisible
and waitForEuiToolTipClose
(#6106)Bug fixes
Published by cee-chen about 2 years ago
tokenFile
, tokenSymbol
and tokenRepo
default shapes to square
instead of rectangle
(#6067)EuiGlobalToastList
to be a function component (#6068)useCurrentEuiBreakpoint
hook, which returns the current browser window width as a named EUI breakpoint size (e.g. xl
) (#6079)Bug fixes
EuiCodeBlock
during rerenders (#6077)useIsWithinBreakpoints
hook not correctly respecting consumer theme breakpoint overrides (#6079)CSS-in-JS conversions
EuiBreadcrumbs
and EuiHeaderBreadcrumbs
to Emotion; removed $euiBreadcrumbSpacing
and $euiBreadcrumbTruncateWidth
(#5934)EuiDescriptionList
to Emotion (#5971)EuiToken
to Emotion (#6067)EuiToast
, EuiGlobalToastList
, and EuiGlobalToastListItem
to Emotion (#6068).euiBody-hasPortalContent
styles that used to live in _portal.scss
to Emotion EuiGlobalStyles
(#6075)Published by cee-chen about 2 years ago
ByDataTestSubj
utilities for targeting EUI's data-test-subj
attributes. These can be accessed by importing custom RTL render
and screen
utils from @elastic/eui/lib/test/rtl
. (#6091)waitForEuiPopoverOpen
and waitForEuiPopoverClose
(#6091)Bug fixes
EuiCommentEvent
's children (#6089)Published by cee-chen about 2 years ago
Published by chandlerprall about 2 years ago
EuiText.img
styles to prevent images from growing full width (#5969)EuiImage
's allowFullScreen
screen reader experience (#5969)EuiImage
's full screen mode to use the fullScreenExit
icon (#5969)EuiPopover
's display
prop to accept any CSS display
value (#5977)data-popover-open
attribute to EuiPopover
's panel (#5977)EuiPopover
's box-shadow
to filter
(#5977)logicalSizeCSS
and logicalSizeStyle
for quickly producing width
and height
styles (#5977)EuiDataGrid
column headers (#6034)tokenMetricCounter
and tokenMetricGauge
to EuiToken
(#6064)aria-label
on the EuiAvatar
icon to simplify a11y (#6071)timelineAvatarAriaLabel
to EuiComment
(#6071)Bug fixes
EuiCommentEvent.username
type from ReactNode
to string
(#6071)EuiSelectable
s not correctly highlighting the checked option on initial render (#6072)Breaking changes
EuiImage.className
to be applied to the img
instead of the parent wrapper figure
and added wrapperProps
prop so that consumers can apply props to the figure
element (#5969)EuiPopover
's display
prop value inlineBlock
to inline-block
(#5977)EuiPopover
: Removed false
as an option from initialFocus
(#6044)timelineIcon
on EuiComment
to timelineAvatar
(#6071)CSS-in-JS
EuiImage
to Emotion (#5969)EuiPopover
, EuiPopoverTitle
, EuiPopoverFooter
, EuiInputPopover
(#5977)CSS-in-JS conversions
Published by chandlerprall over 2 years ago
eventIcon
, eventIconAriaLabel
, and eventColor
props to EuiComment
(#6030)EuiComment.actions
type to accept ReactNode[]
(#6030).euiMarkdownEditor
display to flex
to prevent display issues when the markdown editor is inside a EuiComment
(#6030)kbd
's within EuiText
(#6049)keyboard
glyph to EuiIcon
(#6058)Bug fixes
EuiTimelineItem
where className
s were not being applied (#6030)EuiText
children (#6059)Deprecations
EuiIcon
's keyboardShortcut
in favor of keyboard
(#6058)Breaking changes
EuiCommentEvent.username
type from ReactNode
to string
(#6030)EuiCommentList
and EuiComment
to use EuiTimeline
and EuiTimelineItem
respectively. This change makes the EuiCommentList
to be always required (#6030)EuiComment.type
(#6030)CSS-in-JS conversions
EuiComment
to Emotion (#6030)Published by chandlerprall over 2 years ago
EuiDataGrid
's imperative API now exposes the scrollTo
and scrollToItem
APIs of react-window
. (#6042)Bug fixes
EuiDataGrid
's row count/indices announced to screen readers when virtualized (#6033)EuiDataGrid
's current cell row/column position announced to screen readers when sorted and paginated, and also improved column identification and announcement cadence (#6033)EuiContextMenuPanelDescriptor
's width
prop type to correctly reflect that it allows all CSS width values, not just numbers (#6043)EuiSelectable
onChange keyboard events not being correctly passed back on React v16 (#6045)Published by chandlerprall over 2 years ago
cluster
, container
, kubernetesNode
, kubernetesPod
and namespace
glyphs to EuiIcon
(#6001)title
to EuiDataGrid
's column headers, allowing header text to remain visible if truncated due to column widths (#6013)popoverScreenReaderText
prop to EuiPopover
that allows customizing screen reader instructions when a popover first opens (#6017)EuiDataGrid
's column header actions popover to be keyboard navigable via up/down arrow keys (#6017)EuiDataGrid
now accepts a virtualizationOptions.onItemsRendered
callback, as well as virtualizationOptions.className
(#6019)Bug fixes
EuiDataGrid
to ensure that focusedCell maintains it's referential integrity. This ensures that React hooks can use this safely as a dependency. (#6007)EuiDataGrid
column header display on sorted columns with no actions (#6014)EuiPopover
unintentionally passing the offset
prop as an HTML attribute to its div wrapper (#6017)EuiDataGrid
focus/scroll jumping occurring when the first interaction the user had with the grid was the scrollbar(s) (#6018)Published by chandlerprall over 2 years ago
EuiProvider.cache
to enable more granular style insertion (#5853)EuiProvider
(#5853)gutterSize
prop to EuiTimeline
(#5955)onActiveOptionChange
callback to EuiSelectable
(#5978)Bug fixes
EuiTimelineItem
where the vertical line was not showing on the last item when verticalAlign
was set to center
(#5955)logicalCSS()
where the left and right logicalPosition
s were wrong (#5955)EuiComboBox
when an option group contains hundreds of thousands of options (#5976)Breaking changes
component
prop from EuiTimelineItem
, which now defaults to li
. Consequently, a EuiTimeline
(ol
) is required to wrap the timeline items (#5955)CSS-in-JS conversions
EuiStat
to Emotion (#5968)Published by chandlerprall over 2 years ago
color
prop to EuiLoadingSpinner
(#5878)overrideLinkBehavior
prop to EuiSkipLink
for applications that use hash routers (#5957)Bug fixes
EuiSelectableMessage
flex layout when containing multiple children nodes (#5966)CSS-in-JS
EuiFacetGroup
and EuiFacetButton
to Emotion and removed $euiFacetGutterSizes
(#5878)Published by chandlerprall over 2 years ago
cloneElement
prop to EuiTextAlign
and EuiTextColor
(#5895)border
logical properties to the logicalCSS
utility (#5895)euiTheme.font.familySerif
(#5895)isInvalid
and disabled
as top level props on EuiDatePickerRange
(#5918)EuiDatePickerRange
delimiter to a sortRight
icon which is swapped for alert
when isInvalid
(#5918)isInvalid
and disabled
visual states EuiSuperDatePicker
(#5918)EuiSelectable
/EuiSelectableTemplateSitewide
's onChange
prop (#5926)euiTheme.colors.lightestShade
to be slightly less blue and euiTheme.colors.body
to be slightly darker (#5939)euiBackgroundColor()
to accept an optional method
property (#5939)Bug fixes
EuiDatePickerRange
and EuiSuperDatePicker
(#5918)EuiCollapsibleNavGroup
TypeScript error where title
definition was being overridden by an extended div
element (#5935)EuiGlobalToastList
/EuiToast
s disappearing immediately when given an Infinity timeout (#5954)Breaking changes
euiTheme.colors.subdued
to euiTheme.colors.subduedText
(#5895)CSS-in-JS conversions
EuiText
, EuiTextAlign
, and EuiTextColor
, and removed their corresponding CSS modifier classes (#5895)EuiMarkdownFormat
's text size scaling styles (#5895)$euiTextColors
, euiScaleText()
, and $euiTextConstrainedMaxWidth
Sass utilities (#5895)EuiExpression
to Emotion (#5941)Published by thompsongl over 2 years ago
useEuiPaddingCSS()
and useEuiBackgroundColorCSS()
to render css
blocks so consuming components render the key name in the class (#5891)xs
and xl
to EuiPanel
(#5891)Bug fixes
EuiSplitPanel
contained border radius by setting overflow: hidden
(#5891)EuiCallOut
description top margin when only child (#5891)EuiEmptyPrompt
by setting grow=false
on the nested panel (#5907)EuiInMemoryTable
's loading state from shifting layout (#5914)EuiDataGrid
's column sorting drag & drop handles (#5916)EuiMark
's screen reader helpers causing scroll issues in Chrome (#5921)CSS-in-JS conversions
Published by thompsongl over 2 years ago
EuiForm
to use forwardRef
(#5866)(euiTheme, { color? })
order (#5892)euiShadow()
parameters to (euiTheme, size, { color? })
(#5892)Bug fixes
EuiContextMenuPanel
(when used within an EuiPopover
) to correctly return focus to its popover toggle in all scenarios, not just keyboard Escape press (#5880)EuiSelectableTemplateSitewide
to allow re-opening the search popover (if closed via Escape key) via the Enter key (#5886)EuiComboBox
by centering the enter badge in the list options. (#5890)EuiTour
position calculation issues caused by popover width styles (#5897)EuiIcon
from producing console warning in React.StrictMode
(#5899)Breaking changes