v29.20.0
Minor Changes
-
MenuItem, MenuItemLink: Add support for
criticaltone (#855)For destructive actions (e.g. "Delete") you can now provide a
toneprop with a value of"critical".EXAMPLE USAGE
<OverflowMenu label="Options"> <MenuItem tone="critical" onClick={() => {}}> Delete </MenuItem> </OverflowMenu>
Patch Changes
- OverflowMenu, MenuRenderer, MenuItemDivider: Remove horizontal padding (#855)