diff --git a/changelogs/upcoming/7343.md b/changelogs/upcoming/7343.md new file mode 100644 index 00000000000..300b86a1098 --- /dev/null +++ b/changelogs/upcoming/7343.md @@ -0,0 +1,6 @@ +- Updated `EuiDataGrid` cell actions to display above cells instead of within them, to avoid content clipping issues +- Updated `EuiDataGrid` cell expansion popovers to sit on top of cells instead of below/next to them + +**Bug fixes** + +- Fixed incorrect `EuiPopover` positioning calculations when `hasArrow` was set to false diff --git a/changelogs/upcoming/7369.md b/changelogs/upcoming/7369.md new file mode 100644 index 00000000000..f23fc30080f --- /dev/null +++ b/changelogs/upcoming/7369.md @@ -0,0 +1,3 @@ +- Added a new `EuiDataGridToolbarControl` subcomponent, which is useful for rendering your own custom `EuiDataGrid` toolbar buttons while matching the look of the default controls +- Updated `EuiDataGrid`'s toolbar controls to show active/current counts in badges, and updated the Columns button icon +- Updated `EuiButtonEmpty` to allow passing `false` to `textProps`, which allows rendering custom button content without an extra text wrapper 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/cypress/support/component-index.html b/cypress/support/component-index.html index ef0d3f7879b..2c3cd4b3d41 100644 --- a/cypress/support/component-index.html +++ b/cypress/support/component-index.html @@ -6,6 +6,7 @@ +
Although any node is allowed, the recommendation is to use{' '}
-
- - - A, column 1, row 1 -
+ 0, A+ - + A, column 1, row 1 +
- - - B, column 2, row 1 -
+ 0, B+ - + B, column 2, row 1 +
- - - A, column 1, row 2 -
+ 1, A+ - + A, column 1, row 2 +
- - - B, column 2, row 2 -
+ 1, B+ - + B, column 2, row 2 +
- - - A, column 1, row 3 -
+ 2, A+ - + A, column 1, row 3 +
- - - B, column 2, row 3 -
+ 2, B+ - + B, column 2, row 3 +
- - - leading, column 1, row 1 -
+ 0+ - + leading, column 1, row 1 +
- - - A, column 2, row 1 -
+ 0, A+ - + A, column 2, row 1 +
- - - B, column 3, row 1 -
+ 0, B+ - + B, column 3, row 1 +
- - - trailing, column 4, row 1 -
+ 0+ - + trailing, column 4, row 1 +
- - - leading, column 1, row 2 -
+ 1+ - + leading, column 1, row 2 +
- - - A, column 2, row 2 -
+ 1, A+ - + A, column 2, row 2 +
- - - B, column 3, row 2 -
+ 1, B+ - + B, column 3, row 2 +
- - - trailing, column 4, row 2 -
+ 1+ - + trailing, column 4, row 2 +
- - - leading, column 1, row 3 -
+ 2+ - + leading, column 1, row 3 +
- - - A, column 2, row 3 -
+ 2, A+ - + A, column 2, row 3 +
- - - B, column 3, row 3 -
+ 2, B+ - + B, column 3, row 3 +
- - - trailing, column 4, row 3 -
+ 2+ - + trailing, column 4, row 3 +
- - - A, column 1, row 1 -
+ 0, A+ - + A, column 1, row 1 +
- - - B, column 2, row 1 -
+ 0, B+ - + B, column 2, row 1 +
- - - A, column 1, row 2 -
+ 1, A+ - + A, column 1, row 2 +
- - - B, column 2, row 2 -
+ 1, B+ - + B, column 2, row 2 +
- - - A, column 1, row 3 -
+ 2, A+ - + A, column 1, row 3 +
- - - B, column 2, row 3 -
+ 2, B+ - + B, column 2, row 3 +
- - - A, column 1, row 1 -
+ 0, A+ - + A, column 1, row 1 +
- - - B, column 2, row 1 -
+ 0, B+ - + B, column 2, row 1 +
- - - A, column 1, row 2 -
+ 1, A+ - + A, column 1, row 2 +
- - - B, column 2, row 2 -
+ 1, B+ - + B, column 2, row 2 +
- - - A, column 1, row 3 -
+ 2, A+ - + A, column 1, row 3 +
- - - B, column 2, row 3 -
+ 2, B+ - + B, column 2, row 3 +
- - - columnA, column 1, row 1 -
+ hello+ - + columnA, column 1, row 1 +
- - - columnB, column 2, row 1 -
+ world+ - + columnB, column 2, row 1 +
- - - columnA, column 1, row 2 -
+ lorem+ - + columnA, column 1, row 2 +
- - - columnB, column 2, row 2 -
+ ipsum+ - + columnB, column 2, row 2 +
- - - columnA, column 1, row 1 -
+ + cell content ++ - + columnA, column 1, row 1 +
- - - columnB, column 2, row 1 -
+ + cell content ++ - + columnB, column 2, row 1 +
- - - someColumn, column 1, row 1 -
+ - + someColumn, column 1, row 1 +
0;
+ const actionsButtonRef = useRef {sortingScreenReaderText}
{sortingScreenReaderText}
diff --git a/src/components/datagrid/controls/__snapshots__/column_selector.test.tsx.snap b/src/components/datagrid/controls/__snapshots__/column_selector.test.tsx.snap
index 7ae7f5af061..c18c44fbb19 100644
--- a/src/components/datagrid/controls/__snapshots__/column_selector.test.tsx.snap
+++ b/src/components/datagrid/controls/__snapshots__/column_selector.test.tsx.snap
@@ -6,7 +6,7 @@ exports[`useDataGridColumnSelector columnSelector [React 16] renders a toolbar b
data-test-subj="dataGridColumnSelectorPopover"
>