diff --git a/changelogs/upcoming/7371.md b/changelogs/upcoming/7371.md new file mode 100644 index 00000000000..96724c7ec76 --- /dev/null +++ b/changelogs/upcoming/7371.md @@ -0,0 +1,6 @@ +- Updated `EuiDataGrid` column header cells to show the sort arrow after the heading text, instead of before +- Updated `EuiDataGrid`'s column header actions icon from a chevron to `boxesVertical` + +**Bug fixes** + +- Fixed `EuiDataGrid`'s numeric and currency column heading cells to be correctly right-aligned diff --git a/src/components/datagrid/__snapshots__/data_grid.test.tsx.snap b/src/components/datagrid/__snapshots__/data_grid.test.tsx.snap index cf9665dca56..e35c3781496 100644 --- a/src/components/datagrid/__snapshots__/data_grid.test.tsx.snap +++ b/src/components/datagrid/__snapshots__/data_grid.test.tsx.snap @@ -617,12 +617,15 @@ exports[`EuiDataGrid rendering renders additional toolbar controls 1`] = ` > A - + > + +

B - + > + +

A - + > + +

B - + > + +

Column A - + > + +

- + > + +

A - + > + +

B - + > + +

columnA - + > + +

columnB - + > + +

columnA - + > + +

columnB - + > + +

someColumn - + > + +

+

+ {display || displayAsText || id} +
+ {sortingArrow} + + ); + return ( - {sortingArrow} -
- {display || displayAsText || id} -
+ {cellContent} {sortingScreenReaderText && (

{sortingScreenReaderText}

@@ -144,20 +150,15 @@ export const EuiDataGridHeaderCell: FunctionComponent< }} aria-describedby={`${sortingAriaId} ${actionsAriaId}`} > - {sortingArrow} -
- {display || displayAsText || id} + {cellContent} +
+
- } isOpen={isPopoverOpen}