Skip to content

Migrate Kyper ChevronRight Icon to MXUI - #357

Open
mwclemy wants to merge 2 commits into
cmwimo/CT-2388from
cmwimo/CT-2389
Open

Migrate Kyper ChevronRight Icon to MXUI#357
mwclemy wants to merge 2 commits into
cmwimo/CT-2388from
cmwimo/CT-2389

Conversation

@mwclemy

@mwclemy mwclemy commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Before(Kyper)

Screenshot 2026-07-29 at 13 35 08 Screenshot 2026-07-29 at 13 35 23

After(MXUI)

Screenshot 2026-07-29 at 13 32 06 Screenshot 2026-07-29 at 13 34 07

endIcon={
!institution.is_disabled_by_client && (
<ChevronRight color={tokens.TextColor.Default} height={16} width={16} />
<Icon name="chevron_right" size={16} sx={{ color: tokens.TextColor.Default }} />

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use the material theme colors

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also size needs to be 24px

>
{__('Data requested')}
<ChevronRight style={styles.chevron} />
<Icon name="chevron_right" size={16} sx={{ marginLeft: '13.02px' }} />

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use a stack with spacing

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size 24px

{_p('connect/disclosure/policy/link', 'MX Privacy Policy')}

<ChevronRight style={styles.chevron} />
<Icon name="chevron_right" size={16} sx={{ marginLeft: '13.02px' }} />

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stack with spacing

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size 24px

>
<PoweredByMXText />
<ChevronRight style={styles.chevron} />
<Icon name="chevron_right" size={16} sx={{ marginLeft: 4 }} />

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stack with spacing

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size 24px

{__('Visit website')}
</Link>
<ChevronRight color={tokens.Color.Primary300} />
<Icon name="chevron_right" size={16} sx={{ color: tokens.Color.Primary300 }} />

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Color prop or theme variable

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size 24px

<div style={styles.actionArea}>
<Link onClick={onRefreshClick}>{__('Try again')}</Link>
<ChevronRight color={tokens.Color.Primary300} />
<Icon name="chevron_right" size={16} sx={{ color: tokens.Color.Primary300 }} />

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Color prop or theme variable

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size 24px

<Icon
name="chevron_right"
size={16}
sx={{ color: tokens.TextColor.ButtonLinkTertiary }}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Color prop or theme variable

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size 24px

<Icon
name="chevron_right"
size={16}
sx={{ color: tokens.TextColor.ButtonLinkTertiary }}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Color prop or theme variable

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size 24px

borderType="inset-left"
onClick={selectGeneralSupport}
rightChildren={<ChevronRight />}
rightChildren={<Icon name="chevron_right" size={16} />}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size should be 24px as per designs

>
{__('Other available data')}
<ChevronRight style={styles.chevron} />
<Icon name="chevron_right" size={16} />

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size again

fadeOut(ref.current, 'up', 300).then(props.handleAccountTypeSelect(account_type))
}
rightChildren={<ChevronRight />}
rightChildren={<Icon name="chevron_right" size={16} />}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

size 24px

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.

3 participants