Published by cee-chen about 1 year ago
componentDefaults
prop to EuiProvider
, which will allow configuring certain default props globally. This list of components and defaults is still under consideration. (#6923)EuiPortal
's insert
prop can now be configured globally via EuiProvider.componentDefaults
(#6941)EuiFocusTrap
's crossFrame
and gapMode
props can now be configured globally via EuiProvider.componentDefaults
(#6942)EuiTablePagination
's itemsPerPage
, itemsPerPageOptions
, and showPerPageOptions
props can now be configured globally via EuiProvider.componentDefaults
(#6951)EuiBasicTable
, EuiInMemoryTable
, and EuiDataGrid
now allow pagination.pageSize
to be undefined. If undefined, pageSize
defaults to EuiTablePagination
's itemsPerPage
component default. (#6993)EuiBasicTable
, EuiInMemoryTable
, and EuiDataGrid
's pagination.pageSizeOptions
will now fall back to EuiTablePagination
's itemsPerPageOptions
component default. (#6993)EuiHeaderLinks
's gutterSize
spacings (#7005)EuiHeaderAlert
's stacking styles (#7005)toolTipProps
to EuiListGroupItem
that allows customizing item tooltips. (#7018)EuiBreadcrumbs
to support breadcrumbs that toggle popovers via popoverContent
and popoverProps
(#7031)EuiSteps
and EuiStepsHorizontal
to meet WCAG AA guidelines. (#7032)EuiSteps
and EuiStepsHorizontal
to highlight and provide a more clear visual indication of the current step (#7048)Bug fixes
<EuiHeaderSectionItem side="right" />
now align right as expected without needing a previous side="left"
sibling. (#7005)EuiPageTemplate
now correctly displays panelled={true}
(#7044)Breaking changes
EuiTablePagination
's default itemsPerPage
is now 10
(was previously 50
). This can be configured through EuiProvider.componentDefaults
. (#6993)EuiTablePagination
's default itemsPerPageOptions
is now [10, 25, 50]
(was previously [10, 20, 50, 100]
). This can be configured through EuiProvider.componentDefaults
. (#6993)border
prop from EuiHeaderSectionItem
(unused since Amsterdam theme) (#7005)borders
object configuration from EuiHeader.sections
(#7005)CSS-in-JS conversions
EuiHeaderAlert
to Emotion; Removed unused .euiHeaderAlert__dismiss
CSS (#7005)EuiHeaderSection
, EuiHeaderSectionItem
, and EuiHeaderSectionItemButton
to Emotion (#7005)EuiHeaderLinks
and EuiHeaderLink
to Emotion; Removed $euiHeaderLinksGutterSizes
Sass variables (#7005)$euiHeaderBackgroundColor
Sass variable; use $euiColorEmptyShade
instead (#7005)$euiHeaderChildSize
Sass variable; use $euiSizeXXL
instead (#7005)Published by 1Copenut about 1 year ago
Deprecations
euiPaletteComplimentary
; Use euiPaletteComplementary
instead. (#6992)Breaking changes
react-beautiful-dnd
to its fork @hello-pangea/dnd
(#7012) (#7012)
<EuiDragDropContext>
, <EuiDroppable>
and <EuiDraggable>
with no direct imports from react-beautiful-dnd
. In case you were importing things from react-beautiful-dnd
and using them together with EUI components, you need to switch to @hello-pangea/dnd
which has cross-compatible APIPublished by breehall about 1 year ago
EuiComboBox
's options
to accept option.append
and option.prepend
props (#6953).substr()
usages to .substring()
(#6954)EuiInlineEdit
's read mode button to include a title tooltip, increasing readability of truncated text (#6966)Bug fixes
EuiFilterGroup
's responsive styles (#6983)Deprecations
EuiFilterSelectItem
; Use EuiSelectable
instead (#6982)CSS-in-JS conversions
EuiFilterSelectItem
to Emotion (#6982).euiFilterSelect__items
CSS; Use EuiSelectable
instead (#6982).euiFilterSelect__note
and .euiFilterSelect__noteContent
CSS; Use EuiSelectableMessage
instead (#6982)focus.transparency
and focus.backgroundColor
theme tokens (#6984)Published by tkajtoch over 1 year ago
EuiThemeProvider
to set an Emotion theme context that returns the values of useEuiTheme()
(#6913)size
prop to EuiStepsHorizontal
, defaulting to the previous size of m
(#6928)s
sizing to EuiStepsHorizontal
(#6928)at
and key
icon glyphs. (#6934)cloneElementWithCss
Emotion utility (#6939)EuiPopover
to allow consumer control of all focusTrapProps
(#6955)Bug fixes
EuiDataGrid
height calculation bug when browser zoom levels are not 100% (#6895)EuiTab
not correctly passing selection color state to prepend
and append
children (#6938)EuiInputPopover
to allow consumer control of its focus trap via focusTrapProps
(#6955)Breaking changes
EuiProvider
will no longer render multiple or duplicate nested instances of itself. If a nested EuiProvider
is detected, that instance will return early without further processing, and will warn if configured to do so via setEuiDevProviderWarning
. For nested theming, use EuiThemeProvider
instead. (#6949)onTrapDeactivation
prop from EuiPopover
. Use focusTrapProps.onDeactivation
instead (#6955)CSS-in-JS conversions
EuiFilterGroup
and EuiFilterButton
to Emotion; Removed styles attached to .euiFilterGroup__popoverPanel
(#6957)Published by cee-chen over 1 year ago
EuiDualRange
's minInputProps
and maxInputProps
to support passing more props to underlying inputs (#6902)EuiFocusTrap
now supports configuring cross-iframe focus trapping via the crossFrame
prop (#6908)Bug fixes
EuiFilterButton
icon display (#6900)EuiCombobox
compressed plain text display (#6910)EuiResizablePanel
s (#6926)Breaking changes
EuiFocusTrap
now defaults to not trapping focus across iframes (#6908)Published by 1Copenut over 1 year ago
Bug fixes
EuiDataGrid
s, where cell actions on hover would overlap instead of pushing content to the left (#6881)EuiButton
not correctly merging in passed className
s with its base .euiButton
class (#6887)EuiIcon
not correctly passing the style
prop custom img
icons (#6888)buttonProps
, iconProps
, etc.) unsetting EUI's Emotion styling if custom css
was passed to the child props object (#6896)CSS-in-JS conversions
Published by breehall over 1 year ago
EuiNotificationBadge
(#6864)badgeColor
prop to EuiFilterButton
(#6864)EuiBadge
to use CSS-in-JS for named colors instead of inline styles. Custom colors will still use inline styles. (#6864)CSS-in-JS conversions
EuiButtonGroup
and EuiButtonGroupButton
to Emotion (#6841)EuiButtonIcon
to Emotion (#6844)EuiButtonEmpty
to Emotion (#6863)EuiCollapsibleNav
and EuiCollapsibleNavGroup
to Emotion (#6865)$euiCollapsibleNavGroupLightBackgroundColor
, $euiCollapsibleNavGroupDarkBackgroundColor
, and $euiCollapsibleNavGroupDarkHighContrastColor
(#6865)Published by breehall over 1 year ago
Bug fixes
EuiPopover
's types to omit panelProps.hasBorder
and panelProps.hasShadow
- these props are not customizable on popovers for visual consistency (#6836)Breaking changes
EuiRange
& EuiDualRange
no longer have a hard limit of 20 displayed ticks. The component now instead detects the width available, and throws an error if each tick has less than 5 pixels of width. We recommend testing your tick usage at smaller screens to ensure they always display legibly to users. (#6829)Published by cee-chen over 1 year ago
EuiInlineEditText
and EuiInlineEditTitle
components (#6757)EuiDatePickerRange
to support inline
display (#6795)onError
callback prop to EuiErrorBoundary
(#6810)EuiDataGrid
to only render screen reader text announcing cell position if the cell is currently focused. This should improve the ability to copy and paste multiple cells without SR text. (#6817)Bug fixes
EuiDatePicker
's inline
display to correctly render and prevent user interaction when disabled
or readOnly
(#6795)EuiDatePicker
's inline
display to correctly render isInvalid
and isLoading
icons (#6795)CSS-in-JS conversions
EuiDatePickerRange
to Emotion (#6795)Published by 1Copenut over 1 year ago
options.checked
to "mixed" in EuiSelectable
(#6774)Bug fixes
EuiPopover
, EuiModal
, EuiFlyout
) will correctly inherit text color from its nearest EuiThemeProvider
parent. <EuiText color="default">
is no longer needed. (#6775)Breaking changes
EuiSelectable
no longer renders a data-test-selected
attribute on its list items. Use the aria-checked
property instead (#6774)EuiThemeProvider
s now render a wrapping <span>
element in order to correctly set the inherited text color
of all descendants. <EuiText color="default">
is no longer needed. (#6775)Published by cee-chen over 1 year ago
EuiSelectableTemplateSitewide
to meet WCAG AA guidelines. (#6761)vulnerabilityManagementApp
glyph to EuiIcon
(#6762)logoVulnerabilityManagement
icon to EuiIcon
(#6763)onPanelChange
callback to EuiContextMenu
to provide consumer access to panelId
and direction
. (#6767)Bug fixes
EuiComboBox
so append
and prepend
icon buttons are full height and vertically centered. (#6766)EuiComboBox
s. (#6768)Breaking changes
Published by 1Copenut over 1 year ago
EuiSkeleton
components with new props that allow for more control over screen reader live announcements: announceLoadingStatus
, announceLoadedStatus
, and ariaLiveProps
(#6752)EuiPageHeader
by ensuring the right side menu items come into focus from left to right. (#6753)Breaking changes
EuiLoadingContent
. Use the EuiSkeleton
components instead. (#6754)Published by breehall over 1 year ago
EuiCheckbox
, EuiRadio
, and EuiSwitch
in their unchecked states to meet WCAG AA guidelines. (#6729)*ByTestSubject
custom commands to within()
. RTL utilities can be imported from @elastic/eui/lib/test/rtl
. (#6737)EuiAvatar
to support a new letter casing
prop that allow customizing text capitalization (#6739)EuiFocusTrap
to support the gapMode
prop configuration (now defaults to padding
) (#6744)Bug fixes
EuiSearchBar
's AND/OR semantics between DSL and query string generation (#6717)EuiFieldNumber
's native browser validity detection causing extra unnecessary rerenders (#6741)scrollLock
property on EuiFocusTrap
(and other components using EuiFocusTrap
, such as EuiFlyout
and EuiModal
) to no longer block scrolling on nested portalled content, such as combobox dropdowns (#6744)Breaking changes
EuiAvatar
s with the default user
type will now default to capitalizing all initials in uppercase (#6739)Published by 1Copenut over 1 year ago
EuiFieldNumber
to detect native browser invalid state and show an invalid icon (#6704)EuiRange
and EuiDualRange
when showInput={true}
to account for invalid icons (#6704)isInvalid
styling of EuiDualRange
when showInput="inputWithPopover"
(#6704)EuiFormControlLayoutIcons
to render left icons in expected DOM order (#6705)EuiDatePickerRange
's isInvalid
state to match other range inputs (#6705)EuiSuperDatePicker
's isInvalid
state to match other range inputs (#6705)Bug fixes