Skip to content

Commit

Permalink
Merge branch 'elastic:main' into new-chat-icon
Browse files Browse the repository at this point in the history
  • Loading branch information
boriskirov authored Feb 16, 2024
2 parents e1293bc + 47ab766 commit 49e11d9
Show file tree
Hide file tree
Showing 66 changed files with 1,593 additions and 987 deletions.
31 changes: 31 additions & 0 deletions changelogs/CHANGELOG_2024.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
## [`v93.1.1`](https://github.com/elastic/eui/releases/v93.2.0)

**This is a patch release primarily intended for use by Kibana.**

- Added top-level `EuiTreeView.Item` export ([#7526](https://github.com/elastic/eui/pull/7526))

## [`v93.1.0`](https://github.com/elastic/eui/releases/v93.1.0)

- Added `index` glyph to `EuiIcon` ([#7498](https://github.com/elastic/eui/pull/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](https://github.com/elastic/eui/pull/7496))
- Updated `EuiContextMenu` with a new `panels.items.renderItem` property, which allows rendering completely custom items next to standard `EuiContextMenuItem` objects ([#7510](https://github.com/elastic/eui/pull/7510))
- `EuiSuperDatePicker` updates:
- Updated `EuiSuperDatePicker` with a new `refreshIntervalUnits` prop. Passing this prop allows controlling and overriding the default unit rounding behavior. ([#7501](https://github.com/elastic/eui/pull/7501))
- Updated `EuiAutoRefresh` and `EuiRefreshInterval` with a new `intervalUnits` prop. Passing this prop allows controlling and overriding the default unit rounding behavior. ([#7501](https://github.com/elastic/eui/pull/7501))
- Updated `onRefreshChange` to pass back a new `intervalUnits` key that contains the current interval unit format (seconds, minutes, or hours). ([#7501](https://github.com/elastic/eui/pull/7501))
- 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](https://github.com/elastic/eui/pull/7502))
- Updated `EuiSuperDatePicker` with a new `refreshMinInterval` prop, which accepts a minimum number in milliseconds ([#7516](https://github.com/elastic/eui/pull/7516))
- Updated `EuiAutoRefresh` and `EuiRefreshInterval` with a new `minInterval` prop, which accepts a minimum number in milliseconds ([#7516](https://github.com/elastic/eui/pull/7516))

**Bug fixes**

- Fixed `EuiHighlight` to not parse `search` strings as regexes ([#7496](https://github.com/elastic/eui/pull/7496))
- Fixed `EuiSuperDatePicker` submit bug when used within `<form>` elements ([#7504](https://github.com/elastic/eui/pull/7504))
- Fixed an `EuiTreeView` bug where `aria-expanded` was being applied to items without expandable children ([#7513](https://github.com/elastic/eui/pull/7513))

**CSS-in-JS conversions**

- Converted `EuiTreeView` to Emotion. Updates as part of the conversion: ([#7513](https://github.com/elastic/eui/pull/7513))
- Removed `.euiTreeView__wrapper` div node
- Enforced consistent `icon` size based on `display` size

## [`v93.0.0`](https://github.com/elastic/eui/releases/v93.0.0)

**Bug fixes**
Expand Down
5 changes: 0 additions & 5 deletions changelogs/upcoming/7496.md

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/upcoming/7498.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/upcoming/7501.md

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/upcoming/7502.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/upcoming/7504.md

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/upcoming/7510.md

This file was deleted.

9 changes: 0 additions & 9 deletions changelogs/upcoming/7513.md

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/upcoming/7516.md

This file was deleted.

1 change: 1 addition & 0 deletions changelogs/upcoming/7520.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Added `diff` glyph to `EuiIcon`
19 changes: 19 additions & 0 deletions changelogs/upcoming/7521.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
- Updated `EuiPageSidebar` and `EuiPageTemplate.Sidebar` with a new `hasEmbellish` prop (defaults to false)

**Bug fixes**

- Fixed `EuiSideNav` not correctly typing the `items` prop as required

**Accessibility**

- Fixed `EuiSideNav` to render a fallback aria-label on mobile toggles if no heading or mobile title exists

**CSS-in-JS conversions**

- Converted `EuiSideNav` to Emotion; Removed the following Sass variables:
- `$euiSideNavEmphasizedBackgroundColor`
- `$euiSideNavRootTextcolor`
- `$euiSideNavBranchTextcolor`
- `$euiSideNavSelectedTextcolor`
- `$euiSideNavDisabledTextcolor`
- Removed the `euiSideNavEmbellish` Sass mixin. Use the new `EuiPageSidebar` `hasEmbellish` prop instead
3 changes: 3 additions & 0 deletions changelogs/upcoming/7525.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**Bug fixes**

- Fixed the `CSS is not defined` bug in `EuiPageTemplate` when rendering in some SSR environments, particularly Next.js v13 and up
3 changes: 3 additions & 0 deletions changelogs/upcoming/7529.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**CSS-in-JS conversions**

- Added a new memoization/performance optimization utility for CSS-in-JS styles
Loading

0 comments on commit 49e11d9

Please sign in to comment.