Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @elastic/eui to v99 #85

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 8, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@elastic/eui 6.10.9 -> 99.1.0 age adoption passing confidence

Release Notes

elastic/eui (@​elastic/eui)

v99.1.0

Compare Source

  • Updated EuiColorPalettePicker - adds append to EuiColorPalettePickerPaletteProps to support appending custom content to the title (#​8208)
  • Updated font-weight and font-size of EuiBetaBadges to improve legibility (#​8255)
  • Added suppport for titleColor variant warning on EuiStat (#​8278)

v99.0.0

Compare Source

  • Added two new icons: createGenericJob and createGeoJob (#​8248)
  • Added new icon section (#​8261)

Bug fixes

Breaking changes

  • Removed EuiPopover's deprecated hasDragDrop prop. Use usePortal on any child EuiDraggable instead (#​8256)

v98.2.1

Compare Source

  • Updated the EUI theme color values to use a full 6 char hex code format (#​8244)

v98.2.0

Compare Source

  • Added two new icons: contrast and contrastHigh (#​8216)
  • Updated EuiDataGrid content to have a transparent background. (#​8220)

Accessibility

  • When the tooltips components (EuiTooltip, EuiIconTip) are used inside components that handle the Escape key (like EuiFlyout or EuiModal), pressing the Escape key will now only close the tooltip and not the entire wrapping component. (#​8140)
  • Improved the accessibility of EuiCodeBlocks by (#​8195)
    • adding screen reader only labels
    • adding role="dialog" on in fullscreen mode
    • ensuring focus is returned on closing fullscreen mode

v98.1.0

Compare Source

  • Updated EuiBetaBadge with a new warning color variant (#​8177)

Accessibility

  • Ensures autoFocus on EuiSelectableList triggers initial focus (#​8091)
  • Improved the accessibility of EuiSearchBarFilters by: (#​8091)
    • adding a more descriptive aria-label to selection filter buttons
    • ensuring the selection listbox is initially focused when opening a selection popover
  • Improved the accessibility experience of tabs (EuiTab, EuiTabs): tab group is a tab stop and tabs can be traversed with arrow keys. (#​8116)
  • Updated EuiCodeBlock with a new copyAriaLabel prop, which allows setting a custom screen reader label on the copy button. (#​8176)

CSS-in-JS conversions

  • Removed the following global Sass variables: (#​8169)
    • $euiButtonMinWidth
    • $euiDatePickerCalendarWidth
  • Removed the following Sass animations: (#​8169)
    • euiAnimFadeIn
    • euiGrow
    • focusRingAnimate
    • focusRingAnimateLarge
    • euiButtonActive
  • Removed the following Sass mixins: (#​8169)
    • euiFullHeight
    • euiSlightShadowHover
    • datePickerArrow

v98.0.0

Compare Source

Bug fixes

  • Fixed an EuiDataGrid bug where column actions where not clickable when EuiDataGrid with columnVisibility.canDragAndDropColumns was used inside a modal (#​8135)

Breaking changes

  • Removed EuiFormRow's deprecated columnCompressedSwitch display prop. Use columnCompressed instead (#​8113)

v97.3.1

Compare Source

Bug fixes

  • Fixed an EuiComboBox bug where Enter keypresses were not working correctly on selection clear buttons (#​8105)
  • Fixed an EuiSuperDatePicker bug where inputs would overflow out of smaller widths instead of truncating (#​8109)
  • Fixed a bug with EuiPageHeader's rightSideItems responsiveness where single items could overflow past the intended max width (#​8110)

v97.3.0

Compare Source

  • EuiDataGrid now supports a new toolbarVisibility.showDisplaySelector.customRender function that allows completely customizing the rendering of the display selector popover (#​8080)
  • EuiDataGrid's row height/lines per row setting has been streamlined in both UI and UX (#​8080)
  • EuiDataGrid now accepts consumer-passed display setting updates even after users have changed their display preferences via UI (#​8080)
  • Updated EuiDataGrid to vertically center all toolbarVisibility.additionalControls nodes (#​8085)
  • Updated EuiDataGrid with a beta rowHeightsOptions.autoBelowLineCount feature flag (#​8096)
  • Updated EuiContextMenuPanel to allow disabling initial focus via initialFocusedItemIndex={-1} (#​8101)

Bug fixes

  • Fixed EuiComment's typing to correctly reflect all accepted props (#​8089)
  • Fixed EuiSelectableTemplateSitewides within dark-themed EuiHeaders missing input borders (#​8100)

v97.2.0

Compare Source

  • Updated EuiHeaderLinks with a new xxs gutter size (#​8079)

Bug fixes

  • Reverted an EuiDataGrid regression from #​8015 which prevented overriding column widths via columns's initialWidths (#​8086)

v97.1.0

Compare Source

  • Added columnVisibility.canDragAndDropColumns on EuiDataGrid which enables reordering columns via draggable header cells (#​8015)
  • Updated EuiHeaders in dark mode to have a visible border-bottom color (#​8070)
  • Added props minDate and maxDate on EuiSuperDatePicker to support restricting date range selections (#​8071)

v97.0.0

Compare Source

Breaking changes

  • EuiDataGrid's custom grid body (rendered via renderCustomGridBody) no longer automatically renders the column header row or footer rows. It instead now passes the headerRow and footerRow React elements, which require manual rendering. (#​8028)
    • This change was made to allow consumers to sync header/footer rows with their own custom virtualization libraries.
    • To facilitate this, a gridWidth prop is now also passed to custom grid body renderers.

Bug fixes

  • Fixed inputs not taking the whole width when passing fullWidth as true to EuiDatePickerRange component (#​8061)

Accessibility

  • Improved accessibility of EuiExternalLinkIcon by clarifying text for Screen Reader users. (#​8065)

v96.1.0

Compare Source

CSS-in-JS conversions

  • Removed the following component-specific Sass mixins: (#​8055)
    • euiButton
    • euiButtonBase
    • euiButtonFocus
    • euiButtonContent
    • euiButtonContentDisabled
    • euiButtonDefaultStyle
    • euiButtonFillStyle
    • euiPanel
    • euiFormControlDefaultShadow
    • euiToolTipTitle

v96.0.0

Compare Source

  • Improved EuiPageHeader/EuiPageTemplate.Header's responsive UX: (#​8044)
    • rightSideItems are no longer pushed to the side by wide tabs content
    • rightSideItems now wrap more responsively at smaller container widths
  • Updated EuiDraggable with a new usePortal prop. (#​8048)
    • This prop portals the dragged element to the body, allowing it to escape stacking contexts which prevents buggy drag positioning in e.g. popovers, modals, and flyouts.

Bug fixes

  • Fixed EuiProvider's system color mode detection causing errors during server-side rendering (#​8040)
  • Fixed an EuiDataGrid rendering bug that was causing bouncing scrollbar issues (#​8041)
  • Fixed EuiSearchBox skips input when running with React 18 in Legacy Mode (#​8047)

Deprecations

  • Deprecated EuiPopover's hasDragDrop prop. Use EuiDraggable's new usePortal prop instead. (#​8048)

Breaking changes

  • Removed the following exported .css files: (#​8045)
    • @elastic/eui/dist/eui_theme_light.css
    • @elastic/eui/dist/eui_theme_light.min.css
    • @elastic/eui/dist/eui_theme_dark.css
    • @elastic/eui/dist/eui_theme_dark.min.css
  • All EUI components are now on CSS-in-JS. A CSS file/import in consuming applications is no longer needed, and is safe to remove. (#​8045)
  • Removed all src/theme/legacy Sass exports (#​8054)

CSS-in-JS conversions

  • Removed the following component-specific Sass variables: (#​8031)
    • $euiButtonColorDisabled
    • $euiButtonColorDisabledText
    • $euiButtonColorGhostDisabled
    • $euiButtonFontWeight
    • $euiFormControlIconSizes
    • $euiFormControlLayoutGroupInputHeight
    • $euiFormControlLayoutGroupInputCompressedHeight
    • $euiFormControlLayoutGroupInputCompressedBorderRadius
    • $euiPageSidebarMinWidth
    • $euiPageDefaultMaxWidth
    • $euiPanelPaddingModifiers
    • $euiPanelBorderRadiusModifiers
    • $euiPanelBackgroundColorModifiers
    • $euiRangeTrackColor
    • $euiRangeHighlightColor
    • $euiRangeThumbHeight
    • $euiRangeThumbWidth
    • $euiRangeThumbBorderColor
    • $euiRangeThumbBackgroundColor
    • $euiRangeTrackWidth
    • $euiRangeTrackHeight
    • $euiRangeTrackCompressedHeight
    • $euiRangeTrackBorderWidth
    • $euiRangeTrackBorderColor
    • $euiRangeTrackRadius
    • $euiRangeDisabledOpacity
    • $euiRangeHighlightHeight
    • $euiRangeHighlightCompressedHeight
    • $euiRangeHeight
    • $euiRangeCompressedHeight
    • $euiTooltipAnimations
    • $euiTooltipBackgroundColor
    • $euiTooltipBorderColor
  • Removed the following Sass mixins due to low external usage: (#​8031)
    • euiHoverState
    • euiFocusState
    • euiDisabledState
    • euiInteractiveStates
    • euiFormControlStyle
    • euiFormControlStyleCompressed
    • euiFormControlFocusStyle
    • euiFormControlInvalidStyle
    • euiFormControlDisabledTextStyle
    • euiFormControlDisabledStyle
    • euiFormControlReadOnlyStyle
    • euiFormControlText
    • euiFormControlSize
    • euiFormControlGradient
    • euiFormControlLayoutPadding
    • euiFormControlWithIcon
    • euiFormControlIsLoading
    • euiFormControlSideBorderRadius
    • euiPlaceholderPerBrowser
    • euiHiddenSelectableInput
    • euiLink
    • euiLoadingSpinnerBorderColors
    • euiRangeTrackSize
    • euiRangeTrackPerBrowser
    • euiRangeThumbBorder
    • euiRangeThumbBoxShadow
    • euiRangeThumbFocusBoxShadow
    • euiRangeThumbStyle
    • euiRangeThumbPerBrowser
    • euiRangeThumbFocus
    • euiToolTipAnimation

v95.12.0

Compare Source

  • Enhanced EuiDataGrid and EuiBasic/InMemoryTable to clean content newlines/tabs when users copy and paste from their tabular data (#​8019)
  • Updated EuiResizableButton with a new accountForScrollbars prop (#​8021)
  • Updated EuiProvider to inherit from the user's OS/system light/dark mode setting if a colorMode prop has not been passed (#​8026)

Bug fixes

  • Fixed EuiDatePicker's onClear button to not appear when the input is disabled (#​8020)
  • Fixed several EuiDataGrid row height bugs: (#​8025)
    • Fixed row heights not recalculating when rowHeightOptions.lineHeight, gridStyles.fontSize, or gridStyles.cellPadding changed
    • Fixed incorrect height calculations for rowHeightOptions.rowHeights with lineCounts
    • Fixed control column content to align better with multi-line row heights, as well as custom line-heights

v95.11.0

Compare Source

  • Updated EuiText, EuiTextColor, and EuiTextAlign with a new component prop that allows changing the default rendered <div> wrapper to a <span> or <p> tag. (#​7993)
  • Updated EuiDataGrid's cell actions to always consistently be left-aligned, regardless of text content alignment (#​8011)
  • Increased EuiDataGrid's cell actions hover zone to reduce UX friction when mousing over from the grid cell to its actions (#​8011)

Bug fixes

  • Fixed EuiPopover to correctly inherit from EuiProvider's componentDefaults.EuiPortal.insert (#​8003)
  • Fixed push EuiFlyoutResizables to not potentially block scrollbars on outside content (#​8010)
  • Fixed an EuiDataGrid bug where the setCellProps callback passed by renderCellValue was not correctly applying custom data-test-subjs (#​8011)

Accessibility

  • Updated the EuiBasicTable actions button's aria-label by adding a reference to the current row (#​7994)

CSS-in-JS conversions

  • Converted EuiDataGrid's toolbar controls to Emotion (#​7997)
    • Removed $euiDataGridPopoverMaxHeight
  • Converted EuiDataGrid to Emotion (#​7998)
    • Removed $euiZDataGrid
    • Removed $euiZHeaderBelowDataGrid
  • Converted EuiDataGrid's gridStyles to Emotion; Removed the following Sass variables and mixins: (#​8006)
    • $euiDataGridCellPaddingS
    • $euiDataGridCellPaddingM
    • $euiDataGridCellPaddingL
    • $euiDataGridVerticalBorder
    • $euiDataGridPrefix
    • $euiDataGridStyles
    • @euiDataGridSelector
    • @euiDataGridStyles
  • Converted EuiDataGrid's cell popover, actions, and focus outline to Emotion; Removed the following Sass variables and mixins: (#​8011)
    • $euiZDataGridCellPopover
    • @euiDataGridCellFocus
  • Converted EuiDataGrid's row, header, and footer cells to Emotion; Removed the following Sass variables and mixins: (#​8013)
    • $euiDataGridColumnResizerWidth
    • @euiDataGridRowCell
    • @euiDataGridHeaderCell
    • @euiDataGridFooterCell

v95.10.1

Compare Source

Bug fixes

  • Fixed a visual bug in compact density EuiDataGrids, where the header cell height would increase when the actions button became visible (#​7999)

v95.10.0

Compare Source

  • Updated EuiDataGrid to support interactive header cell content (#​7898)
  • Updated EuiSearchBar's field_value_selection filter type with a new autoSortOptions config, allowing consumers to configure whether or not selected options are automatically sorted to the top of the filter list (#​7958)
  • Updated getDefaultEuiMarkdownPlugins to support the following new default plugin configurations: (#​7985)
    • parsingConfig.linkValidator, which allows configuring allowRelative and allowProtocols
    • parsingConfig.emoji, which allows configuring emoticon parsing
    • processingConfig.linkProps, which allows configuring rendered links with any props that EuiLink accepts
    • See our Markdown plugins documentation for example EuiMarkdownFormat and EuiMarkdownEditor usage
  • Updated EuiDatePicker to support append and prepend nodes in its form control layout (#​7987)

Bug fixes

  • Fixed border rendering bug with inline EuiDatePickers with shadow={false} (#​7987)
  • Fixed EuiSuperSelect's placeholder text color to match other form controls (#​7995)

Accessibility

  • Improved the keyboard navigation and screen reader output for EuiDataGrid header cells (#​7898)

v95.9.0

Compare Source

  • Updated EuiSearchBar's optional box.schema prop with a new recognizedFields configuration. This allows specifying the phrases that will be parsed as field clauses (#​7960)
  • Updated EuiIcon with a new tokenSemanticText glyph (#​7971)
  • Added support for TypeScript 5 (#​7980)

Bug fixes

  • Fixed EuiSelectableTemplateSitewide styles when used within a dark-themed EuiHeader (#​7977)

v95.8.0

Compare Source

  • Updated EuiHeaderLinks's mobile menu to set a slight popover padding by default (#​7961)
    • This can be overridden via popoverProps.panelPaddingSize if needed.
  • Updated EuiHeaderLink to default to a size of s (down from m) (#​7961)

Accessibility

  • Updated the aria-label attribute for the EuiFieldSearch clear button (#​7970)

Bug fixes

  • Fixed a visual bug with <EuiDualRange showInput="inputWithPopover" /> form controls (#​7957)

Deprecations

  • Deprecated EuiFormRow's columnCompressedSwitch display prop. Use columnCompressed instead, which will automatically account for child EuiSwitches (#​7968)
  • Deprecated EuiFormRow's rowCompressed display prop. Use row instead for vertical forms, or centerCompressed for inline forms (#​7968)
  • (Styling) Updated EuiFormRow's hasEmptySpaceLabel prop to no longer attempt to automatically align its content to a vertical center. Use the display="center" prop for that instead (#​7968)

CSS-in-JS conversions

  • Converted EuiFormControlLayout to Emotion (#​7954)
    • Removed .euiFormControlLayout--*icons classNames and --eui-form-control-layout-icons-padding CSS var. Use --euiFormControlRightIconsCount or --euiFormControlLeftIconsCount instead
  • Converted EuiFormLayoutDelimited to Emotion (#​7957)
  • Fixed cloneElementWithCss throwing an error when used multiple times without a key prop (#​7957)
  • Updated cloneElementWithCss utility to support a third argument that allows prepending vs. appending the cloned Emotion css className (#​7957)
  • Removed @euiFormControlLayoutClearIcon Sass mixin (#​7959)
  • Converted EuiDescribedFormGroup to Emotion (#​7964)
  • Converted EuiForm, EuiFormHelpText, and EuiFormErrorText to Emotion (#​7966)
  • Converted EuiFormLabel and EuiFormLegend to Emotion; Removed @euiFormLabel mixin (#​7967)
  • Converted EuiFormRow to Emotion (#​7968)
  • Converted EuiCheckbox to Emotion (#​7969)
  • Converted EuiRadio to Emotion (#​7969)
  • Converted EuiSwitch to Emotion (#​7969)
  • Removed the following Sass variables: (#​7969)
    • $euiFormCustomControlDisabledIconColor
    • $euiFormCustomControlBorderColor
    • $euiRadioSize
    • $euiCheckBoxSize
    • $euiCheckboxBorderRadius
    • $euiSwitchHeight (and compressed/mini variants)
    • $euiSwitchWidth (and compressed/mini variants)
    • $euiSwitchThumbSize (and compressed/mini variants)
    • $euiSwitchIconHeight
    • $euiSwitchOffColor
  • Removed the following Sass mixins: (#​7969)
    • euiIconBackground
    • euiCustomControl
    • euiCustomControlSelected
    • euiCustomControlDisabled
    • euiCustomControlFocused

v95.7.0

Compare Source

CSS-in-JS conversions

  • Converted EuiSelectable to Emotion (#​7940)
    • Removed $euiSelectableListItemBorder
    • Removed $euiSelectableListItemPadding
  • Converted EuiSelectableTemplateSitewide to Emotion (#​7944)
    • Removed $euiSelectableTemplateFocusBackgroundLight
    • Removed $euiSelectableTemplateFocusBackgroundDark
    • Removed $euiSelectableTemplateSitewideTypes
  • Converted EuiComboBox to Emotion (#​7950)

v95.6.0

Compare Source

  • Updated EuiIcon with a new crossInCircle glyph (#​7924)

Bug fixes

  • Fixed EuiEmptyPrompt to correctly collapse and expand responsively when used with custom breakpoints larger than the default xl breakpoint (#​7935)

Accessibility

  • Improved the experience of EuiModal by ensuring nested EuiPopover closes on Escape keypress instead of the modal (#​7939)

CSS-in-JS conversions

  • Converted EuiDatePicker to Emotion (#​7937)
    • Removed $euiDatePickerCalendarWidth
    • Removed $euiDatePickerPadding
    • Removed $euiDatePickerGap
    • Removed $euiDatePickerCalendarColumns
    • Removed $euiDatePickerButtonSize
    • Removed $euiDatePickerMinControlWidth
    • Removed $euiDatePickerMaxControlWidth
    • Removed @mixin datePickerCaret
    • Removed @mixin datePickerArrow

v95.5.0

Compare Source

  • Added minusInSquare and plusInSquare glyphs to EuiIcon. (#​7875)

Bug fixes

  • Fixed EuiSuperDatePicker not correctly passing refreshMinInterval from the quick select popover (#​7905)

CSS-in-JS conversions

  • Converted EuiSuperDatePicker's form control to Emotion; (#​7904)
    • Removed $euiSuperDatePickerWidth
    • Removed $euiSuperDatePickerButtonWidth
    • Removed $euiSuperDatePickerNeedsUpdatingBackgroundColor
    • Removed $euiSuperDatePickerNeedsUpdatingTextColor
    • Removed @euiSuperDatePickerText mixin
  • Converted EuiSuperDatePicker's date popover content to Emotion (#​7908)
  • Converted EuiSuperDatePicker's quick select to Emotion (#​7909)

v95.4.0

Compare Source

  • Added anomalyChart, anomalySwimLane, changePointDetection, fieldStatistics, logPatternAnalysis, logRateAnalysis and singleMetricViewer glyph to EuiIcon (#​7873)

Bug fixes

  • Fixed overlapping content in EuiBasicTable for expanded and selectable table rows (#​7895)
  • Fixed the alignment of EuiBasicTable mobile actions (#​7895)

Accessibility

  • Improved EuiStat's screen reader accessibility (#​7864)

v95.3.0

Compare Source

  • Updated EuiThemeProviders to allow modifying/setting custom breakpoints in nested usage (as opposed to only at the top EuiProvider level) (#​7862)

Bug fixes

  • Fixed a Chrome/Edge CSS mask-image bug that was affecting scroll overflow shadow utilties (#​7855)

CSS-in-JS conversions

  • Converted EuiColorPicker to Emotion; Removed $euiColorPickerWidth (#​7845)
  • Converted EuiColorPickerSwatch to Emotion (#​7853)
  • Converted EuiColorPalettePicker and EuiColorPaletteDisplay to Emotion (#​7854)
    • Removed $euiColorPaletteDisplaySizes
    • Removed @mixin euiColorPaletteInnerBorder
  • Removed $euiColorPickerValueRange0, $euiColorPickerValueRange1, $euiColorPickerSaturationRange0, $euiColorPickerSaturationRange1, and $euiColorPickerIndicatorSize (#​7859)

Accessibility

  • Updated the aria-label attribute for the EuiFilePicker remove file button (#​7860)

v95.2.0

Compare Source

  • Updated EuiContextMenuItemIcon's type definition to explicitly define support for EuiIcon's IconType (#​7804)
  • Updated EuiSteps to support a new titleSize="xxs" style, which outputs the same title font size but smaller unnumbered step indicators (#​7813)
  • Updated EuiStepsHorizontal to support a new size="xs" style, which outputs smaller unnumbered step indicators (#​7813)
  • Updated EuiStepNumber to support new titleSize="none" which omits rendering step numbers, and will only render icons (#​7813)
  • Updated setEuiDevProviderWarning to additionally accept a custom callback function, which warning messages will be passed to (#​7820)
  • Updated EuiIcon to feature updated logoElasticStack logo for referencing Elastic Stack platform (#​7838)
  • Updated EuiIcon to feature updated casesApp design. (#​7840)
  • Updated EuiComboBox to no longer autocomplete searched text when used within forms (#​7842)

CSS-in-JS conversions

  • Converted EuiFilePicker to Emotion; Removed $euiFilePickerTallHeight (#​7833)

v95.1.0

Compare Source

  • Updated the autofill colors of Chrome (and other webkit browsers) to better match EUI's light and dark mode (#​7776)
  • Updated EuiFormControlLayout to automatically pass icon padding affordance down to child inputs (#​7799)

Bug fixes

  • Fixed broken focus/invalid styling on compressed EuiDatePickerRanges (#​7770)

CSS-in-JS conversions

  • Converted EuiFieldText to Emotion (#​7770)
  • Converted EuiFieldNumber to Emotion (#​7802)
  • Converted EuiFieldSearch to Emotion (#​7802)
  • Converted EuiFieldPassword to Emotion (#​7802)
  • Converted EuiTextArea to Emotion (#​7812)
  • Converted EuiSelect to Emotion (#​7812)
  • Converted EuiSuperSelect to Emotion (#​7812)

v95.0.0

Compare Source

  • Added move glyph to EuiIcon (#​7789)
  • Updated EuiBasicTable and EuiInMemoryTables with selection - the header row checkbox will now render an indeterminate state if some (but not all) rows are selected (#​7817)

Bug fixes

  • Fixed an EuiDataGrid visual bug when using lineCount row heights where the clamped text was still visible for some font sizes (#​7793)
  • Fixed EuiSearchBar's filter configs to always respect autoClose: false (#​7806)

Breaking changes

  • Removed deprecated EUI_CHARTS_THEME_DARK, EUI_CHARTS_THEME_LIGHT and EUI_SPARKLINE_THEME_PARTIAL exports (#​7682)
  • Removed deprecated euiPalettePositive and euiPaletteNegative. Use euiPaletteGreen and euiPaletteRed instead (#​7808)
  • Removed type="inList" from EuiCheckbox. Simply omit passing a label prop to render this style of checkbox (#​7814)
  • Removed the unused compressed prop from EuiCheckbox and EuiRadio. This prop was not doing anything on individual components. (#​7818)

CSS-in-JS conversions

  • Converted EuiCheckboxGroup to Emotion (#​7818)
  • Converted EuiRadioGroup to Emotion (#​7818)

v94.6.0

Compare Source

  • Updated EuiComboBox to support rendering option.append and option.prepend in group labels (#​7800)

Accessibility

  • Improved the accessibility experience of EuiBetaBadge (#​7805)

v94.5.2

Compare Source

Bug fixes

  • Fixed EuiDatePicker to more gracefully handle incorrectly formatted selected Moment dates, instead of simply crashing (#​7784)
  • Fixed EuiFlexGroup and EuiFlexItem types to correctly accept global attribute props and simplify type resolution when used with styled()-like wrappers (#​7792)

v94.5.1

Compare Source

Bug fixes

  • Fixed an EuiDualRanges with showInput bug, where min/max values and invalid states were not being correctly set if values were empty strings (#​7767)

Accessibility

  • Improved EuiDatePicker and EuiSuperDatePicker's time selection screen reader UX (#​7726)
  • Improved the accessibility of EuiDatePicker by providing full screen-reader-only week day names to the calendar header (#​7748)
  • Improved EuiBadge's ability to tell when text within the badge is selected/highlighted and selection color contrast (#​7752)

v94.5.0

Compare Source

  • EuiFlyoutResizable now respects size prop updates, allowing for controlled size usage (#​7759)

Bug fixes

  • Restored a removed setTimeout in EuiInputPopover to reduce flaky Cypress failures (#​7760)

Accessibility

  • EuiToolTips can now additionally be dismissed via Escape keypress as well as on focus blur. (#​7751)

v94.4.1

Compare Source

  • Added support for toolTipContent and toolTipProps props on EuiSelectable options (#​7715)
  • Updated EuiSuperDatePicker's absolute tab UX to support setting manual timestamps via mouse click as well as enter key (#​7732)

Bug fixes

  • Fixed issue with unmounted component state updates on requestAnimationFrame for EuiSelectable (#​7715)
  • Fixed EuiMarkdownEditor not disabling the upload dropzone when in readOnly mode (#​7738)
  • Fixed EuiMarkdownEditor not showing an invalid underline on the editor when errors are present (#​7738)

CSS-in-JS conversions

  • Converted EuiMarkdownEditor to Emotion; Removed $euiMarkdownEditorMinHeight (#​7738)
  • Fully converted EuiMarkdownFormat to Emotion (#​7738)

Accessibility

  • Updated EuiCollapsedNavButton with improved context for screen reader navigation (#​7740)

v94.4.0

Compare Source

v94.3.0

Compare Source

  • Updated launch glyph for EuiIcon (#​7670)
  • Updated EuiComboBox's options to support including tooltip details for selectable options. Use toolTipContent to render tooltip information, and toolTipProps to optionally customize the tooltip rendering behavior (#​7700)
  • Updated the following existing glyphs in EuiIcon: (#​7727)
    • error (now an outlined version instead of filled)
    • tokenMetricCounter
    • tokenMetricGauge
  • Added the following new glyphs to EuiIcon: (#​7727)
    • tokenDimension
    • clickLeft
    • clickRight
    • clockCounter
    • errorFilled (the previous error glyph design)
    • warningFilled

Bug fixes

  • Fixed a visual layout bug for EuiComboBox with isLoading in mobile views (#​7700)
  • Fixed missing styles on header cells of EuiDataGrid that prevented content text alignment styles to apply (#​7720)
  • Fixed EuiFlexGroup and EuiFlexItem ref prop typing to support refs of the same type as the passed component type and allow displayName to be defined for easy component naming when using component wrappers like styled() (#​7724)

v94.2.1

Compare Source

Bug fixes

  • Fixed an EuiTabbedContent edge case bug that occurred when updated with a completely different set of tabs (#​7713)
  • Fixed the @storybook/test dependency to be listed in devDependencies and not dependencies (#​7719)

v94.2.0

Compare Source

  • Updated getDefaultEuiMarkdownPlugins() to allow excluding the following plugins in addition to tooltip: (#​7676)
    • checkbox
    • linkValidator
    • lineBreaks
    • emoji
  • Updated EuiSelectable's isPreFiltered prop to allow passing a configuration object, which allows disabling search highlighting in addition to search filtering (#​7683)
  • Updated EuiFlexGroup and EuiFlexItem prop types to support passing any valid React component type to the component prop and ensure proper type checking of the extra props forwarded to the component. (#​7688)
  • Updated EuiSearchBar to allow the @ special character in query string searches (#​7702)
  • Added a new, optional optionMatcher prop to EuiSelectable and EuiComboBox allowing passing a custom option matcher function to these components and controlling option filtering for given search string (#​7709)

Bug fixes

  • Fixed an EuiPageTemplate bug where prop updates would not cascade down to child sections (#​7648)
    • To cascade props down to the sidebar, EuiPageTemplate now explicitly requires using the EuiPageTemplate.Sidebar rather than EuiPageSidebar
  • Fixed EuiFieldNumber's typing to accept an icon configuration shape (#​7666)
  • Fixed EuiFieldText and EuiFieldNumber to render the correct paddings for icon shapes set to side: 'right' (#​7666)
  • Fixed EuiFieldText and EuiFieldNumber to fully ignore icon/prepend/append when controlOnly is set to true (#​7666)
  • Fixed EuiColorPicker's input not setting the correct right padding for the number of icons displayed (#​7666)
  • Visual fixes for EuiRanges with showInput: (#​7678)
    • Longer append/prepend labels no longer cause a background bug
    • Inputs can no longer overwhelm the actual range in width
  • Fixed a visual text alignment regression in EuiTableRowCells with the row header scope (#​7681)
  • Fixed toolTipProps type on EuiSuperUpdateButton to use Partial<EuiToolTipProps> (#​7692)
  • Fixes missing prop type for popperProps on EuiDatePicker (#​7694)
  • Fixed a focus bug with EuiDataGrids with leadingControlColumns when moving columns to the left/right (#​7701) (#​7698)
  • Fixed EuiSuperDatePicker to validate date string with respect of locale on EuiAbsoluteTab. (#​7705)
  • Fixed a visual bug with EuiSuperDatePicker's absolute tab on small mobile screens (#​7708)
  • Fixed i18n of empty and loading state messages for the FieldValueSelectionFilter component (#​7718)

Dependency updates

  • Updated @hello-pangea/dnd to v16.6.0 (#​7599)
  • Updated remark-rehype to v8.1.0 (#​7601)

Accessibility

  • Improved EuiBasicTable and EuiInMemoryTable's selection checkboxes to have unique aria-labels per row (#​7672)
  • Added aria-valuetext attributes to EuiRanges with tick labels for improved screen reader UX (#​7675)
  • Updated EuiAccordion to keep focus on accordion trigger instead of moving to content on click/keypress (#​7696)
  • Added aria-disabled attribute to EuiHorizontalSteps when status is "disabled" (#​7699)

v94.1.0

Compare Source

  • Updated EuiTableHeaderCell to show a subdued sortable icon for columns that are not currently sorted but can be (#​7656)
  • Updated EuiBasicTable and EuiInMemoryTable's columns[].actions[]'s to pass back click events to onClick callbacks as the second callback (#​7667)

v94.0.0

Compare Source

  • Updated EuiTable, EuiBasicTable, and EuiInMemoryTable with a new responsiveBreakpoint prop, which allows customizing the point at which the table collapses into a mobile-friendly view with cards (#​7625)
  • Updated EuiProvider's componentDefaults prop to allow configuring EuiTable.responsiveBreakpoint (#​7625)

Bug fixes

  • EuiBasicTable & EuiInMemoryTable isPrimary actions are now correctly shown on mobile views (#​7640)
  • Table mobileOptions: (#​7642)
    • mobileOptions.align is now respected instead of all cells being forced to left alignment
    • textTruncate and textOnly are now respected even if a render function is not passed

Breaking changes

  • Removed unused EuiTableHeaderButton component (#​7621)
  • Removed the responsive prop from EuiTable, EuiBasicTable, and EuiInMemoryTable. Use the new responsiveBreakpoint prop instead (#​7625)
  • The following props are no longer needed by EuiBasicTable or EuiInMemoryTable for responsive table behavior to work correctly, and can be removed: (#​7632)
    • isSelectable
    • isExpandable
    • hasActions
  • Removed the showOnHover prop from EuiTableRowCell / EuiBasicTable/EuiInMemoryTable's columns API. Use the new actions columns[].actions[].showOnHover API instead. (#​7640)
  • Removed top-level textOnly prop from EuiBasicTable and EuiInMemoryTable. Use columns[].textOnly instead. (#​7642)

DOM changes

  • EuiTable mobile headers no longer render in the DOM when not visible (previously rendered with display: none). This may affect DOM testing assertions. (#​7625)
  • EuiTableRowCell now applies passed classNames to the parent <td> element, instead of to the inner cell content <div>. (#​7631)
  • EuiTableRows rendered by basic and memory tables now only render a .euiTableRow-isSelectable className if the selection checkbox is not disabled (#​7632)
  • EuiTableRowCells with textOnly set to false will no longer attempt to apply the .euiTableCellContent__text className to child elements. (#​7641)
  • EuiTableRowCell no longer renders mobile headers to the DOM unless the current table is displaying its responsive view. (#​7642)
  • EuiTableHeaderCell and EuiTableRowCell will no longer render in the DOM at all on mobile if their columns' mobileOptions.show is set to false. (#​7642)
  • EuiTableHeaderCell and EuiTableRowCell will no longer render in the DOM at all on desktop if their columns' mobileOptions.only is set to true. (#​7642)

CSS-in-JS conversions

  • Converted EuiTable, EuiTableRow, EuiTableRowCell, and all other table subcomponents to Emotion (#​7654)
  • Removed the following EuiTable Sass variables: (#​7654)
    • $euiTableCellContentPadding
    • $euiTableCellContentPaddingCompressed
    • $euiTableCellCheckboxWidth
    • $euiTableHoverColor
    • $euiTableSelectedColor
    • $euiTableHoverSelectedColor
    • $euiTableActionsBorderColor
    • $euiTableHoverClickableColor
    • $euiTableFocusClickableColor
  • Removed the following EuiTable Sass mixins: (#​7654)
    • euiTableActionsBackgroundMobile
    • euiTableCellCheckbox
    • euiTableCell

v93.6.0

Compare Source

  • Updated EuiBreadcrumb styles to improve visual distinction of clickable breadcrumbs (#​7615)

Deprecations

  • Deprecated color prop on EuiBreadcrumb (#​7615)

Bug fixes

  • Fixed EuiComboBox to correctly select full matches within groups via the Enter key (#​7658)

Accessibility

  • Updated EuiHeaderBreadcrumb styles to ensure min. required color contrast (#​7643)
  • EuiSuperSelect now correctly reads out parent EuiFormRow labels to screen readers (#​7650)
  • EuiSuperSelect now more closely mimics native <select> behavior in its keyboard behavior and navigation (#​7650)
  • EuiSuperSelect no longer strands keyboard focus on close (#​7650)
  • EuiSuperSelect now correctly allows keyboard navigating past disabled options in the middle of the options list (#​7650)

v93.5.2

Compare Source

Dependency updates

  • Updated react-virtualized-auto-sizer to 1.0.24 (#​7598)
  • Updated react-window to 1.8.10 (#​7600)

CSS-in-JS conversions

  • Updated EUI's internal style memoization/performance utility to have configurable error/warning levels via setEuiDevProviderWarning (#​7626)

v93.5.1

Compare Source

Bug fixes

  • Fixed unvirtualized EuiSelectables to not cause Jest/jsdom errors on active option change (#​7618)

v93.5.0

Compare Source

  • EuiHeaderLinks now accepts a children render function that will be passed a closeMobilePopover callback, allowing consumers to close the mobile popover by its content (#​7603)
  • Updated EuiSelectable to support scrolling list containers when listProps.isVirtualization is set to false (#​7609)

Bug fixes

  • Fixed EuiIconTip's default aria-label text to be i18n tokenizable (#​7606)
  • Fixed EuiTextArea's CSS box model to no longer render a few extra pixels of strut height (#​7607)

Dependency updates

  • Updated @types/refractor to v3.4.0 (#​7590)
  • Updated @types/lodash to v4.14.202 (#​7591)
  • Removed @types/resize-observer-browser dependency. ResizeObserver types should already be baked in to Typescript as of 4.2+ (#​7592)
  • Updated classnames to v2.5.1 (#​7593)
  • Updated @types/numeral to v2.0.5 (#​7594)
  • Updated @types/react-window to 1.8.8 (#​7597)
  • Updated prop-types to v15.18.1 (#​7602)
  • Removed

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/elastic-eui-99.x branch from 2ed7d86 to 0e0edca Compare January 22, 2025 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants