-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
Needs Design FeedbackNeeds general design feedback.Needs general design feedback.[Package] Components/packages/components/packages/components[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
What problem does this address?
In WordPress core and Gutenberg, a button typically appears red if its action is destructive.
Move Post to Trash (Classic Editor):
On the other hand, in the UI already implemented with DropdownMenuItemV2
components, these action buttons are not red.
Move Post to Trash:
What is your proposed solution?
As far as I know, no option exists to make the DropdownMenuItemV2
color red. I imagine that something like the isDestructive
prop of the button component could be used for these use cases.
Below is a list of the states I would expect.
Default:
Hovered:
Focused:
Metadata
Metadata
Assignees
Labels
Needs Design FeedbackNeeds general design feedback.Needs general design feedback.[Package] Components/packages/components/packages/components[Type] EnhancementA suggestion for improvement.A suggestion for improvement.