Releases: elastic/eui
Releases · elastic/eui
v114.1.0
- Added an optional
tooltipPropsprop toEuiMarkdownEditorHelpButton(#9546) - Added a warning when non-recommended units are used in
width,minWidthormaxWidthprops on<EuiTableFooterCell>,<EuiTableHeaderCell>,<EuiTableHeaderCellCheckbox>as well as thecolumnsconfiguration on<EuiBasicTable>and<EuiInMemoryTable>(#9540) - Added
transitionBottomInandtransitionBottomOuticons toEuiIcon(#9528)
Bug fixes
- Fixed
EuiFlyoutManageranimation flickering when switching between flyout sessions by removing intermediate transition stages (backgrounding, returning, closing) and limiting opening animations to the initial flyout and first child only (#9514) - Fixed rendering of
EuiTableHeaderMobilewhenresponsiveBreakpoint=falseprop is set (#9531)
v114.0.0
- Fixed the clipping of
EuiFlyoutoverlay mask to the container bounds when thecontainerprop is provided, so the mask no longer covers the full viewport for app-scoped flyouts. (#9512) - Updated
EuiFlyoutto supportpushAnimationprop fortype="overlay"(#9428) - Added
hasAnimationprop onEuiFlyout(replacespushAnimation) (#9428) - Added
hasAnimationprop onEuiOverlayMaskto conditionally add animation styles (#9428) - Added
historyKeyprop (typesymbol) toEuiFlyoutand the flyout manager API to support scoped flyout history. (#9413)- Only flyouts sharing the same
Symbolreference share Back button navigation and history entries; omittinghistoryKeygives each session its own isolated history group. ACTION_CLOSE_ALLnow closes only the current history group rather than all open flyouts.
- Only flyouts sharing the same
Bug fixes
- Fixed
EuiTreeViewexpanded nodes clipping content and causing sibling overlap when children exceed viewport height (#9510) - Fixed
EuiDataGridscroll bouncing back to the focused element in certain cases (#9453) - Fixed support for intraword underscores in
EuiMarkdownFormat(#9408)
Deprecations
- Deprecated
pushAnimationprop onEuiFlyout. UsehasAnimationinstead. (#9428)
Breaking changes
- Removed
severity.assistancecolor token (#9507) - Removed assistance datavis color tokens: (#9507)
vis.euiColorVisAssistancevis.euiColorVis10vis.euiColorVis11vis.euiColorVisText10vis.euiColorVisText11vis.euiColorVisBehindText10vis.euiColorVisBehindText11
- The positional signature of
FlyoutManagerApi.addFlyoutand the flyout store'saddFlyoutnow includeshistoryKeybefore theiconType/minWidtharguments. Call sites that pass arguments positionally must be updated (or switched to named parameters) to account for this new parameter ordering. (#9413)
Accessibility
- Fixed
aria-labelnot being applied toEuiColorPicker's input element (#9436)
@elastic/eui-theme-common v9.0.0
Breaking changes
- Removed type for
severity.assistancecolor token (#9507) - Removed types for assistance datavis color tokens: (#9507)
vis.euiColorVisAssistancevis.euiColorVis10vis.euiColorVis11vis.euiColorVisText10vis.euiColorVisText11vis.euiColorVisBehindText10vis.euiColorVisBehindText11
@elastic/eui-theme-borealis v7.0.0
Breaking changes
- Removed
severity.assistancecolor token (#9507) - Removed assistance datavis color tokens: (#9507)
vis.euiColorVisAssistancevis.euiColorVis10vis.euiColorVis11vis.euiColorVisText10vis.euiColorVisText11vis.euiColorVisBehindText10vis.euiColorVisBehindText11
@elastic/eslint-plugin-eui v2.11.0
- Updated
no-unnamed-interactive-elementto include checkingEuiColorPicker(#9436)
v113.3.0
- Added
colorprop toEuiContextMenuItem, accepting all standard button color values (#9448) - Adjusted lightest color tokens to get a more balanced palette and contrast with content over light backgrounds: (#9432)
blue10/euiColorPrimary10sky10/euiColorNeutral10teal10/euiColorAccentSecondary10pink10/euiColorAccent10green10/euiColorSuccess10yellow10/euiColorWarning10orange10/euiColorRisk10red10/euiColorDanger10purple10/euiColorAssistance10
- Added
flyoutMenuDisplayModeprop toEuiFlyoutto control when the flyout menu renders. Defaults to'auto', which hides the menu bar when it only contains a close button. (#9426) - Added
iconTypesupport toEuiFlyoutManagersessions, allowing icons to be displayed in the flyout history popover (#9412) - Child flyout history in the Flyout Manager: sessions now track a stack of child flyouts (
childHistory) so you can open multiple child flyouts in sequence and navigate back through them (#9409) - Optional
levelargument togoToFlyout(flyoutId, level?)— whenlevelis'child', navigates to a child in the current session's history (e.g. from the history popover); when'main'or omitted, navigates by main session as before (#9409) FlyoutSessionnow includeschildTitle,childIconType, andchildHistoryso the history popover can show child flyout titles and icons and support jumping back to a previous child (#9409)- Back button now pops child history first (returning to the previous child flyout), then pops the current session when no child history remains (#9409)
- Added
filesprop toEuiFilePickerto maintain visual state when re-mounting (#9362)
Bug fixes
- Fixed
DefaultItemAction.colorbeing ignored in the collapsed overflow menu (...popover) ofEuiBasicTable— it now renders with the correct color, matching the expanded inline action view (#9448) - Fixed
EuiSuperDatePicker's time window adding a1msdrift for relative date times (#9434) - Fixed cascade close when child flyouts are rendered as siblings of the main (not nested): closing the main now correctly invokes each child's
onCloseso consumer state and DOM stay in sync and children do not remain visible as orphaned flyouts (#9409)
Deprecations
- Deprecated
hideTitleprop inEuiFlyoutMenuProps. The menu title is now hidden by default for all flyouts. UseEuiFlyoutHeaderfor visible titles instead. (#9502)
v113.2.1
v113.2.0
- Added an optional
stickyoption toEuiBasicTableandEuiInMemoryTableactions columns. This option is currently in beta. (#9430) - Added
minWidthandmaxWidthoptions toEuiBasicTableandEuiInMemoryTablecolumns configuration object (#9422) - Added
minWidthandmaxWidthprops toEuiTableFooterCell,EuiTableHeaderCell,EuiTableHeaderCellCheckboxandEuiTableRowCell(#9422) - Updated the gap between action buttons in
EuiTable,EuiBasicTableandEuiInMemoryTableto4px(#9423) - Updated
EuiBadgehover styles to matchEuiButtonstyles (#9418) - Added
containerprop toEuiFlyoutfor positioning flyouts relative to a container element instead of the viewport, enabling app-scoped flyouts that stay within the container bounds usingposition: fixedand container-derived inline styles (#9377) (#9377) - Added
containertoEuiFlyoutcomponent defaults configuration inEuiProvider(#9377) (#9377) - Added a new optional
scrollableInline(boolean) prop to EuiTable, EuiBasicTable and EuiInMemoryTable that enables horizontal scrolling on overflow (#9416)
Bug fixes
- Fixed resizable flyouts to output percentage-based widths relative to the container or viewport, preventing size drift on resize (#9377) (#9377)
- Fixed resizable flyout clamping to account for sibling flyout widths in side-by-side layout mode (#9377) (#9377)
- Fixed fill-size flyouts incorrectly triggering stacked layout due to combined-width hysteresis deadlock (#9377) (#9377)
Deprecations
- Deprecated
maskPropsonEuiFlyout. Use thecontainerprop to scope flyouts to an application area; whencontaineris provided,maskPropsis ignored. For global (viewport-relative) flyouts, usecontainer={null}(#9377) (#9377) - Deprecated
includeFixedHeadersInFocusTraponEuiFlyout. When using thecontainerprop, useincludeSelectorInFocusTrapto include specific elements (e.g. app headers) in the focus trap instead (#9377) (#9377)
Accessibility
- Improved the accessibility experience of managed flyouts by allowing keyboard navigation between child and parent flyouts. (#9397)
v113.1.0
- Added
data-test-subjattributes toEuiFlyoutMenuelements: back button, history dropdown, and history items. (#9400) - Added new assistance tokens: (#9383)
euiTheme.colors.backgroundFilledAssistanceeuiTheme.colors.backgroundLightAssistanceeuiTheme.colors.backgroundBaseAssistanceeuiTheme.components.buttons.backgroundAssistanceHover,euiTheme.components.buttons.backgroundFilledAssistanceHovereuiTheme.colors.backgroundBaseInteractiveHoverAssistanceeuiTheme.colors.borderStrongAssistanceeuiTheme.colors.borderBaseAssistanceeuiTheme.colors.textAssistanceeuiTheme.colors.vis.euiColorVisAssistanceeuiTheme.colors.severity.assistanceeuiTheme.colors.vis.euiColorVis10euiTheme.colors.vis.euiColorVis11euiTheme.colors.vis.euiColorVisText10euiTheme.colors.vis.euiColorVisText11
- Updated purple color palette shades 30-60 to slightly lighter values (#9383)
Accessibility
- Adds
aria-expandedandaria-controlsto theEuiPopovertrigger button to improve screen reader context (#9381)
@elastic/@elastic/eui-theme-borealis v6.1.0
- Added new assistance tokens: (#9383)
euiTheme.colors.backgroundFilledAssistanceeuiTheme.colors.backgroundLightAssistanceeuiTheme.colors.backgroundBaseAssistanceeuiTheme.components.buttons.backgroundAssistanceHover,euiTheme.components.buttons.backgroundFilledAssistanceHovereuiTheme.colors.backgroundBaseInteractiveHoverAssistanceeuiTheme.colors.borderStrongAssistanceeuiTheme.colors.borderBaseAssistanceeuiTheme.colors.textAssistanceeuiTheme.colors.vis.euiColorVisAssistanceeuiTheme.colors.severity.assistanceeuiTheme.colors.vis.euiColorVis10euiTheme.colors.vis.euiColorVis11euiTheme.colors.vis.euiColorVisText10euiTheme.colors.vis.euiColorVisText11
- Updated purple color palette shades 30-60 to slightly lighter values (#9383)
@elastic/@elastic/eui-theme-common v8.1.0
- Added new assistance tokens: (#9383)
euiTheme.colors.backgroundFilledAssistanceeuiTheme.colors.backgroundLightAssistanceeuiTheme.colors.backgroundBaseAssistanceeuiTheme.components.buttons.backgroundAssistanceHover,euiTheme.components.buttons.backgroundFilledAssistanceHovereuiTheme.colors.backgroundBaseInteractiveHoverAssistanceeuiTheme.colors.borderStrongAssistanceeuiTheme.colors.borderBaseAssistanceeuiTheme.colors.textAssistanceeuiTheme.colors.vis.euiColorVisAssistanceeuiTheme.colors.severity.assistanceeuiTheme.colors.vis.euiColorVis10euiTheme.colors.vis.euiColorVis11euiTheme.colors.vis.euiColorVisText10euiTheme.colors.vis.euiColorVisText11
v113.0.0
- Updated
EuiFlyoutmanager to close all flyouts when a parent flyout is closed. (#9378) - Added
textInkandtextGhostcolor tokens for text and icon colors that should always remain dark or light regardless of color mode. (#9379) - Added
EuiFormAppendandEuiFormPrependcomponents (#9014) - Added support for
type="span"onEuiFormLabelfor visual-only form labels (#9014) - Updated
EuiFormLabelto render aspanif nohtmlForis passed (#9014) - Updated
EuiFormControlLayoutto useEuiFormAppendandEuiFormPrepend(#9014) - Updated
EuiAutoRefreshandEuiColorPickerto useEuiFormPrepend(#9014) - Updated
EuiFormAppend/EuiFormPrependstyling (#9305) - Updated
EuiFormAppend/EuiFormPrependto inheritisDisabledstate fromEuiFormControlLayout(#9305) - Updated
EuiFormControlLayouthover, disabled and readonly styling (#9305) - Updated
EuiFormControlButtonto inheritisDisabled,readOnlyandisInvalidstates fromEuiFormControlLayout(#9305) - Added
iconSideprop onEuiDatePickerRange(#9305) - Updated
EuiSuperDatePickervalid state styling (#9305) - Removed background color transition on
EuiButtonEmpty(other button variants don't have a transition anymore either) (#9305) - Added
isLoadingprop onEuiFormControlButton(#9328) - Updated paddings for
EuiButton,EuiButtonEmpty,EuiFilterButton(#8948) - Updated paddings for
append/prependonEuiFormControlLayout(#8948) - Added optional
scrollContainerRefprop toEuiFlyoutBodyfor accessing the flyout's internal scroll container. (#9373)
Bug fixes
- Updated
EuiColorPickerto ensureidis correctly passed onto the internalEuiFormControlLayout(#9014)
Breaking changes
- Removed
inkandghosttheme tokens. UsetextInk/textGhostfor text and icon colors orplainDark/plainLightfor non-text use cases. (#9379) - Updated
EuiQuickSelectPopoverinEuiSuperDatePickerto useEuiFormPrepend. This results in more restrictedbuttonPropsas they reflectEuiFormPrependinstead of genericEuiButtonEmptyprops. (#9014) - Removed
components.superDatePickerBackgroundSucceestoken (#9305)
v112.3.0
- Added new
servericon. (#9355) - Added
classNamesupport toEuiMarkdownEditor'stoolbarPropsfor custom toolbar styling (#9349) - Updated
EuiFilePickerto use theuploadicon to better indicate uploads. (#9351) - Exported the flyout system store singleton and added an event observer for emitting close session events (#9347)
- Updated
EuiIconto use standard dynamic imports for icon assets, enabling native support for modern bundlers (Rollup, Parcel) and improving initial load performance (#9342)
Bug fixes
- Fixed a potential crash in the flyout system: due to asynchronous state updates and React's batching behavior, it was possible to experience a crash when closing a managed flyout. (#9356)
v112.2.0
- Updated
documentstimelineWithArrowindexOpenindexCloseindexEditindexRuntimeindexSettingsfolderOpenfolderClosekubernetesPodpagesSelectsectionworkflowglyph icons (#9339)
Accessibility
- Fixed
EuiBasicTableandEuiInMemoryTableempty table announcements to include the expectednoItemsMessagecontent (#9341)
v112.1.0
- Updated
timelineicon glyph (#9331) - Updated
EuiContextMenupanels to allow passingdata-test-subj,aria-label,classNameandcssprops (#9323) - Added "zoom in" functionality to time window buttons in
EuiSuperDatePicker(#9325) - Added
displayNametoEuiButton,EuiButtonEmpty,EuiDescriptionListand its sub-components,EuiEmptyPrompt,EuiFlexGrid,EuiFlexItem,EuiIcon,EuiImage,EuiLoadingLogo,EuiPageSection,EuiPageSidebar,EuiPageTemplateand its sub-components andEuiPanel(#9324) - Added
fillprop (defaults tofalse) toEuiBadgecomponent that controls whether the badge should use filled or non-filled (less intense) colors. By default, badges will now render as the non-filled variant. (#9306) - Updated EuiBadge design to have rounded corners and improved paddings (#9302)
Bug fixes
- Fixed non-virtualized
EuiSelectablethrowing SyntaxError when selecting an option (#9326) - Fixed an issue where
pushflyouts in a stacked layout calculated the content offset based on the hidden main flyout's width instead of the visible child flyout's width (#9322)
@elastic/eui-theme-borealis v5.4.0
- Updated
badgeBackgroundcolor token value to equalbackgroundFilledText(#9306)
@elastic/eui-docusaurus-theme v2.2.0
- Added
extraFilesprop to theDemocomponent. It allows to pass extra files that will be added to the Codesandbox instance. (#9317) - Updated the
IMPORT_REGEXto include relative imports so that all imports are removed from the snippet. All imported references have to be passed toDemoin thescopeprop. (#9317)