Skip to content

Commit 19f089d

Browse files
authored
chore: update findable-ui to latest 47.0.2 (#4613) (#4614)
* chore: update findable-ui to latest 47.0.2 (#4613) * fix: emotion import, and development mdx (#4613) --------- Co-authored-by: Fran McDade <18710366+frano-m@users.noreply.github.com>
1 parent 184cd4e commit 19f089d

22 files changed

+18375
-29689
lines changed

.github/workflows/run-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- uses: actions/checkout@v2
99
- uses: actions/setup-node@v2
1010
with:
11-
node-version: "20.10.0"
11+
node-version: "22.12.0"
1212
- run: |
1313
npm ci
1414
npm run check-format

.github/workflows/run-playwright-tests-anvil-catalog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-node@v3
1414
with:
15-
node-version: "20.10.0"
15+
node-version: "22.12.0"
1616
- name: Install dependencies
1717
run: |
1818
npm ci

.github/workflows/run-playwright-tests-anvil-cmg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-node@v3
1414
with:
15-
node-version: "20.10.0"
15+
node-version: "22.12.0"
1616
- name: Install dependencies
1717
run: |
1818
npm ci

.gitlab/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM node:20.10.0-bullseye
1+
FROM node:22.12.0-bullseye
22

33
RUN apt-get update && apt-get install -y curl

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The HCA Data Browser is built using [Next.js](https://nextjs.org/).
66

77
## Prerequisites
88

9-
Node.js 20.10.0 is required to run the app.
9+
Node.js 22.12.0 is required to run the app.
1010

1111
### 1. Clone the Repo
1212

app/components/Detail/components/GeneratedMatricesTables/components/ArchivePreviewDialog/archivePreviewDialog.styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import styled from "@emotion/styled/dist/emotion-styled.cjs";
1+
import styled from "@emotion/styled";
22
import { Dialog, DialogActions, DialogContent } from "@mui/material";
33

44
export const ArchivePreviewDialog = styled(Dialog)`

app/components/Detail/components/GeneratedMatricesTables/components/ArchivePreviewDialog/components/ArchivePreviewTable/archivePreviewTable.styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import styled from "@emotion/styled/dist/emotion-styled.cjs";
1+
import styled from "@emotion/styled";
22
import { Typography } from "@mui/material";
33

44
export const ArchivePreviewNotAvailable = styled(Typography)`

app/components/Detail/components/GeneratedMatricesTables/components/FileNameCell/fileNameCell.tsx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@ export interface FileNameCellProps {
66
fileName: string;
77
}
88

9-
export const FileNameCell = ({
10-
// archivePreview,
11-
fileName,
12-
}: FileNameCellProps): JSX.Element => {
13-
return (
14-
<Cell>
15-
{fileName}
16-
{/*{archivePreview}*/}
17-
</Cell>
18-
);
9+
export const FileNameCell = ({ fileName }: FileNameCellProps): JSX.Element => {
10+
return <Cell>{fileName}</Cell>;
1911
};

app/components/common/NetworkIcon/networkIcon.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ import {
55
import { NETWORK_ICONS } from "../../Index/common/constants";
66
import { NetworkKey } from "../../Index/common/entities";
77

8-
export interface NetworkIconProps
9-
extends Pick<StaticImageProps, "height" | "width"> {
8+
export interface NetworkIconProps extends Pick<
9+
StaticImageProps,
10+
"height" | "width"
11+
> {
1012
networkKey: NetworkKey;
1113
}
1214

app/content/common/contentPages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export async function getContentStaticProps(
3636
const { content } = matter(markdownWithMeta);
3737
const mdxSource = await serialize(content, {
3838
mdxOptions: {
39-
development: false, // See https://github.com/hashicorp/next-mdx-remote/issues/307#issuecomment-1363415249 and https://github.com/hashicorp/next-mdx-remote/issues/307#issuecomment-1378362096.
39+
development: process.env.NODE_ENV === "development",
4040
rehypePlugins: [],
4141
remarkPlugins: [],
4242
},

0 commit comments

Comments
 (0)