Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/run-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.10.0"
node-version: "22.12.0"
- name: Cache npm cache
uses: actions/cache@v4
with:
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,7 @@ next-env.d.ts
# python
__pycache__
.ipynb_checkpoints
venv
venv

# claude
.claude/rules*
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Requirements

* `Node.js` ([https://nodejs.org/en/](https://nodejs.org/en/)), version 20.10.0.
* `Node.js` ([https://nodejs.org/en/](https://nodejs.org/en/)), version 22.12.0.

* We recommend using `n` ([https://github.com/tj/n](https://github.com/tj/n)) as the Node.js package manger.

Expand Down
2 changes: 1 addition & 1 deletion cc-data.humancellatlas.dev.next.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ rm -rf ./out
echo \"Deleting ./build/\"
rm -rf ./build

n 20.10.0
n 22.12.0
npm ci

mkdir -p build
Expand Down
2 changes: 1 addition & 1 deletion cgl-data.humancellatlas.prod.next.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ rm -rf ./out
echo \"Deleting ./build/\"
rm -rf ./build

n 20.10.0
n 22.12.0
npm ci

mkdir -p build
Expand Down
1 change: 1 addition & 0 deletions components/About/components/Attributions/attributions.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { Figure } from "../../../common/Figure/figure";
import { Grid } from "./attributions.styles";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { CellContext } from "@tanstack/react-table";
import { Attribute } from "../../../../../../viewModelBuilders/dataDictionaryMapper/types";
import { Collapse, Typography } from "@mui/material";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { CellContext } from "@tanstack/react-table";
import { Attribute } from "../../../../../../viewModelBuilders/dataDictionaryMapper/types";
import { Chip, Grid } from "@mui/material";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { FluidPaper } from "@databiosphere/findable-ui/lib/components/common/Paper/paper.styles";
import { BackPageContentSingleColumn } from "@databiosphere/findable-ui/lib/components/Layout/components/BackPage/backPageView.styles";
import { AtlasDatasetsDescription } from "../../../../../../../../content";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Fragment } from "react";
import { JSX, Fragment } from "react";
import { AnalysisPortal } from "../../../../../../../../../../@types/network";
import { IconLink } from "../../../../../../../../../common/IconLink/iconLink";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import {
FluidPaper,
GridPaper,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Sections } from "@databiosphere/findable-ui/lib/components/common/Sections/sections";
import { useAtlas } from "contexts/atlasContext";
import { Fragment } from "react";
import { JSX, Fragment } from "react";
import { Coordinators } from "../../../../../../../common/Section/components/Coordinators/coordinators";
import { HCABiologicalNetwork } from "../../../../../../../common/Section/components/HCABiologicalNetwork/HCABiologicalNetwork";
import { Publications } from "../../../../../../../common/Section/components/Publications/publications";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { GridPaperSection } from "@databiosphere/findable-ui/lib/components/common/Section/section.styles";
import { Link } from "@databiosphere/findable-ui/lib/components/Links/components/Link/link";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { BackPageHero } from "@databiosphere/findable-ui/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero";
import { NETWORKS_ROUTE } from "constants/routes";
import { useAtlas } from "contexts/atlasContext";
import { useMemo } from "react";
import { JSX, useMemo } from "react";

export const Hero = (): JSX.Element => {
const { atlas, network } = useAtlas();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import {
Tabs as DXTabs,
TabValue,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { FluidPaper } from "@databiosphere/findable-ui/lib/components/common/Paper/paper.styles";
import { SectionTitle } from "@databiosphere/findable-ui/lib/components/common/Section/components/SectionTitle/sectionTitle";
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import {
FluidPaper,
GridPaper,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Typography } from "@mui/material";
import { ReactNode } from "react";
import { JSX, ReactNode } from "react";
import { TYPOGRAPHY_PROPS } from "@databiosphere/findable-ui/lib/styles/common/mui/typography";

export interface KeyElTypeProps {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Grid } from "@databiosphere/findable-ui/lib/components/common/Grid/grid";
import { ReactNode } from "react";
import { JSX, ReactNode } from "react";

export interface KeyValuesElTypeProps {
children: ReactNode;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Typography } from "@mui/material";
import { ReactNode } from "react";
import { JSX, ReactNode } from "react";
import { TYPOGRAPHY_PROPS } from "@databiosphere/findable-ui/lib/styles/common/mui/typography";

export interface ValueElTypeProps {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { KeyValuePairs } from "@databiosphere/findable-ui/lib/components/common/KeyValuePairs/keyValuePairs";
import { Sections } from "@databiosphere/findable-ui/lib/components/common/Sections/sections";
import { useNetwork } from "../../../../../../../contexts/networkContext";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useRouter } from "next/router";
import { SyntheticEvent, useState } from "react";
import { JSX, SyntheticEvent, useState } from "react";
import { Tab, Tabs, TabTitle } from "./outline.styles";
import { useLayoutDimensions } from "@databiosphere/findable-ui/lib/providers/layoutDimensions/hook";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { CardContent } from "@databiosphere/findable-ui/lib/components/common/Card/card.styles";
import { CardActionArea } from "@databiosphere/findable-ui/lib/components/common/Card/components/CardActionArea/cardActionArea";
import { CardTitle } from "@databiosphere/findable-ui/lib/components/common/Card/components/CardTitle/cardTitle";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import {
Link,
LinkProps,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { FluidPaper } from "@databiosphere/findable-ui/lib/components/common/Paper/paper.styles";
import { Fragment } from "react";
import { JSX, Fragment } from "react";
import { BICCNPublication } from "../../../../../../../@types/network";
import {
useNetwork,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BackPageHero } from "@databiosphere/findable-ui/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero";
import { useMemo } from "react";
import { JSX, useMemo } from "react";
import { NETWORKS_ROUTE } from "../../../../../../constants/routes";
import { useNetwork } from "../../../../../../contexts/networkContext";
import { HeroTitle } from "../../../../../common/Hero/components/Title/components/HeroTitle/heroTitle";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { StaticImage } from "@databiosphere/findable-ui/lib/components/common/StaticImage/staticImage";
import {
Tabs as DXTabs,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { FluidPaper } from "@databiosphere/findable-ui/lib/components/common/Paper/paper.styles";
import { BackPageContentSingleColumn } from "@databiosphere/findable-ui/lib/components/Layout/components/BackPage/backPageView.styles";
import { useNetworkList } from "../../../../../../hooks/useNetworkList";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { StaticImage } from "@databiosphere/findable-ui/lib/components/common/StaticImage/staticImage";
import { Tooltip, Typography } from "@mui/material";
import { useRouter } from "next/router";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { formatCountSize } from "@databiosphere/findable-ui/lib/utils/formatCountSize";
import { Divider } from "@mui/material";
import { useSummary } from "../../../../../../contexts/summaryContext";
Expand Down
1 change: 1 addition & 0 deletions components/Home/components/SectionHero/sectionHero.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import {
ANCHOR_TARGET,
REL_ATTRIBUTE,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import {
ANCHOR_TARGET,
REL_ATTRIBUTE,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { TypographyWordBreak } from "@databiosphere/findable-ui/lib/components/common/Typography/TypographyWordBreak/TypographyWordBreak";
import { Link as DXLink } from "@databiosphere/findable-ui/lib/components/Links/components/Link/link";
import { replaceParameters } from "@databiosphere/findable-ui/lib/utils/replaceParameters";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { Table as MTable } from "@mui/material";
import { TableContainer } from "./table.styles";

Expand Down
2 changes: 1 addition & 1 deletion components/Layout/components/Content/content.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ReactNode } from "react";
import { JSX, ReactNode } from "react";
import { Content as MDXContent } from "./content.styles";
import { useLayoutDimensions } from "@databiosphere/findable-ui/lib/providers/layoutDimensions/hook";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { ButtonProps as DXButtonProps } from "@databiosphere/findable-ui/lib/components/common/Button/button";
import { ButtonOutline as DXButtonOutline } from "@databiosphere/findable-ui/lib/components/common/Button/components/ButtonOutline/buttonOutline";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { CustomSVGIconProps } from "@databiosphere/findable-ui/lib/components/common/CustomIcon/common/entities";
import { SvgIcon } from "@mui/material";

Expand Down
2 changes: 1 addition & 1 deletion components/common/Figure/figure.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
StaticImage,
StaticImageProps,
} from "@databiosphere/findable-ui/lib/components/common/StaticImage/staticImage";
import { ReactNode } from "react";
import { JSX, ReactNode } from "react";
import { Figure as FigureWithCaption } from "./figure.styles";

export interface ImageProps extends StaticImageProps {
Expand Down
1 change: 1 addition & 0 deletions components/common/Head/head.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import NextHead from "next/head";

export interface HeadProps {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { StaticImage } from "@databiosphere/findable-ui/lib/components/common/StaticImage/staticImage";
import { Typography } from "@mui/material";
import { NetworkKey } from "../../../../../../../@types/network";
Expand Down
1 change: 1 addition & 0 deletions components/common/IconLink/iconLink.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import {
StaticImage,
StaticImageProps,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import {
MetadataValue,
NTagCell,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { SectionTitle } from "@databiosphere/findable-ui/lib/components/common/Section/components/SectionTitle/sectionTitle";
import { Link } from "@databiosphere/findable-ui/lib/components/Links/components/Link/link";
import { Typography } from "@mui/material";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { SectionTitle } from "@databiosphere/findable-ui/lib/components/common/Section/components/SectionTitle/sectionTitle";
import { GridPaperSection } from "@databiosphere/findable-ui/lib/components/common/Section/section.styles";
import { Network } from "../../../../../@types/network";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { SectionTitle } from "@databiosphere/findable-ui/lib/components/common/Section/components/SectionTitle/sectionTitle";
import { GridPaperSection } from "@databiosphere/findable-ui/lib/components/common/Section/section.styles";
import { Link } from "@databiosphere/findable-ui/lib/components/Links/components/Link/link";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { SectionTitle } from "@databiosphere/findable-ui/lib/components/common/Section/components/SectionTitle/sectionTitle";
import {
Link,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Grid } from "@databiosphere/findable-ui/lib/components/common/Grid/grid";
import { Typography } from "@mui/material";
import { ReactNode } from "react";
import { JSX, ReactNode } from "react";
import { TYPOGRAPHY_PROPS } from "@databiosphere/findable-ui/lib/styles/common/mui/typography";

export interface DialogContentSectionProps {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { StaticImage } from "@databiosphere/findable-ui/lib/components/common/StaticImage/staticImage";
import { Link } from "@databiosphere/findable-ui/lib/components/Links/components/Link/link";
import { Network } from "../../../../../../../@types/network";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { DatasetAsset } from "../../../../../../../../../@types/network";
import {
Dialog,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Link } from "@databiosphere/findable-ui/lib/components/Links/components/Link/link";
import { Fragment } from "react";
import { JSX, Fragment } from "react";
import { Typography } from "@mui/material";
import { TYPOGRAPHY_PROPS } from "@databiosphere/findable-ui/lib/styles/common/mui/typography";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { formatFileSize } from "@databiosphere/findable-ui/lib/utils/formatFileSize";
import { Fragment } from "react";
import { JSX, Fragment } from "react";
import { DatasetAsset } from "../../../../../../../../../../../@types/network";
import { FileSize } from "./cxgDownloadFileSize.styles";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { JSX } from "react";
import { Grid } from "@databiosphere/findable-ui/lib/components/common/Grid/grid";
import { Typography } from "@mui/material";
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useState } from "react";
import { JSX, useState } from "react";
import {
CXG_DATASET_FILE_TYPE,
DatasetAsset,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DownloadIcon } from "@databiosphere/findable-ui/lib/components/common/CustomIcon/components/DownloadIcon/downloadIcon";
import { useState } from "react";
import { JSX, useState } from "react";
import { DatasetAsset } from "../../../../../../../@types/network";
import { CXGDownloadDialog } from "./components/CXGDownloadDialog/cxgDownloadDialog";
import { StyledIconButton } from "./cxgDownloadCell.styles";
Expand Down
3 changes: 2 additions & 1 deletion components/common/Typography/components/Heading/heading.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { JSX } from "react";
import { AnchorLink } from "@databiosphere/findable-ui/lib/components/common/AnchorLink/anchorLink";
import { Typography } from "@mui/material";
import { slugifyHeading } from "../../../../../plugins/common/utils";
import { slugifyHeading } from "@databiosphere/findable-ui/lib/utils/mdx/plugins/utils";
import { TYPOGRAPHY_PROPS } from "@databiosphere/findable-ui/lib/styles/common/mui/typography";

export interface HeadingProps {
Expand Down
Loading