diff --git a/package.json b/package.json index 19b584e19d..8523fbb9bc 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,6 @@ "@kyper/select": "^2.0.0", "@kyper/selectionbox": "^2.1.0", "@kyper/tag": "^3.0.0", - "@kyper/textarea": "^4.1.0", "@kyper/tokenprovider": "^4.0.1", "@kyper/userfeedback": "^2.0.0", "@kyper/utilityrow": "^2.1.0", diff --git a/src/components/DetailReviewItem.js b/src/components/DetailReviewItem.js index 662b2d6dc3..514d387de1 100644 --- a/src/components/DetailReviewItem.js +++ b/src/components/DetailReviewItem.js @@ -18,15 +18,16 @@ export const DetailReviewItem = (props) => { data-test={`${props.label.replace(/\s+/g, '-')}-row`} style={styles.rowHeader} truncate={false} - variant="Small" + variant="body2" > {props.label} {props.value} @@ -64,8 +65,7 @@ const getStyles = (tokens) => ({ rowHeader: { color: tokens.TextColor.InputLabel, }, - bold: { - fontWeight: tokens.FontWeight.Bold, + rowValue: { overflowWrap: 'anywhere', }, editIcon: { diff --git a/src/privacy/components.js b/src/privacy/components.js index f73fca0140..ef88760d9a 100644 --- a/src/privacy/components.js +++ b/src/privacy/components.js @@ -1,4 +1,4 @@ -import { Text } from '@kyper/text' +import {Text} from '@mxenabled/mxui' import { withProtection } from 'src/privacy/withProtection' // Add security to Kyper Components diff --git a/src/privacy/input.ts b/src/privacy/input.ts index 0e36abf1cb..0e0c316534 100644 --- a/src/privacy/input.ts +++ b/src/privacy/input.ts @@ -33,3 +33,4 @@ export { ProtectedUserFeedback as UserFeedback, PASSWORD_VALIDATIONS as PasswordValidations, } + \ No newline at end of file diff --git a/src/views/microdeposits/ComeBack.js b/src/views/microdeposits/ComeBack.js index b301aaa3f3..93800870e3 100644 --- a/src/views/microdeposits/ComeBack.js +++ b/src/views/microdeposits/ComeBack.js @@ -39,15 +39,16 @@ export const ComeBack = ({ microdeposit, onDone }) => { data-test="title-header" style={styles.title} truncate={false} - variant="H2" + variant="h2" > {__('Check back soon')} { /* --TR: Full string "Thanks for submitting your account info. Check back soon! In the next few days you should find two small deposits less than a dollar each in your {accountName} account. When you see them, come back here and enter the amounts." */ diff --git a/src/views/microdeposits/MicrodepositErrors.js b/src/views/microdeposits/MicrodepositErrors.js index f755fda818..bf7d79d378 100644 --- a/src/views/microdeposits/MicrodepositErrors.js +++ b/src/views/microdeposits/MicrodepositErrors.js @@ -99,13 +99,13 @@ export const MicrodepositErrors = ({
- + {getTitle()}
- + {getMessage()} @@ -114,30 +114,30 @@ export const MicrodepositErrors = ({
- + {__('Account type')} - + {accountType ? AccountTypeLabels[accountType] : '-'}
- + {__('Routing number')} - + {routingNumber || '-'}
- + {__('Account number')} - + {accountNumber ? `•••• ${accountNumber.substr(-4)}` : '-'}
@@ -192,8 +192,7 @@ const getStyles = (tokens) => ({ rowHeader: { color: tokens.TextColor.InputLabel, }, - bold: { - fontWeight: tokens.FontWeight.Bold, + rowValue: { overflowWrap: 'anywhere', }, button: { diff --git a/src/views/microdeposits/VerifyDeposits.js b/src/views/microdeposits/VerifyDeposits.js index 18228b0c8c..bbf1f28967 100644 --- a/src/views/microdeposits/VerifyDeposits.js +++ b/src/views/microdeposits/VerifyDeposits.js @@ -104,7 +104,7 @@ export const VerifyDeposits = ({ microdeposit, onSuccess }) => { data-test="title-header" style={styles.title} truncate={false} - variant="H2" + variant="h2" > {__('Enter deposit amounts')} @@ -114,7 +114,7 @@ export const VerifyDeposits = ({ microdeposit, onSuccess }) => { data-test="deposit-paragraph" style={styles.subtitle} truncate={false} - variant="Paragraph" + variant="subtitle1" > { /* --TR: Full string "Please find the two small deposits less than a dollar each in your {accountName} account, and enter the amounts here." */ @@ -135,7 +135,7 @@ export const VerifyDeposits = ({ microdeposit, onSuccess }) => { style={styles.messageBox} variant="error" > - + {state.submittingError ? __("We're unable to submit your deposit amounts. Please try again.") : __('One or more of the amounts was incorrect. Please try again.')}