Skip to content

[EuiBasicTable][EuiDataGrid] Quieter default row action colors - #9902

Draft
ryankeairns wants to merge 4 commits into
mainfrom
rk/i-see-you-over-there
Draft

[EuiBasicTable][EuiDataGrid] Quieter default row action colors#9902
ryankeairns wants to merge 4 commits into
mainfrom
rk/i-see-you-over-there

Conversation

@ryankeairns

@ryankeairns ryankeairns commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Related to #9899 (visual refresh) — action/icon quieting only. Does not address transparent row backgrounds / hasBackground (still open on that issue).

  • EuiBasicTable / EuiInMemoryTable: default item action color is now text instead of primary when omitted
  • EuiDataGrid: cell action and expand icons use color="text" + display="empty" instead of primary/fill
  • Explicit color / custom render actions are unchanged

Small blast radius: only surfaces that relied on the previous defaults.

Test plan

  • BasicTable Playground — row actions without color look neutral; explicit primary/danger unchanged
  • DataGrid CellActions / CellExpansionPopover — expand + cell action icons quieter
  • Unit snapshots updated
  • VRT for tabular action stories after Storybook deploy
  • Changelog after PR number (yarn yo-changelog <PR#>)

Made with Cursor

Default table item actions and DataGrid cell/expand icons use text/empty instead of primary/fill so row chrome reads closer to body text. Pass color="primary" (and display="fill" for grid) to restore the previous look.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ryankeairns
ryankeairns requested a review from a team as a code owner August 11, 2026 23:10
Copilot AI lite review requested due to automatic review settings August 11, 2026 23:10
Co-authored-by: Cursor <cursoragent@cursor.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts default table/grid row & cell action icon styling to be visually quieter (closer to body text) as part of the ongoing visual refresh work, while keeping explicitly colored/custom-rendered actions unchanged.

Changes:

  • EuiBasicTable/EuiInMemoryTable: default item action color now falls back to text instead of primary when omitted.
  • EuiDataGrid: hover cell action + expand icons now use color="text" with display="empty" instead of primary/fill.
  • Updated relevant unit snapshots/types documentation to reflect the new defaults.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/eui/src/components/datagrid/body/cell/data_grid_cell_actions.tsx Switches DataGrid hover action/expand button icon presentation to text/empty styling.
packages/eui/src/components/datagrid/body/cell/data_grid_cell_actions.test.tsx Updates inline snapshots for the new button icon classes.
packages/eui/src/components/basic_table/default_item_action.tsx Changes the default action color fallback from primary to text.
packages/eui/src/components/basic_table/action_types.ts Documents the new default color (@default text) for action color fields.
packages/eui/src/components/basic_table/snapshots/expanded_item_actions.test.tsx.snap Updates snapshots for default empty button styling changes.
packages/eui/src/components/basic_table/snapshots/default_item_action.test.tsx.snap Updates snapshots for default action styling changes.
packages/eui/src/components/basic_table/snapshots/basic_table.test.tsx.snap Updates kitchen sink snapshots to match the new default styling.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread packages/eui/src/components/basic_table/default_item_action.tsx
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
28 visual difference(s) found - expand to review, then click Approve visual changes to update baselines

euiheader (2 differences)

StoryBeforeAfterDiff
high contrast mobile
playground mobile

euimodal (2 differences)

StoryBeforeAfterDiff
playground mobile
playground mobile

euipopover (3 differences)

StoryBeforeAfterDiff
high contrast mode desktop
panel padding size desktop
playground desktop

euibreadcrumbs (6 differences)

StoryBeforeAfterDiff
application dark mode mobile
application high contrast dark mobile
application high contrast mobile
application mobile
dark mode mobile
playground mobile

euibasictable (9 differences)

StoryBeforeAfterDiff
dark mode desktop
dark mode mobile
expanded nested table mobile
expanded nested table without background mobile
expanded row mobile
high contrast desktop
high contrast mobile mobile
large expanded row mobile
panelled mobile

euiinmemorytable (1 difference)

StoryBeforeAfterDiff
kitchen sink mobile

euiautosizer (1 difference)

StoryBeforeAfterDiff
playground desktop

euii18n (4 differences)

StoryBeforeAfterDiff
interpolation desktop
multiple token interpolation desktop
multiple tokens desktop
single token desktop

@weronikaolejniczak

Copy link
Copy Markdown
Contributor

😕

Screenshot 2026-08-12 at 16 06 08

We had an issue with our CI image which caused those typography visual diff. I merged in main. I will check the visual regression and update if expected.

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
13 visual difference(s) found - expand to review, then click Approve visual changes to update baselines

euibasictable (9 differences)

StoryBeforeAfterDiff
dark mode desktop
dark mode mobile
expanded nested table mobile
expanded nested table without background mobile
expanded row mobile
high contrast desktop
high contrast mobile mobile
large expanded row mobile
panelled mobile

euidatagrid (3 differences)

StoryBeforeAfterDiff
compact desktop
full screen toggle desktop
full screen toggle mobile

euiinmemorytable (1 difference)

StoryBeforeAfterDiff
kitchen sink mobile

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
12 visual difference(s) found - expand to review, then click Approve visual changes to update baselines

euibasictable (9 differences)

StoryBeforeAfterDiff
dark mode desktop
dark mode mobile
expanded nested table mobile
expanded nested table without background mobile
expanded row mobile
high contrast desktop
high contrast mobile mobile
large expanded row mobile
panelled mobile

euidatagrid (2 differences)

StoryBeforeAfterDiff
full screen toggle desktop
full screen toggle mobile

euiinmemorytable (1 difference)

StoryBeforeAfterDiff
kitchen sink mobile

@ryankeairns
ryankeairns marked this pull request as draft August 12, 2026 14:49
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
67 visual difference(s) found - expand to review, then click Approve visual changes to update baselines

euidescriptionlist (1 difference)

StoryBeforeAfterDiff
playground desktop

euihealth (1 difference)

StoryBeforeAfterDiff
playground desktop

euitimeline (2 differences)

StoryBeforeAfterDiff
high contrast desktop
playground desktop

euitooltip (4 differences)

StoryBeforeAfterDiff
dark mode mobile
high contrast mode mobile
playground mobile
tooltip group mobile

euiform (5 differences)

StoryBeforeAfterDiff
high contrast dark mode desktop
high contrast desktop
kitchensink dark mode desktop
kitchensink desktop
playground desktop

euisearchbar (1 difference)

StoryBeforeAfterDiff
playground desktop

euisuperdatepicker (19 differences)

StoryBeforeAfterDiff
collapsed quick select only desktop
custom quick select panel desktop
custom quick select panel mobile
custom time zone display desktop
custom time zone display mobile
overflowing children desktop
overflowing children mobile
playground desktop
playground mobile
quick select only desktop
quick select only mobile
restricted range desktop
restricted range mobile
time window buttons compressed desktop
time window buttons compressed mobile
time window buttons desktop
time window buttons mobile
time window buttons with zoom in desktop
time window buttons with zoom in mobile

euiflexgrid (1 difference)

StoryBeforeAfterDiff
playground desktop

euiheader (2 differences)

StoryBeforeAfterDiff
high contrast desktop
playground desktop

euimodal (1 difference)

StoryBeforeAfterDiff
playground mobile

euipage (6 differences)

StoryBeforeAfterDiff
legacy children only mobile
playground mobile
responsive false mobile
responsive reverse mobile
truncated right side items mobile
wrapping content mobile

euipanel (4 differences)

StoryBeforeAfterDiff
kitchensink dark mobile
kitchensink mobile
overlapping panels mobile
playground mobile

euibreadcrumbs (6 differences)

StoryBeforeAfterDiff
application dark mode mobile
application high contrast dark mobile
application high contrast mobile
application mobile
dark mode mobile
playground mobile

euisplitbutton (9 differences)

StoryBeforeAfterDiff
dark mode mobile
high contrast mode dark mobile
high contrast mode mobile
kitchen sink mobile
playground mobile
single secondary action mobile
with popover mobile
with tooltip mobile
with wrapping popover mobile

euisteps (1 difference)

StoryBeforeAfterDiff
playground mobile

euidatagrid (1 difference)

StoryBeforeAfterDiff
compact desktop

euitable (2 differences)

StoryBeforeAfterDiff
playground mobile
playground mobile

euiinnertext (1 difference)

StoryBeforeAfterDiff
playground desktop

@infra-vault-gh-plugin-prod

infra-vault-gh-plugin-prod Bot commented Aug 12, 2026

Copy link
Copy Markdown

💔 Build Failed

Failed CI Steps

History

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
69 visual difference(s) found - expand to review, then click Approve visual changes to update baselines

euidescriptionlist (1 difference)

StoryBeforeAfterDiff
playground desktop

euihealth (1 difference)

StoryBeforeAfterDiff
playground desktop

euitimeline (2 differences)

StoryBeforeAfterDiff
high contrast desktop
playground desktop

euitooltip (4 differences)

StoryBeforeAfterDiff
dark mode mobile
high contrast mode mobile
playground mobile
tooltip group mobile

euiform (5 differences)

StoryBeforeAfterDiff
high contrast dark mode desktop
high contrast desktop
kitchensink dark mode desktop
kitchensink desktop
playground desktop

euisearchbar (1 difference)

StoryBeforeAfterDiff
playground desktop

euisuperdatepicker (19 differences)

StoryBeforeAfterDiff
collapsed quick select only desktop
custom quick select panel desktop
custom quick select panel mobile
custom time zone display desktop
custom time zone display mobile
overflowing children desktop
overflowing children mobile
playground desktop
playground mobile
quick select only desktop
quick select only mobile
restricted range desktop
restricted range mobile
time window buttons compressed desktop
time window buttons compressed mobile
time window buttons desktop
time window buttons mobile
time window buttons with zoom in desktop
time window buttons with zoom in mobile

euiflexgrid (1 difference)

StoryBeforeAfterDiff
playground desktop

euiheader (2 differences)

StoryBeforeAfterDiff
high contrast desktop
playground desktop

euimodal (1 difference)

StoryBeforeAfterDiff
playground mobile

euipage (6 differences)

StoryBeforeAfterDiff
legacy children only mobile
playground mobile
responsive false mobile
responsive reverse mobile
truncated right side items mobile
wrapping content mobile

euipanel (4 differences)

StoryBeforeAfterDiff
kitchensink dark mobile
kitchensink mobile
overlapping panels mobile
playground mobile

euibreadcrumbs (6 differences)

StoryBeforeAfterDiff
application dark mode mobile
application high contrast dark mobile
application high contrast mobile
application mobile
dark mode mobile
playground mobile

euisplitbutton (9 differences)

StoryBeforeAfterDiff
dark mode mobile
high contrast mode dark mobile
high contrast mode mobile
kitchen sink mobile
playground mobile
single secondary action mobile
with popover mobile
with tooltip mobile
with wrapping popover mobile

euisteps (1 difference)

StoryBeforeAfterDiff
playground mobile

euidatagrid (3 differences)

StoryBeforeAfterDiff
compact desktop
full screen toggle desktop
no toolbar desktop

euitable (2 differences)

StoryBeforeAfterDiff
playground mobile
playground mobile

euiinnertext (1 difference)

StoryBeforeAfterDiff
playground desktop

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💔 Build Failed

Failed CI Steps

History

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[EuiLink][EuiBasicTable][EuiDataGrid] Quieter interactive elements

4 participants