Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For email actions use the same icon as in Sites #99399

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
__experimentalVStack as VStack,
DropdownMenu,
} from '@wordpress/components';
import { rotateLeft, trash, moreHorizontalMobile } from '@wordpress/icons';
import { rotateLeft, trash, moreVertical } from '@wordpress/icons';
import { useTranslate } from 'i18n-calypso';
import { useState } from 'react';
import { getEmailForwardAddress } from 'calypso/lib/emails';
Expand Down Expand Up @@ -49,7 +49,7 @@ export const ActionsMenu = ( { mailbox }: { mailbox: Mailbox } ) => {
</VStack>
</ConfirmationDialog>
<DropdownMenu
icon={ moreHorizontalMobile }
icon={ moreVertical }
label={ translate( 'More options' ) }
controls={
mailbox.warnings?.length
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { recordTracksEvent } from '@automattic/calypso-analytics';
import { Dialog, MaterialIcon } from '@automattic/components';
import { Icon, moreVertical } from '@wordpress/icons';
import { useTranslate } from 'i18n-calypso';
import PropTypes from 'prop-types';
import { useState } from 'react';
Expand Down Expand Up @@ -312,7 +313,11 @@ const EmailMailboxActionMenu = ( { account, domain, mailbox } ) => {
visible={ removeTitanMailboxDialogVisible }
/>
) }
<EllipsisMenu position="bottom left" className="email-mailbox-action-menu__main">
<EllipsisMenu
position="bottom left"
className="email-mailbox-action-menu__main"
icon={ <Icon icon={ moreVertical } /> }
>
{ menuItems.map(
( {
href,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
import { isDesktop } from '@automattic/viewport';
import { Icon, desktop, mobile, cloudUpload, payment, settings, login } from '@wordpress/icons';
import {
Icon,
desktop,
mobile,
cloudUpload,
payment,
settings,
login,
moreVertical,
} from '@wordpress/icons';
import { useTranslate } from 'i18n-calypso';
import { useCallback } from 'react';
import EllipsisMenu from 'calypso/components/ellipsis-menu';
Expand Down Expand Up @@ -133,6 +142,7 @@ export default function ContextMenu( { className, domain }: Props ) {
className={ className }
popoverClassName={ `${ className }-popover` }
position="bottom"
icon={ <Icon icon={ moreVertical } /> }
>
{ contextMenuOptions.map( ( option, key ) => (
<PopoverMenuItem
Expand Down