|
| 1 | +## [`v94.0.0`](https://github.com/elastic/eui/releases/v94.0.0) |
| 2 | + |
| 3 | +- 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](https://github.com/elastic/eui/pull/7625)) |
| 4 | +- Updated `EuiProvider`'s `componentDefaults` prop to allow configuring `EuiTable.responsiveBreakpoint` ([#7625](https://github.com/elastic/eui/pull/7625)) |
| 5 | + |
| 6 | +**Bug fixes** |
| 7 | + |
| 8 | +- `EuiBasicTable` & `EuiInMemoryTable` `isPrimary` actions are now correctly shown on mobile views ([#7640](https://github.com/elastic/eui/pull/7640)) |
| 9 | +- Table `mobileOptions`: ([#7642](https://github.com/elastic/eui/pull/7642)) |
| 10 | + - `mobileOptions.align` is now respected instead of all cells being forced to left alignment |
| 11 | + - `textTruncate` and `textOnly` are now respected even if a `render` function is not passed |
| 12 | + |
| 13 | +**Breaking changes** |
| 14 | + |
| 15 | +- Removed unused `EuiTableHeaderButton` component ([#7621](https://github.com/elastic/eui/pull/7621)) |
| 16 | +- Removed the `responsive` prop from `EuiTable`, `EuiBasicTable`, and `EuiInMemoryTable`. Use the new `responsiveBreakpoint` prop instead ([#7625](https://github.com/elastic/eui/pull/7625)) |
| 17 | +- The following props are no longer needed by `EuiBasicTable` or `EuiInMemoryTable` for responsive table behavior to work correctly, and can be removed: ([#7632](https://github.com/elastic/eui/pull/7632)) |
| 18 | + - `isSelectable` |
| 19 | + - `isExpandable` |
| 20 | + - `hasActions` |
| 21 | +- Removed the `showOnHover` prop from `EuiTableRowCell` / `EuiBasicTable`/`EuiInMemoryTable`'s `columns` API. Use the new actions `columns[].actions[].showOnHover` API instead. ([#7640](https://github.com/elastic/eui/pull/7640)) |
| 22 | +- Removed top-level `textOnly` prop from `EuiBasicTable` and `EuiInMemoryTable`. Use `columns[].textOnly` instead. ([#7642](https://github.com/elastic/eui/pull/7642)) |
| 23 | + |
| 24 | +**DOM changes** |
| 25 | + |
| 26 | +- `EuiTable` mobile headers no longer render in the DOM when not visible (previously rendered with `display: none`). This may affect DOM testing assertions. ([#7625](https://github.com/elastic/eui/pull/7625)) |
| 27 | +- `EuiTableRowCell` now applies passed `className`s to the parent `<td>` element, instead of to the inner cell content `<div>`. ([#7631](https://github.com/elastic/eui/pull/7631)) |
| 28 | +- `EuiTableRow`s rendered by basic and memory tables now only render a `.euiTableRow-isSelectable` className if the selection checkbox is not disabled ([#7632](https://github.com/elastic/eui/pull/7632)) |
| 29 | +- `EuiTableRowCell`s with `textOnly` set to `false` will no longer attempt to apply the `.euiTableCellContent__text` className to child elements. ([#7641](https://github.com/elastic/eui/pull/7641)) |
| 30 | +- `EuiTableRowCell` no longer renders mobile headers to the DOM unless the current table is displaying its responsive view. ([#7642](https://github.com/elastic/eui/pull/7642)) |
| 31 | +- `EuiTableHeaderCell` and `EuiTableRowCell` will no longer render in the DOM at all on mobile if their columns' `mobileOptions.show` is set to `false`. ([#7642](https://github.com/elastic/eui/pull/7642)) |
| 32 | +- `EuiTableHeaderCell` and `EuiTableRowCell` will no longer render in the DOM at all on desktop if their columns' `mobileOptions.only` is set to `true`. ([#7642](https://github.com/elastic/eui/pull/7642)) |
| 33 | + |
| 34 | +**CSS-in-JS conversions** |
| 35 | + |
| 36 | +- Converted `EuiTable`, `EuiTableRow`, `EuiTableRowCell`, and all other table subcomponents to Emotion ([#7654](https://github.com/elastic/eui/pull/7654)) |
| 37 | +- Removed the following `EuiTable` Sass variables: ([#7654](https://github.com/elastic/eui/pull/7654)) |
| 38 | + - `$euiTableCellContentPadding` |
| 39 | + - `$euiTableCellContentPaddingCompressed` |
| 40 | + - `$euiTableCellCheckboxWidth` |
| 41 | + - `$euiTableHoverColor` |
| 42 | + - `$euiTableSelectedColor` |
| 43 | + - `$euiTableHoverSelectedColor` |
| 44 | + - `$euiTableActionsBorderColor` |
| 45 | + - `$euiTableHoverClickableColor` |
| 46 | + - `$euiTableFocusClickableColor` |
| 47 | +- Removed the following `EuiTable` Sass mixins: ([#7654](https://github.com/elastic/eui/pull/7654)) |
| 48 | + - `euiTableActionsBackgroundMobile` |
| 49 | + - `euiTableCellCheckbox` |
| 50 | + - `euiTableCell` |
| 51 | + |
1 | 52 | ## [`v93.6.0`](https://github.com/elastic/eui/releases/v93.6.0)
|
2 | 53 |
|
3 | 54 | - Updated `EuiBreadcrumb` styles to improve visual distinction of clickable breadcrumbs ([#7615](https://github.com/elastic/eui/pull/7615))
|
|
0 commit comments