diff --git a/striker-ui/components/ProvisionServerDialog.tsx b/striker-ui/components/ProvisionServerDialog.tsx index 0eeaff6b..2e250653 100644 --- a/striker-ui/components/ProvisionServerDialog.tsx +++ b/striker-ui/components/ProvisionServerDialog.tsx @@ -36,7 +36,7 @@ import { InputTestBatches, TestInputFunction, } from '../types/TestInputFunction'; -import { BodyText, HeaderText, Monospace } from './Text'; +import { BodyText, HeaderText, InlineMonoText } from './Text'; type InputMessage = Partial>; @@ -1355,9 +1355,11 @@ const ProvisionServerDialog = ({ - Server will be created on - anvil node pair{' '} - {' '} + Server will be + created on anvil node pair{' '} + {' '} with the following properties: @@ -1367,12 +1369,12 @@ const ProvisionServerDialog = ({ - core(s) + core(s) - core(s) available + core(s) available @@ -1381,11 +1383,11 @@ const ProvisionServerDialog = ({ - + - {' '} + {' '} available @@ -1409,18 +1411,19 @@ const ProvisionServerDialog = ({ > - Virtual disk + Virtual disk - on{' '} + on{' '} {vdStorageGroupName} - available + {' '} + available @@ -1431,7 +1434,7 @@ const ProvisionServerDialog = ({ - @@ -1442,7 +1445,7 @@ const ProvisionServerDialog = ({ {fileUUIDMapToData[inputDriverISOFileUUID] ? ( - ) : ( diff --git a/striker-ui/components/Text/DataGridCellText.tsx b/striker-ui/components/Text/DataGridCellText.tsx deleted file mode 100644 index 8d1725fe..00000000 --- a/striker-ui/components/Text/DataGridCellText.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import { FC } from 'react'; - -import BodyText, { BodyTextProps } from './BodyText'; - -const DataGridCellText: FC = ({ - ...dataGridCellTextRestProps -}) => ( - -); - -export default DataGridCellText; diff --git a/striker-ui/components/Text/InlineMonoText.tsx b/striker-ui/components/Text/InlineMonoText.tsx new file mode 100644 index 00000000..2032152f --- /dev/null +++ b/striker-ui/components/Text/InlineMonoText.tsx @@ -0,0 +1,28 @@ +import { FC } from 'react'; + +import { BodyTextProps } from './BodyText'; +import SmallText from './SmallText'; + +type InlineMonoTextProps = BodyTextProps; + +const InlineMonoText: FC = ({ + sx, + ...bodyTextRestProps +}) => ( + +); + +export type { InlineMonoTextProps }; + +export default InlineMonoText; diff --git a/striker-ui/components/Text/MonoText.tsx b/striker-ui/components/Text/MonoText.tsx new file mode 100644 index 00000000..2c409219 --- /dev/null +++ b/striker-ui/components/Text/MonoText.tsx @@ -0,0 +1,18 @@ +import { FC } from 'react'; + +import { BodyTextProps } from './BodyText'; +import SmallText from './SmallText'; + +type MonoTextProps = BodyTextProps; + +const MonoText: FC = ({ sx, ...bodyTextRestProps }) => ( + +); + +export type { MonoTextProps }; + +export default MonoText; diff --git a/striker-ui/components/Text/Monospace.tsx b/striker-ui/components/Text/Monospace.tsx deleted file mode 100644 index 633b8318..00000000 --- a/striker-ui/components/Text/Monospace.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import { FC } from 'react'; - -import BodyText, { BodyTextProps } from './BodyText'; - -const Monospace: FC = ({ sx, ...bodyTextRestProps }) => ( - -); - -export default Monospace; diff --git a/striker-ui/components/Text/SmallText.tsx b/striker-ui/components/Text/SmallText.tsx new file mode 100644 index 00000000..9fdc7bb1 --- /dev/null +++ b/striker-ui/components/Text/SmallText.tsx @@ -0,0 +1,13 @@ +import { FC } from 'react'; + +import BodyText, { BodyTextProps } from './BodyText'; + +type SmallTextProps = BodyTextProps; + +const SmallText: FC = ({ ...bodyTextRestProps }) => ( + +); + +export type { SmallTextProps }; + +export default SmallText; diff --git a/striker-ui/components/Text/index.tsx b/striker-ui/components/Text/index.tsx index 34a3bb5f..13f0260b 100644 --- a/striker-ui/components/Text/index.tsx +++ b/striker-ui/components/Text/index.tsx @@ -1,7 +1,9 @@ import BodyText, { BodyTextProps } from './BodyText'; -import DataGridCellText from './DataGridCellText'; import HeaderText from './HeaderText'; -import Monospace from './Monospace'; +import InlineMonoText from './InlineMonoText'; +import MonoText from './MonoText'; +import SmallText from './SmallText'; export type { BodyTextProps }; -export { BodyText, DataGridCellText, HeaderText, Monospace }; + +export { BodyText, HeaderText, InlineMonoText, MonoText, SmallText };