Skip to content

Extract RowAction widget; ghost styling in Tree#3439

Merged
dcrjodle merged 1 commit intomainfrom
refactor/row-action-widget
Apr 7, 2026
Merged

Extract RowAction widget; ghost styling in Tree#3439
dcrjodle merged 1 commit intomainfrom
refactor/row-action-widget

Conversation

@dcrjodle
Copy link
Copy Markdown
Collaborator

@dcrjodle dcrjodle commented Apr 7, 2026

Summary

  • Extract action-rendering components (ActionRenderer, ActionButton, ActionButtonItem, ActionDropdown, utils) from dataTables/dataTableRowAction/ into a new standalone widgets/rowAction/ widget
  • Old files re-export from the new location for backwards compatibility — no import breakage
  • Add variant prop ("default" | "ghost") to ActionRenderer and all sub-components
  • TreeItem now passes variant="ghost" for borderless, transparent action buttons that suit tree rows

Test plan

  • tsc --noEmit passes (verified)
  • npm run lint passes (verified)
  • DataTable row actions render unchanged (default variant)
  • Tree row actions render with ghost styling (no border/background, subtle hover)
  • Dropdown actions work in both DataTable and Tree contexts
  • dotnet test --filter FullyQualifiedName~Ivy.Tests.Widgets.DataTable

🤖 Generated with Claude Code

Move action-rendering components (ActionRenderer, ActionButton, ActionButtonItem,
ActionDropdown, utils) from dataTables/dataTableRowAction/ into a new
widgets/rowAction/ widget. Old files re-export from the new location for
backwards compatibility. Add variant prop ("default" | "ghost") to support
ghost-styled buttons in TreeItem rows.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dcrjodle dcrjodle merged commit 00c1d47 into main Apr 7, 2026
11 of 13 checks passed
@artem-ivy-ai
Copy link
Copy Markdown
Collaborator

Staging removed

Staging environment has been deleted for this PR.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants