Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/eui/changelogs/upcoming/8646.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Update `EuiDataGrid` to use `expand` glyph
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,6 @@ export const euiDataGridCellActionsStyles = (euiThemeContext: UseEuiTheme) => {
}
/* stylelint-enable declaration-no-important */

/* Manually increase the size of the expand cell icon - it's a bit small by default */
&.euiDataGridRowCell__expandCell .euiIcon {
${logicalCSS('width', '120%')}
${logicalCSS('height', '100%')}
}

/* Remove button borders in high contrast mode */
${highContrastModeStyles(euiThemeContext, {
preferred: 'border: none;',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('EuiDataGridCellActions', () => {
aria-hidden="true"
class="euiButtonIcon__icon"
color="inherit"
data-euiicon-type="expandMini"
data-euiicon-type="expand"
/>
</button>
`);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export const EuiDataGridCellActions = ({
data-test-subj="euiDataGridCellExpandButton"
display="fill"
color="primary"
iconSize="m"
iconType="expandMini"
iconSize="s"
iconType="expand"
aria-hidden
onClick={onExpandClick}
title={expandButtonTitle}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,8 @@ export default () => {
<EuiFlexGroup alignItems="center" gutterSize="xs" responsive={false}>
<EuiFlexItem grow={false}>
<EuiToken
iconType="expandMini"
iconSize="s"
iconType="expand"
color="euiColorVis0"
shape="square"
fill="dark"
Expand Down Expand Up @@ -822,7 +823,8 @@ export default () => {
<EuiFlexGroup alignItems="center" gutterSize="xs" responsive={false}>
<EuiFlexItem grow={false}>
<EuiToken
iconType="expandMini"
iconSize="s"
iconType="expand"
color="euiColorVis0"
shape="square"
fill="dark"
Expand Down Expand Up @@ -862,7 +864,8 @@ export default () => {
<EuiFlexGroup alignItems="center" gutterSize="xs" responsive={false}>
<EuiFlexItem grow={false}>
<EuiToken
iconType="expandMini"
iconSize="s"
iconType="expand"
color="euiColorVis0"
shape="square"
fill="dark"
Expand Down