fix(suite): Fix Text and Paragraph issues + add typecheck

This commit is contained in:
Jan Václavík
2026-02-18 11:57:15 +01:00
parent 4d25013ca3
commit 75a523d679
3 changed files with 6 additions and 6 deletions

View File

@@ -6,7 +6,8 @@
"build-data": "tsx ./scripts/buildData.ts",
"dev": "[ -f src/analytics.json ] || yarn build-data; vite",
"build": "yarn build-data && vite build",
"preview": "vite preview"
"preview": "vite preview",
"type-check": "yarn g:tsc --build tsconfig.json"
},
"dependencies": {
"@suite-common/analytics": "workspace:*",

View File

@@ -7,14 +7,12 @@ export const Markdown = ({ children: childrenMarkdown }: MarkdownProps) => (
<MarkdownComponent
components={{
code: ({ children }) => (
<Text isMonospaced typographyStyle="inherit" variant="default">
<Text isMonospaced typographyStyle="inherit">
{children}
</Text>
),
p: ({ children }) => (
<Paragraph typographyStyle="inherit" variant="default">
{children}
</Paragraph>
<Paragraph typographyStyle="inherit">{children}</Paragraph>
),
ul: ({ children }) => <List>{children}</List>,
li: ({ children }) => <List.Item>{children}</List.Item>,

View File

@@ -20,7 +20,8 @@ export const ResultsInfo = ({
<Row gap={8} alignItems="center" flex="1" overflow="hidden">
<Paragraph
typographyStyle="label"
variant="tertiary"
intent="neutral"
priority="secondary"
wordBreak="keep-all"
textWrap="nowrap"
ellipsisLineCount={1}