Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
dfe6168
removed TooSmallDialog component
Jul 28, 2026
c01512a
updated AttentionFilled to Icon
Jul 29, 2026
7aacc87
removed the typing
Jul 29, 2026
f1dca52
migrated ChevronRight kyper component
Jul 29, 2026
5ecbd0f
feat: migrate kyper AttentionFilled Icon to MXUI
Jul 29, 2026
db6f4d4
Fix formatting issues in README props table
mwclemy Jul 29, 2026
47458e5
Fix markdown formatting in Props table
mwclemy Jul 29, 2026
21a7405
chore: trigger CI
Jul 29, 2026
9c878d3
addressed comments
Aug 3, 2026
16fa4e1
Merge branch 'cmwimo/CT-2388' into cmwimo/CT-2389
Aug 3, 2026
5aacf82
addressed comments
Aug 3, 2026
01db118
addressed comments
Aug 3, 2026
f2eb7fc
restore Readme
Aug 3, 2026
853fc68
back to using chevron_right
Aug 3, 2026
e76757a
fix more styles
Aug 4, 2026
7604b8b
fix config error
Aug 4, 2026
17a058d
Merge branch 'cmwimo/CT-2388' into cmwimo/CT-2389
Aug 4, 2026
b45af19
fix selectionbox
Aug 4, 2026
bbd364e
fi chevron size
Aug 5, 2026
c018a40
Merge branch 'cmwimo/CT-2388' into cmwimo/CT-2389
Aug 5, 2026
f2e725c
addressed comments
Aug 11, 2026
6aea8fe
Merge branch 'cmwimo/CT-2388' into cmwimo/CT-2389
Aug 11, 2026
2b14a8e
address comments according to the direction discussed
Aug 12, 2026
c4f702f
clean up some kyper token values
Aug 12, 2026
0f6f6cf
fixed more styles
Aug 12, 2026
6d1cfa2
Merge branch 'cmwimo/CT-2388' into cmwimo/CT-2389
Aug 12, 2026
1f8b47d
fixed styles
Aug 12, 2026
a9729bc
using spacing from Stack
Aug 13, 2026
6e338b0
moved --mui-spacing to styles.css
Aug 13, 2026
f8b0922
using Stack for spacing
Aug 13, 2026
9e8ae72
addressed more opportunities to use a Stack for spacing
Aug 13, 2026
094fe01
fix accountinfo
Aug 14, 2026
b0ad28d
use stack for spacing
Aug 14, 2026
8405fb8
fixing custom font sizes and using theme aware color value where needed
Aug 14, 2026
e7de889
Merge branch 'cmwimo/CT-2388' into cmwimo/CT-2389
Aug 14, 2026
9a4ccc4
removed unnecessary font customizations
Aug 14, 2026
d83202c
fixed conflicts
Aug 17, 2026
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
3 changes: 0 additions & 3 deletions src/ConnectWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Connect from 'src/Connect'
import { WidgetDimensionObserver } from 'src/components/app/WidgetDimensionObserver'
import { initGettextLocaleData } from 'src/utilities/Personalization'
import { ConnectedTokenProvider } from 'src/ConnectedTokenProvider'
import { TooSmallDialog } from 'src/components/app/TooSmallDialog'
import { setLocalizedContent } from 'src/redux/reducers/localizedContentSlice'
import { WebSocketProvider } from 'src/context/WebSocketContext'
import './sharedVariables.css'
Expand All @@ -23,7 +22,6 @@ export const ConnectWidgetWithoutReduxProvider = ({
onPostMessage = () => {},
onAnalyticPageview = () => {},
postMessageEventOverrides,
showTooSmallDialog = true,
webSocketConnection,
...props
}: any) => {
Expand All @@ -40,7 +38,6 @@ export const ConnectWidgetWithoutReduxProvider = ({
<WebSocketProvider value={webSocketConnection}>
<PostMessageContext.Provider value={{ onPostMessage, postMessageEventOverrides }}>
<WidgetDimensionObserver heightOffset={0}>
{showTooSmallDialog && <TooSmallDialog onAnalyticPageview={onAnalyticPageview} />}
<Connect onAnalyticPageview={onAnalyticPageview} {...props} />
</WidgetDimensionObserver>
</PostMessageContext.Provider>
Expand Down
13 changes: 7 additions & 6 deletions src/components/ConfigError.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import React from 'react'
import { Text } from '@mxenabled/mxui'
import { Icon, Text } from '@mxenabled/mxui'
import { useTokens } from '@kyper/tokenprovider'
import { Container } from 'src/components/Container'
import { AttentionFilled } from '@kyper/icon/AttentionFilled'

interface ConfigError {
title: string
Expand All @@ -20,7 +19,12 @@ export const ConfigError: React.FC<ConfigErrorProps> = ({ error }) => {
return (
<Container>
<div style={styles.container}>
<AttentionFilled color="#4D4D4D" size={32} style={styles.errorIcon} />
<Icon
fill={true}
name="error"
size={32}
sx={{ color: '#4D4D4D', marginBottom: tokens.Spacing.Large }}
/>
<Text component={'h2'} style={styles.errorTitle} truncate={false} variant="H2">
{error.title}
</Text>
Expand All @@ -45,7 +49,4 @@ const getStyles = (tokens: any) => ({
errorTitle: {
marginBottom: tokens.Spacing.Tiny,
},
errorIcon: {
marginBottom: tokens.Spacing.Large,
},
})
13 changes: 7 additions & 6 deletions src/components/ConnectSuccessSurvey.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import React, { useState, useImperativeHandle, useContext } from 'react'
import { Text } from '@mxenabled/mxui'
import { Icon, Text } from '@mxenabled/mxui'
import { Button, TextField } from '@mui/material'
import ToggleButton from '@mui/material/ToggleButton'
import ToggleButtonGroup from '@mui/material/ToggleButtonGroup'
import { AttentionFilled } from '@kyper/icon/AttentionFilled'
import { useTokens } from '@kyper/tokenprovider'

import { __ } from 'src/utilities/Intl'
Expand Down Expand Up @@ -170,7 +169,12 @@ export const ConnectSuccessSurvey = React.forwardRef<
)}
{showErrorMessage && (
<div style={styles.errorMessage}>
<AttentionFilled color="#E32727" size={16} style={styles.errorIcon} />
<Icon
fill={true}
name="error"
size={16}
sx={{ color: '#E32727', marginRight: tokens.Spacing.Tiny }}
/>
<Text color="#E32727" sx={{ fontSize: '12px' }} variant="XSmall">
{__('Please select an option before continuing.')}
</Text>
Expand Down Expand Up @@ -255,9 +259,6 @@ const getStyles = (tokens: any) => ({
alignItems: 'center',
width: '100%',
},
errorIcon: {
marginRight: tokens.Spacing.Tiny,
},
textQuestion: {
display: 'flex',
flexDirection: 'column',
Expand Down
5 changes: 2 additions & 3 deletions src/components/DeleteMemberSurvey.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import React, { useState, useEffect, useRef } from 'react'
import PropTypes from 'prop-types'
import { Text } from '@mxenabled/mxui'
import { Icon, Text } from '@mxenabled/mxui'
import { useTokens } from '@kyper/tokenprovider'
import { MessageBox } from '@kyper/messagebox'
import { AttentionFilled } from '@kyper/icon/AttentionFilled'
import { defer } from 'rxjs'
import FocusTrap from 'focus-trap-react'
import { Button, FormLabel, FormControl } from '@mui/material'
Expand Down Expand Up @@ -171,7 +170,7 @@ export const DeleteMemberSurvey = (props) => {

{isSubmitted && !selectedReason && (
<section role="alert" style={styles.errorContent}>
<AttentionFilled color={tokens.Color.Error300} />
<Icon fill={true} name="error" size={16} sx={{ color: tokens.Color.Error300 }} />
<p style={styles.errorMessage}>{__('Choose a reason for deleting')}</p>
</section>
)}
Expand Down
16 changes: 6 additions & 10 deletions src/components/GenericError.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import React, { useEffect } from 'react'
import PropTypes from 'prop-types'
import { AttentionFilled } from '@kyper/icon/AttentionFilled'
import { useTokens } from '@kyper/tokenprovider'
import { Text } from '@mxenabled/mxui'
import { Icon, Text } from '@mxenabled/mxui'

import { isRunningE2ETests } from 'src/utilities/e2e'
import { PageviewInfo } from 'src/const/Analytics'
Expand All @@ -27,11 +26,11 @@ export const GenericError = ({ loadError, onAnalyticPageview, subtitle, title })

return (
<div style={styles.container}>
<AttentionFilled
color={tokens.TextColor.Default}
height={48}
styles={styles.icon}
width={48}
<Icon
fill={true}
name="error"
size={48}
sx={{ color: tokens.TextColor.Default, marginBottom: tokens.Spacing.XLarge }}
/>
<Text component="h1" truncate={false} variant="H2">
{title}
Expand All @@ -57,9 +56,6 @@ function getStyles(tokens) {
padding: tokens.Spacing.XSMALL,
textAlign: 'center',
},
icon: {
marginBottom: tokens.Spacing.XLarge,
},
}
}

Expand Down
5 changes: 2 additions & 3 deletions src/components/InstitutionTile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import { __ } from 'src/utilities/Intl'
import { useTokens } from '@kyper/tokenprovider'

import { Button, Chip } from '@mui/material'
import { ChevronRight } from '@kyper/icon/ChevronRight'
import { InstitutionLogo } from '@mxenabled/mxui'
import { Icon, InstitutionLogo } from '@mxenabled/mxui'

import { formatUrl } from 'src/utilities/FormatUrl'
import {
Expand Down Expand Up @@ -36,7 +35,7 @@ export const InstitutionTile = (props) => {
data-test={`${institution.name.replace(/\s+/g, '-')}-row`}
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 }} />
Comment thread
mwclemy marked this conversation as resolved.
Outdated
)
}
fullWidth={true}
Expand Down
5 changes: 2 additions & 3 deletions src/components/LeavingNoticeFlat.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import PropTypes from 'prop-types'

import { __ } from 'src/utilities/Intl'

import { Text } from '@mxenabled/mxui'
import { AttentionFilled } from '@kyper/icon/AttentionFilled'
import { Text, Icon } from '@mxenabled/mxui'
import { Button } from '@mui/material'
import { useTokens } from '@kyper/tokenprovider'

Expand Down Expand Up @@ -36,7 +35,7 @@ export const LeavingNoticeFlat = ({ onContinue, onCancel, portalTo = 'connect-wr
>
{__('You are leaving')}
</Text>
<AttentionFilled color={tokens.BackgroundColor.MessageBoxError} size={24} />
<Icon color="error" fill={true} name="error" size={24} />
</div>
<Text
component="p"
Expand Down
10 changes: 7 additions & 3 deletions src/components/ViewTitle.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import React from 'react'
import PropTypes from 'prop-types'

import { Text } from '@mxenabled/mxui'
import { Icon, Text } from '@mxenabled/mxui'
import { useTokens } from '@kyper/tokenprovider'
import { InfoFilled } from '@kyper/icon/InfoFilled'
import { AttentionFilled } from '@kyper/icon/AttentionFilled'

import { ReadableStatuses } from 'src/const/Statuses'

Expand All @@ -21,7 +20,12 @@ export const ViewTitle = ({ connectionStatus, title }) => {
<InfoFilled color={tokens.BackgroundColor.MessageBoxHelp} size={24} />
)}
{connectionStatus === ReadableStatuses.REJECTED && (
<AttentionFilled color={tokens.BackgroundColor.MessageBoxError} size={24} />
<Icon
fill={true}
name="error"
size={24}
sx={{ color: tokens.BackgroundColor.MessageBoxError }}
/>
)}
</div>
)
Expand Down
175 changes: 0 additions & 175 deletions src/components/app/TooSmallDialog.tsx

This file was deleted.

Loading
Loading