Aggregate fast follows (1) (#9233)
Some fixes required: - [Aggregate value should not disappear when dropdown is open](https://discord.com/channels/1130383047699738754/1319328950475817001/1319328950475817001) - [Delay the apparition of the tooltip on kanban](https://discord.com/channels/1130383047699738754/1319327824632352860/1319327824632352860) - [Group options in sub-menus](https://discord.com/channels/1130383047699738754/1319326443951362059/1319326443951362059)  - Display the currently selected option with a checkmark  - [Loading -> Aggregates should appear at the same time that records, not before](https://discord.com/channels/1130383047699738754/1319329819749646456/1319329899630301318)
This commit is contained in:
@ -25,6 +25,7 @@ export type MenuItemProps = {
|
||||
isIconDisplayedOnHoverOnly?: boolean;
|
||||
isTooltipOpen?: boolean;
|
||||
LeftIcon?: IconComponent | null;
|
||||
RightIcon?: IconComponent | null;
|
||||
onClick?: (event: MouseEvent<HTMLDivElement>) => void;
|
||||
onMouseEnter?: (event: MouseEvent<HTMLDivElement>) => void;
|
||||
onMouseLeave?: (event: MouseEvent<HTMLDivElement>) => void;
|
||||
@ -40,6 +41,7 @@ export const MenuItem = ({
|
||||
iconButtons,
|
||||
isIconDisplayedOnHoverOnly = true,
|
||||
LeftIcon,
|
||||
RightIcon,
|
||||
onClick,
|
||||
onMouseEnter,
|
||||
onMouseLeave,
|
||||
@ -81,6 +83,9 @@ export const MenuItem = ({
|
||||
<LightIconButtonGroup iconButtons={iconButtons} size="small" />
|
||||
)}
|
||||
</div>
|
||||
{RightIcon && (
|
||||
<RightIcon size={theme.icon.size.md} stroke={theme.icon.stroke.sm} />
|
||||
)}
|
||||
{hasSubMenu && (
|
||||
<IconChevronRight
|
||||
size={theme.icon.size.sm}
|
||||
|
||||
Reference in New Issue
Block a user