Skip to content

Commit 3441d03

Browse files
frano-mFran McDade
andauthored
chore: upgrade findable-ui to 14.0.0 (#161) (#162)
Co-authored-by: Fran McDade <[email protected]>
1 parent 9a6875c commit 3441d03

File tree

13 files changed

+93
-222
lines changed

13 files changed

+93
-222
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as OrganismsWarning } from "./organismsWarning.mdx";
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Alert {...props}>
2+
If you do not see your organism in this list: it will be there! We are in the
3+
process of ingesting sequences and annotations for all 785 taxa from
4+
VEuPathDb. The table below is generated by comparing the list maintained by
5+
VEuPathDB against official NCBI genome builds. The three buttons adjacent to
6+
each taxon direct you to a page listing available analytical workflows as well
7+
as direct links to genomic data (NCBI Datasets) and a genome browser (UCSC). A
8+
comprehensive search functionality will be developed to allow complex queries.
9+
</Alert>

app/components/Home/components/Section/components/SectionAnalytics/components/AnalyticsTools/analyticsTools.styles.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,6 @@ export const StyledCardActions = styled.div`
5454
5555
.MuiLink-root {
5656
${textBody500};
57-
color: #035c94;
58-
text-decoration: none;
59-
60-
&:hover {
61-
text-decoration: underline;
62-
}
6357
}
6458
`;
6559

app/components/Layout/components/AppLayout/components/Section/components/SectionHero/sectionHero.styles.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,4 @@ export const Subhead = styled.div`
5757
${textBodyLarge400};
5858
color: ${inkLight};
5959
margin: 0;
60-
61-
.MuiLink-root {
62-
color: inherit;
63-
text-decoration: underline;
64-
65-
&:hover {
66-
text-decoration: none;
67-
}
68-
}
6960
`;

app/components/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export { FluidAlert } from "@databiosphere/findable-ui/lib/components/common/Alert/alert.styles";
1+
export { Alert } from "@databiosphere/findable-ui/lib/components/common/Alert/alert";
22
export { Breadcrumbs } from "@databiosphere/findable-ui/lib/components/common/Breadcrumbs/breadcrumbs";
33
export { Grid } from "@databiosphere/findable-ui/lib/components/common/Grid/grid";
44
export { KeyElType } from "@databiosphere/findable-ui/lib/components/common/KeyValuePairs/components/KeyElType/keyElType";

app/viewModelBuilders/catalog/brc-analytics-catalog/common/viewModelBuilders.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -181,20 +181,6 @@ export const buildGenomeVersionAssemblyId = (
181181
};
182182
};
183183

184-
/**
185-
* Build props for the organism list hero.
186-
* @returns Props to be used for the FluidAlert component.
187-
*/
188-
export const buildOrganismListHero = (): ComponentProps<
189-
typeof C.FluidAlert
190-
> => {
191-
return {
192-
children:
193-
"If you do not see your organism in this list: it will be there! We are in the process of ingesting sequences and annotations for all 785 taxa from VEuPathDb. The table below is generated by comparing the list maintained by VEuPathDB against official NCBI genome builds. The three buttons adjacent to each taxon direct you to a page listing available analytical workflows as well as direct links to genomic data (NCBI Datasets) and a genome browser (UCSC). A comprehensive search functionality will be developed to allow complex queries.",
194-
severity: "warning",
195-
};
196-
};
197-
198184
/**
199185
* Build props for the species cell.
200186
* @param genome - Genome entity.

mdx-components.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
import { AccordionDetails as MAccordionDetails } from "@mui/material";
1+
import {
2+
AlertTitle,
3+
AccordionDetails as MAccordionDetails,
4+
} from "@mui/material";
25
import { MDXComponents } from "mdx/types";
36
import * as C from "./app/components";
47
import { CardActions } from "./app/components/Home/components/Section/components/SectionHero/components/Carousel/components/Cards/cards.styles";
@@ -19,6 +22,8 @@ export function useMDXComponents(components: MDXComponents): MDXComponents {
1922
Accordion,
2023
AccordionDetails: MAccordionDetails,
2124
AccordionSummary,
25+
Alert: C.Alert,
26+
AlertTitle,
2227
CardActions,
2328
Figure,
2429
Grid: C.Grid,

0 commit comments

Comments
 (0)