+
-
+
{option.title}
-
{option.description}
+
{option.description}
diff --git a/new-lamassu-admin/src/components/single-row-table/SingleRowTable.jsx b/new-lamassu-admin/src/components/single-row-table/SingleRowTable.jsx
index 9bdf1cbf..8e7cad48 100644
--- a/new-lamassu-admin/src/components/single-row-table/SingleRowTable.jsx
+++ b/new-lamassu-admin/src/components/single-row-table/SingleRowTable.jsx
@@ -1,3 +1,5 @@
+import IconButton from '@mui/material/IconButton'
+import SvgIcon from '@mui/material/SvgIcon'
import React from 'react'
import {
Table,
@@ -9,8 +11,6 @@ import {
} from 'src/components/fake-table/Table'
import EditIcon from 'src/styling/icons/action/edit/white.svg?react'
-import { IconButton } from 'src/components/buttons'
-
import { Label1, P } from '../typography/index.jsx'
const SingleRowTable = ({
@@ -27,8 +27,10 @@ const SingleRowTable = ({
{title}
-
-
+
+
+
+
|
diff --git a/new-lamassu-admin/src/components/table/Table.module.css b/new-lamassu-admin/src/components/table/Table.module.css
new file mode 100644
index 00000000..4ba9e91c
--- /dev/null
+++ b/new-lamassu-admin/src/components/table/Table.module.css
@@ -0,0 +1,3 @@
+.tableCell {
+ padding: 0 6px;
+}
diff --git a/new-lamassu-admin/src/components/table/TableCell.jsx b/new-lamassu-admin/src/components/table/TableCell.jsx
index 350c4b86..204915ff 100644
--- a/new-lamassu-admin/src/components/table/TableCell.jsx
+++ b/new-lamassu-admin/src/components/table/TableCell.jsx
@@ -1,17 +1,19 @@
import classnames from 'classnames'
import React, { memo } from 'react'
+import classes from './Table.module.css'
+
const TableCell = memo(
({ colspan, rightAlign, className, children, ...props }) => {
const styles = {
- 'py-0 px-6': true,
+ [classes.tableCell]: true,
'text-right': rightAlign
}
return (
{children}
|
diff --git a/new-lamassu-admin/src/components/tables/DataTable.jsx b/new-lamassu-admin/src/components/tables/DataTable.jsx
index 0242d9b5..29bba105 100644
--- a/new-lamassu-admin/src/components/tables/DataTable.jsx
+++ b/new-lamassu-admin/src/components/tables/DataTable.jsx
@@ -40,7 +40,7 @@ const Row = ({
const trClasses = {
'cursor-pointer': hasPointer,
'border-2 border-transparent': true,
- 'border-2 border-zircon shadow-xl': expanded
+ 'border-2 border-zircon shadow-md': expanded
}
return (
diff --git a/new-lamassu-admin/src/components/typography/index.jsx b/new-lamassu-admin/src/components/typography/index.jsx
index fe53c529..58a0c026 100644
--- a/new-lamassu-admin/src/components/typography/index.jsx
+++ b/new-lamassu-admin/src/components/typography/index.jsx
@@ -1,16 +1,12 @@
-import { makeStyles } from '@mui/styles'
import classnames from 'classnames'
import React from 'react'
-import styles from './styles'
-
-const useStyles = makeStyles(styles)
+import styles from './typography.module.css'
function H1({ children, noMargin, className, ...props }) {
- const classes = useStyles()
const classNames = {
- [classes.h1]: true,
- [classes.noMargin]: noMargin,
+ [styles.h1]: true,
+ [styles.noMargin]: noMargin,
[className]: !!className
}
@@ -22,10 +18,9 @@ function H1({ children, noMargin, className, ...props }) {
}
function H2({ children, noMargin, className, ...props }) {
- const classes = useStyles()
const classNames = {
- [classes.h2]: true,
- [classes.noMargin]: noMargin,
+ [styles.h2]: true,
+ [styles.noMargin]: noMargin,
[className]: !!className
}
@@ -37,10 +32,9 @@ function H2({ children, noMargin, className, ...props }) {
}
function H3({ children, noMargin, className, ...props }) {
- const classes = useStyles()
const classNames = {
- [classes.h3]: true,
- [classes.noMargin]: noMargin,
+ [styles.h3]: true,
+ [styles.noMargin]: noMargin,
[className]: !!className
}
@@ -52,10 +46,9 @@ function H3({ children, noMargin, className, ...props }) {
}
function H4({ children, noMargin, className, ...props }) {
- const classes = useStyles()
const classNames = {
- [classes.h4]: true,
- [classes.noMargin]: noMargin,
+ [styles.h4]: true,
+ [styles.noMargin]: noMargin,
[className]: !!className
}
@@ -67,10 +60,9 @@ function H4({ children, noMargin, className, ...props }) {
}
function H5({ children, noMargin, className, ...props }) {
- const classes = useStyles()
const classNames = {
- [classes.h5]: true,
- [classes.noMargin]: noMargin,
+ [styles.h5]: true,
+ [styles.noMargin]: noMargin,
[className]: !!className
}
@@ -94,12 +86,11 @@ const Label3 = pBuilder('label3')
function pBuilder(elementClass) {
return ({ inline, noMargin, className, children, ...props }) => {
- const classes = useStyles()
const classNames = {
[className]: !!className,
- [classes[elementClass]]: elementClass,
- [classes.inline]: inline,
- [classes.noMargin]: noMargin
+ [styles[elementClass]]: elementClass,
+ [styles.inline]: inline,
+ [styles.noMargin]: noMargin
}
return (
diff --git a/new-lamassu-admin/src/components/typography/styles.js b/new-lamassu-admin/src/components/typography/styles.js
index 35470d9d..1d3f9fc8 100644
--- a/new-lamassu-admin/src/components/typography/styles.js
+++ b/new-lamassu-admin/src/components/typography/styles.js
@@ -7,8 +7,7 @@ import {
fontSize5,
fontPrimary,
fontSecondary,
- fontMonospaced,
- codeInputFontSize
+ fontMonospaced
} from 'src/styling/variables'
const base = {
@@ -17,6 +16,10 @@ const base = {
}
export default {
+ base: {
+ lineHeight: '120%',
+ color: fontColor
+ },
h1: {
extend: base,
fontSize: fontSize1,
@@ -126,12 +129,6 @@ export default {
fontWeight: 500,
color: fontColor
},
- confirmationCode: {
- extend: base,
- fontSize: codeInputFontSize,
- fontFamily: fontSecondary,
- fontWeight: 900
- },
inline: {
display: 'inline'
},
diff --git a/new-lamassu-admin/src/components/typography/typography.module.css b/new-lamassu-admin/src/components/typography/typography.module.css
new file mode 100644
index 00000000..b08fa5de
--- /dev/null
+++ b/new-lamassu-admin/src/components/typography/typography.module.css
@@ -0,0 +1,140 @@
+.base {
+ line-height: 120%;
+ color: var(--zodiac);
+}
+
+.h1 {
+ composes: base;
+ font-size: 24px;
+ font-family: var(--mont);
+ font-weight: 900;
+}
+
+.h2 {
+ composes: base;
+ font-size: 20px;
+ font-family: var(--mont);
+ font-weight: 900;
+}
+
+.h3 {
+ composes: base;
+ font-size: 14px;
+ font-family: var(--mont);
+ font-weight: 900;
+}
+
+.h4 {
+ composes: base;
+ font-size: 14px;
+ font-family: var(--mont);
+ font-weight: 700;
+}
+
+.h5 {
+ composes: base;
+ font-size: 16px;
+ font-family: var(--mont);
+ font-weight: 700;
+}
+
+.p {
+ composes: base;
+ font-size: 14px;
+ font-family: var(--museo);
+ font-weight: 500;
+}
+
+.tl1 {
+ composes: base;
+ font-size: 20px;
+ font-family: var(--museo);
+ font-weight: 700;
+}
+
+.tl2 {
+ composes: base;
+ font-size: 14px;
+ font-family: var(--museo);
+ font-weight: 700;
+}
+
+.info1 {
+ composes: base;
+ font-size: 24px;
+ font-family: var(--museo);
+ font-weight: 700;
+}
+
+.info2 {
+ composes: base;
+ font-size: 16px;
+ font-family: var(--museo);
+ font-weight: 700;
+}
+
+.info3 {
+ composes: base;
+ font-size: 16px;
+ font-family: var(--museo);
+ font-weight: 500;
+}
+
+.mono {
+ composes: base;
+ font-size: 14px;
+ font-family: var(--bpmono);
+ font-weight: 500;
+}
+
+.monoBold {
+ font-weight: 700;
+}
+
+.monoSmall {
+ font-size: 13px;
+}
+
+.inputFont {
+ font-size: 20px;
+ font-family: var(--museo);
+ font-weight: 500;
+ line-height: 110%;
+ color: var(--zodiac);
+}
+
+.regularLabel {
+ font-size: 14px;
+ font-family: var(--museo);
+ font-weight: 500;
+ line-height: 110%;
+}
+
+.label1 {
+ font-size: 13px;
+ font-family: var(--museo);
+ font-weight: 500;
+ color: var(--zodiac);
+}
+
+.label2 {
+ font-size: 13px;
+ font-family: var(--museo);
+ font-weight: 700;
+ color: var(--zodiac);
+}
+
+.label3 {
+ font-size: 14px;
+ font-family: var(--museo);
+ font-weight: 500;
+ color: var(--zodiac);
+}
+
+.inline {
+ display: inline;
+}
+
+.noMargin {
+ margin: 0;
+}
diff --git a/new-lamassu-admin/src/pages/AddMachine/styles.js b/new-lamassu-admin/src/pages/AddMachine/styles.js
deleted file mode 100644
index 926e629e..00000000
--- a/new-lamassu-admin/src/pages/AddMachine/styles.js
+++ /dev/null
@@ -1,40 +0,0 @@
-import typographyStyles from 'src/components/typography/styles'
-import {
- placeholderColor,
- primaryColor,
- mainWidth,
- spring2,
- spring3,
- errorColor
-} from 'src/styling/variables'
-
-const { tl2, p } = typographyStyles
-
-const fill = '100%'
-const flexDirection = 'column'
-
-const styles = {
- wrapper: {
- width: mainWidth,
- height: fill,
- margin: '0 auto',
- flex: 1,
- display: 'flex',
- flexDirection
- },
- contentDiv: {
- display: 'flex',
- flex: 1,
- flexDirection: 'row'
- },
- headerDiv: {
- display: 'flex',
- justifyContent: 'space-between',
- alignItems: 'center'
- },
- contentWrapper: {
- marginLeft: 48
- }
-}
-
-export default styles
diff --git a/new-lamassu-admin/src/pages/Authentication/LoginCard.jsx b/new-lamassu-admin/src/pages/Authentication/LoginCard.jsx
index 4179cfe9..d6617fdc 100644
--- a/new-lamassu-admin/src/pages/Authentication/LoginCard.jsx
+++ b/new-lamassu-admin/src/pages/Authentication/LoginCard.jsx
@@ -57,7 +57,7 @@ const LoginCard = () => {
-
Lamassu Admin
+ Lamassu Admin
{renderState()}
diff --git a/new-lamassu-admin/src/pages/Blacklist/Blacklist.jsx b/new-lamassu-admin/src/pages/Blacklist/Blacklist.jsx
index d0962c94..8b51544e 100644
--- a/new-lamassu-admin/src/pages/Blacklist/Blacklist.jsx
+++ b/new-lamassu-admin/src/pages/Blacklist/Blacklist.jsx
@@ -3,6 +3,8 @@ import Dialog from '@mui/material/Dialog'
import DialogTitle from '@mui/material/DialogTitle'
import DialogContent from '@mui/material/DialogContent'
import Switch from '@mui/material/Switch'
+import SvgIcon from '@mui/material/SvgIcon'
+import IconButton from '@mui/material/IconButton'
import * as R from 'ramda'
import React, { useState } from 'react'
import { HelpTooltip } from 'src/components/Tooltip'
@@ -12,12 +14,7 @@ import CloseIcon from 'src/styling/icons/action/close/zodiac.svg?react'
import ReverseSettingsIcon from 'src/styling/icons/circle buttons/settings/white.svg?react'
import SettingsIcon from 'src/styling/icons/circle buttons/settings/zodiac.svg?react'
-import {
- Link,
- Button,
- IconButton,
- SupportLinkButton
-} from 'src/components/buttons'
+import { Link, Button, SupportLinkButton } from 'src/components/buttons'
import { fromNamespace, toNamespace } from 'src/utils/config'
import BlackListAdvanced from './BlacklistAdvanced'
@@ -100,11 +97,12 @@ const PaperWalletDialog = ({ onConfirmed, onDissmised, open, props }) => {
-
+
+
+
{'Are you sure you want to enable this?'}
diff --git a/new-lamassu-admin/src/pages/Blacklist/BlacklistAdvanced.jsx b/new-lamassu-admin/src/pages/Blacklist/BlacklistAdvanced.jsx
index 5314bac9..6050af0c 100644
--- a/new-lamassu-admin/src/pages/Blacklist/BlacklistAdvanced.jsx
+++ b/new-lamassu-admin/src/pages/Blacklist/BlacklistAdvanced.jsx
@@ -1,3 +1,5 @@
+import IconButton from '@mui/material/IconButton'
+import SvgIcon from '@mui/material/SvgIcon'
import { Form, Formik, Field } from 'formik'
import * as R from 'ramda'
import React, { useState } from 'react'
@@ -11,7 +13,7 @@ import DefaultIconReverse from 'src/styling/icons/button/retry/white.svg?react'
import DefaultIcon from 'src/styling/icons/button/retry/zodiac.svg?react'
import * as Yup from 'yup'
-import { ActionButton, IconButton, Button } from 'src/components/buttons'
+import { ActionButton, Button } from 'src/components/buttons'
import { TextInput } from 'src/components/inputs/formik'
const DEFAULT_MESSAGE = `This address may be associated with a deceptive offer or a prohibited group. Please make sure you're using an address from your own wallet.`
@@ -56,11 +58,10 @@ const BlacklistAdvanced = ({
textAlign: 'center',
size: 'sm',
view: it => (
-
setSelectedMessage(it)}
- size="large">
-
+ setSelectedMessage(it)}>
+
+
+
)
},
@@ -76,13 +77,14 @@ const BlacklistAdvanced = ({
disabled={
!R.isNil(R.path(['allowToggle'], it)) &&
!R.path(['allowToggle'], it)
- }
- size="large">
- {R.path(['allowToggle'], it) ? (
-
- ) : (
-
- )}
+ }>
+
+ {R.path(['allowToggle'], it) ? (
+
+ ) : (
+
+ )}
+
)
}
diff --git a/new-lamassu-admin/src/pages/Blacklist/BlacklistTable.jsx b/new-lamassu-admin/src/pages/Blacklist/BlacklistTable.jsx
index a03bbb41..4171f1b1 100644
--- a/new-lamassu-admin/src/pages/Blacklist/BlacklistTable.jsx
+++ b/new-lamassu-admin/src/pages/Blacklist/BlacklistTable.jsx
@@ -1,3 +1,5 @@
+import IconButton from '@mui/material/IconButton'
+import SvgIcon from '@mui/material/SvgIcon'
import * as R from 'ramda'
import React, { useState } from 'react'
import { DeleteDialog } from 'src/components/DeleteDialog'
@@ -5,8 +7,6 @@ import DataTable from 'src/components/tables/DataTable'
import CopyToClipboard from 'src/components/CopyToClipboard.jsx'
import DeleteIcon from 'src/styling/icons/action/delete/enabled.svg?react'
-import { IconButton } from 'src/components/buttons'
-
const BlacklistTable = ({
data,
handleDeleteEntry,
@@ -42,9 +42,10 @@ const BlacklistTable = ({
onClick={() => {
setDeleteDialog(true)
setToBeDeleted(it)
- }}
- size="large">
-
+ }}>
+
+
+
)
}
diff --git a/new-lamassu-admin/src/pages/Customers/CustomerProfile.jsx b/new-lamassu-admin/src/pages/Customers/CustomerProfile.jsx
index acae9d2e..e2e9f8df 100644
--- a/new-lamassu-admin/src/pages/Customers/CustomerProfile.jsx
+++ b/new-lamassu-admin/src/pages/Customers/CustomerProfile.jsx
@@ -1,3 +1,5 @@
+import IconButton from '@mui/material/IconButton'
+import SvgIcon from '@mui/material/SvgIcon'
import { useQuery, useMutation, useLazyQuery, gql } from '@apollo/client'
import Breadcrumbs from '@mui/material/Breadcrumbs'
import DialogActions from '@mui/material/DialogActions'
@@ -18,7 +20,7 @@ import BlockIcon from 'src/styling/icons/button/block/zodiac.svg?react'
import DataReversedIcon from 'src/styling/icons/button/data/white.svg?react'
import DataIcon from 'src/styling/icons/button/data/zodiac.svg?react'
-import { Button, IconButton, ActionButton } from 'src/components/buttons'
+import { Button, ActionButton } from 'src/components/buttons'
import {
OVERRIDE_AUTHORIZED,
OVERRIDE_REJECTED
@@ -734,11 +736,10 @@ const RetrieveDataDialog = ({
}}
{...props}>
- onDismissed(false)}>
-
+ onDismissed(false)}>
+
+
+
{'Retrieve API data from Twilio'}
diff --git a/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscounts.jsx b/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscounts.jsx
index 7f1d63fc..936cedff 100644
--- a/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscounts.jsx
+++ b/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscounts.jsx
@@ -1,8 +1,10 @@
+import IconButton from '@mui/material/IconButton'
+import SvgIcon from '@mui/material/SvgIcon'
import { useQuery, useMutation, gql } from '@apollo/client'
import * as R from 'ramda'
import React, { useState } from 'react'
-import { Link, Button, IconButton } from 'src/components/buttons'
+import { Link, Button } from 'src/components/buttons'
import { DeleteDialog } from 'src/components/DeleteDialog'
import DataTable from 'src/components/tables/DataTable'
import { Label3, TL1 } from 'src/components/typography'
@@ -136,9 +138,10 @@ const IndividualDiscounts = () => {
onClick={() => {
setDeleteDialog(true)
setToBeDeleted({ variables: { discountId: t.id } })
- }}
- size="large">
-
+ }}>
+
+
+
)
}
diff --git a/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodes.jsx b/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodes.jsx
index 6a239742..d53a727a 100644
--- a/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodes.jsx
+++ b/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodes.jsx
@@ -1,3 +1,5 @@
+import IconButton from '@mui/material/IconButton'
+import SvgIcon from '@mui/material/SvgIcon'
import { useQuery, useMutation, gql } from '@apollo/client'
import * as R from 'ramda'
import React, { useState } from 'react'
@@ -6,7 +8,7 @@ import DataTable from 'src/components/tables/DataTable'
import { Label3, TL1 } from 'src/components/typography'
import DeleteIcon from 'src/styling/icons/action/delete/enabled.svg?react'
-import { Link, Button, IconButton } from 'src/components/buttons'
+import { Link, Button } from 'src/components/buttons'
import PromoCodesModal from './PromoCodesModal'
@@ -114,9 +116,10 @@ const PromoCodes = () => {
onClick={() => {
setDeleteDialog(true)
setToBeDeleted({ variables: { codeId: t.id } })
- }}
- size="large">
-
+ }}>
+
+
+
)
}
diff --git a/new-lamassu-admin/src/pages/Maintenance/CashUnits.jsx b/new-lamassu-admin/src/pages/Maintenance/CashUnits.jsx
index 66635201..8d045bf5 100644
--- a/new-lamassu-admin/src/pages/Maintenance/CashUnits.jsx
+++ b/new-lamassu-admin/src/pages/Maintenance/CashUnits.jsx
@@ -1,5 +1,7 @@
import { useQuery, useMutation, gql } from '@apollo/client'
import DialogActions from '@mui/material/DialogActions'
+import IconButton from '@mui/material/IconButton'
+import SvgIcon from '@mui/material/SvgIcon'
import * as R from 'ramda'
import React, { useState } from 'react'
import LogsDowloaderPopover from 'src/components/LogsDownloaderPopper'
@@ -12,7 +14,7 @@ import EditIcon from 'src/styling/icons/action/edit/enabled.svg?react'
import ReverseHistoryIcon from 'src/styling/icons/circle buttons/history/white.svg?react'
import HistoryIcon from 'src/styling/icons/circle buttons/history/zodiac.svg?react'
-import { IconButton, Button, SupportLinkButton } from 'src/components/buttons'
+import { Button, SupportLinkButton } from 'src/components/buttons'
import { RadioGroup } from 'src/components/inputs'
import { EmptyTable } from 'src/components/table'
import { fromNamespace, toNamespace } from 'src/utils/config'
@@ -252,8 +254,10 @@ const CashCassettes = () => {
{onlyFirstToUpper(cashboxReset)}
)}
-
setEditingSchema(true)} size="large">
-
+ setEditingSchema(true)}>
+
+
+
diff --git a/new-lamassu-admin/src/pages/Maintenance/helper.jsx b/new-lamassu-admin/src/pages/Maintenance/helper.jsx
index e63e8ac4..26389968 100644
--- a/new-lamassu-admin/src/pages/Maintenance/helper.jsx
+++ b/new-lamassu-admin/src/pages/Maintenance/helper.jsx
@@ -1,9 +1,10 @@
+import IconButton from '@mui/material/IconButton'
+import SvgIcon from '@mui/material/SvgIcon'
import React from 'react'
import * as R from 'ramda'
import { CashIn, CashOutLite } from 'src/components/inputs/cashbox/Cashbox'
import EditIcon from 'src/styling/icons/action/edit/enabled.svg?react'
-import { IconButton } from 'src/components/buttons'
import { fromNamespace } from 'src/utils/config'
import { getCashUnitCapacity } from 'src/utils/machine'
@@ -124,9 +125,10 @@ const getElements = (config, bills, setWizard, widths, setMachineId) => {
onClick={() => {
!R.isNil(setMachineId) && setMachineId(m.id ?? m.deviceId)
setWizard(true)
- }}
- size="large">
-
+ }}>
+
+
+
)
}
diff --git a/new-lamassu-admin/src/pages/Notifications/components/EditHeader.jsx b/new-lamassu-admin/src/pages/Notifications/components/EditHeader.jsx
index 79931bc7..7ed246a5 100644
--- a/new-lamassu-admin/src/pages/Notifications/components/EditHeader.jsx
+++ b/new-lamassu-admin/src/pages/Notifications/components/EditHeader.jsx
@@ -1,9 +1,11 @@
+import IconButton from '@mui/material/IconButton'
import React from 'react'
import { H4 } from 'src/components/typography'
import DisabledEditIcon from 'src/styling/icons/action/edit/disabled.svg?react'
import EditIcon from 'src/styling/icons/action/edit/enabled.svg?react'
-import { Link, IconButton } from 'src/components/buttons'
+import { Link } from 'src/components/buttons'
+import SvgIcon from '@mui/material/SvgIcon'
const Header = ({ title, editing, disabled, setEditing }) => {
return (
@@ -15,9 +17,8 @@ const Header = ({ title, editing, disabled, setEditing }) => {
setEditing(true)}
className="border-0 bg-transparent shrink-0 cursor-pointer ml-2"
- disabled={disabled}
- size="large">
- {disabled ? : }
+ disabled={disabled}>
+ {disabled ? : }
)}
{editing && (
diff --git a/new-lamassu-admin/src/pages/OperatorInfo/ContactInfo.jsx b/new-lamassu-admin/src/pages/OperatorInfo/ContactInfo.jsx
index 99ecc42e..1d0d83df 100644
--- a/new-lamassu-admin/src/pages/OperatorInfo/ContactInfo.jsx
+++ b/new-lamassu-admin/src/pages/OperatorInfo/ContactInfo.jsx
@@ -1,3 +1,4 @@
+import IconButton from '@mui/material/IconButton'
import { useQuery, useMutation, gql } from '@apollo/client'
import { Form, Formik, Field as FormikField } from 'formik'
import * as R from 'ramda'
@@ -9,13 +10,14 @@ import EditIcon from 'src/styling/icons/action/edit/enabled.svg?react'
import WarningIcon from 'src/styling/icons/warning-icon/comet.svg?react'
import * as Yup from 'yup'
-import { Link, IconButton } from 'src/components/buttons'
+import { Link } from 'src/components/buttons'
import { TextInput } from 'src/components/inputs/formik'
import { fromNamespace, toNamespace, namespaces } from 'src/utils/config'
import SwitchRow from './components/SwitchRow.jsx'
import InfoMessage from './components/InfoMessage.jsx'
import Header from './components/Header.jsx'
+import SvgIcon from '@mui/material/SvgIcon'
const FIELD_WIDTH = 280
@@ -160,8 +162,10 @@ const ContactInfo = ({ wizard }) => {
Info card
{!editing && (
- setEditing(true)} size="large">
-
+ setEditing(true)}>
+
+
+
)}
diff --git a/new-lamassu-admin/src/pages/OperatorInfo/SMSNotices/SMSNotices.jsx b/new-lamassu-admin/src/pages/OperatorInfo/SMSNotices/SMSNotices.jsx
index 71b36d09..bae80f2d 100644
--- a/new-lamassu-admin/src/pages/OperatorInfo/SMSNotices/SMSNotices.jsx
+++ b/new-lamassu-admin/src/pages/OperatorInfo/SMSNotices/SMSNotices.jsx
@@ -1,6 +1,7 @@
import { useQuery, useMutation, gql } from '@apollo/client'
import Paper from '@mui/material/Paper'
import Switch from '@mui/material/Switch'
+import IconButton from '@mui/material/IconButton'
import * as R from 'ramda'
import React, { useState } from 'react'
import { HelpTooltip } from 'src/components/Tooltip'
@@ -11,10 +12,11 @@ import ExpandIconClosed from 'src/styling/icons/action/expand/closed.svg?react'
import ExpandIconOpen from 'src/styling/icons/action/expand/open.svg?react'
import WhiteLogo from 'src/styling/icons/menu/logo-white.svg?react'
-import { IconButton, SupportLinkButton } from 'src/components/buttons'
+import { SupportLinkButton } from 'src/components/buttons'
import { formatDate } from 'src/utils/timezones'
import CustomSMSModal from './SMSNoticesModal'
+import SvgIcon from '@mui/material/SvgIcon'
const GET_SMS_NOTICES = gql`
query SMSNotices {
@@ -175,9 +177,10 @@ const SMSNotices = () => {
setPreviewOpen(false)
setSelectedSMS(it)
setShowModal(true)
- }}
- size="large">
-
+ }}>
+
+
+
)
},
@@ -217,13 +220,14 @@ const SMSNotices = () => {
R.equals(selectedSMS, it)
? setPreviewOpen(!previewOpen)
: setPreviewOpen(true)
- }}
- size="large">
- {R.equals(selectedSMS, it) && previewOpen ? (
-
- ) : (
-
- )}
+ }}>
+
+ {R.equals(selectedSMS, it) && previewOpen ? (
+
+ ) : (
+
+ )}
+
)
}
diff --git a/new-lamassu-admin/src/pages/OperatorInfo/TermsConditions.jsx b/new-lamassu-admin/src/pages/OperatorInfo/TermsConditions.jsx
index 2eb37534..95dfee1b 100644
--- a/new-lamassu-admin/src/pages/OperatorInfo/TermsConditions.jsx
+++ b/new-lamassu-admin/src/pages/OperatorInfo/TermsConditions.jsx
@@ -1,3 +1,4 @@
+import IconButton from '@mui/material/IconButton'
import { useQuery, useMutation, gql } from '@apollo/client'
import classnames from 'classnames'
import { Form, Formik, Field as FormikField } from 'formik'
@@ -9,12 +10,13 @@ import { Info2, Info3, Label3 } from 'src/components/typography'
import EditIcon from 'src/styling/icons/action/edit/enabled.svg?react'
import * as Yup from 'yup'
-import { Link, IconButton } from 'src/components/buttons'
+import { Link } from 'src/components/buttons'
import { TextInput } from 'src/components/inputs/formik'
import { fromNamespace, toNamespace, namespaces } from 'src/utils/config'
import Header from './components/Header.jsx'
import SwitchRow from './components/SwitchRow.jsx'
+import SvgIcon from '@mui/material/SvgIcon'
const Field = ({
editing,
@@ -184,8 +186,10 @@ const TermsConditions = () => {
Info card
{!editing && (
- setEditing(true)} size="large">
-
+ setEditing(true)}>
+
+
+
)}
diff --git a/new-lamassu-admin/src/pages/SessionManagement/SessionManagement.jsx b/new-lamassu-admin/src/pages/SessionManagement/SessionManagement.jsx
index a9fb8d23..ce108590 100644
--- a/new-lamassu-admin/src/pages/SessionManagement/SessionManagement.jsx
+++ b/new-lamassu-admin/src/pages/SessionManagement/SessionManagement.jsx
@@ -1,4 +1,5 @@
-import { useQuery, useMutation, gql } from "@apollo/client";
+import IconButton from '@mui/material/IconButton'
+import { useQuery, useMutation, gql } from '@apollo/client'
import * as R from 'ramda'
import React from 'react'
import TitleSection from 'src/components/layout/TitleSection'
@@ -6,8 +7,8 @@ import DataTable from 'src/components/tables/DataTable'
import DeleteIcon from 'src/styling/icons/action/delete/enabled.svg?react'
import parser from 'ua-parser-js'
-import { IconButton } from 'src/components/buttons'
import { formatDate } from 'src/utils/timezones'
+import SvgIcon from '@mui/material/SvgIcon'
const GET_SESSIONS = gql`
query sessions {
@@ -98,9 +99,10 @@ const SessionManagement = () => {
{
deleteSession({ variables: { sid: s.sid } })
- }}
- size="large">
-
+ }}>
+
+
+
)
}
diff --git a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/CustomInfoRequests.jsx b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/CustomInfoRequests.jsx
index 2403ac71..0eb40c6a 100644
--- a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/CustomInfoRequests.jsx
+++ b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/CustomInfoRequests.jsx
@@ -1,3 +1,4 @@
+import IconButton from '@mui/material/IconButton'
import { useMutation, useQuery, gql } from '@apollo/client'
import * as R from 'ramda'
import React, { useState } from 'react'
@@ -7,11 +8,12 @@ import { Info1, Info3, P } from 'src/components/typography'
import DeleteIcon from 'src/styling/icons/action/delete/enabled.svg?react'
import EditIcon from 'src/styling/icons/action/edit/enabled.svg?react'
-import { IconButton, Button, Link } from 'src/components/buttons'
+import { Button, Link } from 'src/components/buttons'
import { fromNamespace, namespaces, toNamespace } from 'src/utils/config'
import DetailsRow from './DetailsCard'
import Wizard from './Wizard'
+import SvgIcon from '@mui/material/SvgIcon'
const inputTypeDisplay = {
numerical: 'Numerical',
@@ -212,9 +214,10 @@ const CustomInfoRequests = ({
onClick={() => {
setToBeEdited(it)
return toggleWizard()
- }}
- size="large">
-
+ }}>
+
+
+
)
}
@@ -230,9 +233,10 @@ const CustomInfoRequests = ({
onClick={() => {
setToBeDeleted(it.id)
return setDeleteDialog(true)
- }}
- size="large">
-
+ }}>
+
+
+
)
}
diff --git a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Forms/TypeFields/NumericalEntry.jsx b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Forms/TypeFields/NumericalEntry.jsx
index 938d587d..fff64499 100644
--- a/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Forms/TypeFields/NumericalEntry.jsx
+++ b/new-lamassu-admin/src/pages/Triggers/CustomInfoRequests/Forms/TypeFields/NumericalEntry.jsx
@@ -38,7 +38,7 @@ const NumericalEntry = () => {
name="constraintType"
/>
{isLength && (
-