Skip to content

v93.1.0

Compare
Choose a tag to compare
@cee-chen cee-chen released this 12 Feb 16:41
· 502 commits to main since this release
  • Added index glyph to EuiIcon (#7498)
  • Updated EuiHighlight to accept an array of search strings, which allows highlighting multiple, separate words within its children. This new type and behavior only works if highlightAll is also set to true. (#7496)
  • Updated EuiContextMenu with a new panels.items.renderItem property, which allows rendering completely custom items next to standard EuiContextMenuItem objects (#7510)
  • EuiSuperDatePicker updates:
    • Updated EuiSuperDatePicker with a new canRoundRelativeUnits prop, which defaults to true (current behavior). To preserve displaying the unit that users select for relative time, set this to false. (#7502)
    • Updated EuiSuperDatePicker with a new refreshIntervalUnits prop. Passing this prop allows controlling and overriding the default unit rounding behavior. (#7501)
    • Updated EuiAutoRefresh and EuiRefreshInterval with a new intervalUnits prop. Passing this prop allows controlling and overriding the default unit rounding behavior. (#7501)
    • Updated onRefreshChange to pass back a new intervalUnits key that contains the current interval unit format (seconds, minutes, or hours). (#7501)
    • Updated EuiSuperDatePicker with a new refreshMinInterval prop, which accepts a minimum number in milliseconds (#7516)
    • Updated EuiAutoRefresh and EuiRefreshInterval with a new minInterval prop, which accepts a minimum number in milliseconds (#7516)

Bug fixes

  • Fixed EuiHighlight to not parse search strings as regexes (#7496)
  • Fixed EuiSuperDatePicker submit bug when used within <form> elements (#7504)
  • Fixed an EuiTreeView bug where aria-expanded was being applied to items without expandable children (#7513)

CSS-in-JS conversions

  • Converted EuiTreeView to Emotion. Updates as part of the conversion: (#7513)
    • Removed .euiTreeView__wrapper div node
    • Enforced consistent icon size based on display size