-
Notifications
You must be signed in to change notification settings - Fork 2
Migrate Kyper ChevronRight Icon to MXUI #357
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
base: cmwimo/CT-2388
Are you sure you want to change the base?
Changes from all commits
f1dca52
21a7405
16fa4e1
5aacf82
01db118
f2eb7fc
853fc68
17a058d
bbd364e
c018a40
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,8 +3,7 @@ import { useSelector } from 'react-redux' | |
| import PropTypes from 'prop-types' | ||
|
|
||
| import { useTokens } from '@kyper/tokenprovider' | ||
| import { Text } from '@mxenabled/mxui' | ||
| import { ChevronRight } from '@kyper/icon/ChevronRight' | ||
| import { Icon, Text } from '@mxenabled/mxui' | ||
| import { Link } from '@mui/material' | ||
|
|
||
| import { selectConnectConfig } from 'src/redux/reducers/configSlice' | ||
|
|
@@ -97,7 +96,7 @@ export const DataRequested = (props) => { | |
| style={styles.link} | ||
| > | ||
| {__('Other available data')} | ||
| <ChevronRight style={styles.chevron} /> | ||
| <Icon name="chevron_right" size={16} sx={{ ml: 0.5 }} /> | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Stacks for spacing |
||
| </Link> | ||
| </SlideDown> | ||
| </Fragment> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,11 +3,10 @@ import { useSelector } from 'react-redux' | |
| import PropTypes from 'prop-types' | ||
|
|
||
| import { useTokens } from '@kyper/tokenprovider' | ||
| import { Text } from '@mxenabled/mxui' | ||
| import { Icon, Text } from '@mxenabled/mxui' | ||
| import { Link as LinkIcon } from '@kyper/icon/Link' | ||
| import { Lock } from '@kyper/icon/Lock' | ||
| import { InfoOutline } from '@kyper/icon/InfoOutline' | ||
| import { ChevronRight } from '@kyper/icon/ChevronRight' | ||
| import { Link, Stack } from '@mui/material' | ||
|
|
||
| import { PageviewInfo } from 'src/const/Analytics' | ||
|
|
@@ -176,7 +175,7 @@ export const DisclosureInterstitial = React.forwardRef((props, interstitialNavRe | |
| variant="ParagraphSmall" | ||
| > | ||
| {__('Data requested')} | ||
| <ChevronRight style={styles.chevron} /> | ||
| <Icon name="chevron_right" size={16} sx={{ marginLeft: 0.5 }} /> | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Stacks for spacing |
||
| </Link> | ||
| <Link | ||
| data-test="privacy-policy-button" | ||
|
|
@@ -198,7 +197,7 @@ export const DisclosureInterstitial = React.forwardRef((props, interstitialNavRe | |
| > | ||
| {_p('connect/disclosure/policy/link', 'MX Privacy Policy')} | ||
|
|
||
| <ChevronRight style={styles.chevron} /> | ||
| <Icon name="chevron_right" size={16} sx={{ marginLeft: 0.5 }} /> | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Stacks for spacing |
||
| </Link> | ||
| </Stack> | ||
| </Fragment> | ||
|
|
@@ -246,7 +245,6 @@ const getStyles = (tokens) => { | |
| marginTop: tokens.Spacing.Medium, | ||
| width: 'fit-content', | ||
| }, | ||
| chevron: { marginLeft: '13.02px' }, | ||
| } | ||
| } | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| import React from 'react' | ||
|
|
||
| import { useTokens } from '@kyper/tokenprovider' | ||
| import { ChevronRight } from '@kyper/icon/ChevronRight' | ||
| import { Icon } from '@mxenabled/mxui' | ||
| import PropTypes from 'prop-types' | ||
|
|
||
| import { Button } from '@mui/material' | ||
|
|
@@ -21,7 +21,7 @@ const PoweredByMX = ({ onClick }) => { | |
| variant="text" | ||
| > | ||
| <PoweredByMXText /> | ||
| <ChevronRight style={styles.chevron} /> | ||
| <Icon name="chevron_right" size={24} sx={{ marginLeft: '6px' }} /> | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Stacks for spacing |
||
| </Button> | ||
| ) | ||
| } | ||
|
|
@@ -36,7 +36,6 @@ const getStyles = () => { | |
| display: 'flex', | ||
| flexDirection: 'row', | ||
| }, | ||
| chevron: { marginLeft: 4 }, | ||
| } | ||
| } | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we are choosing to change this, then shouldn't we change it at the MXUI level? @platypus801