@databiosphere/findable-ui 49.6.0 → 50.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "49.6.0"
2
+ ".": "50.0.0"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## [50.0.0](https://github.com/DataBiosphere/findable-ui/compare/v49.6.0...v50.0.0) (2026-03-20)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * update minor dependencies to resolve npm audit vulnerabilities ([#828](https://github.com/DataBiosphere/findable-ui/issues/828))
9
+
10
+ ### Bug Fixes
11
+
12
+ * update 'open to terra' button to be a href ([#825](https://github.com/DataBiosphere/findable-ui/issues/825)) ([#826](https://github.com/DataBiosphere/findable-ui/issues/826)) ([49f686a](https://github.com/DataBiosphere/findable-ui/commit/49f686ac3eae32c9dbe3dfb1762f5c7a62a1ed12))
13
+ * update nih account title to include researcher auth service (ras) ([#832](https://github.com/DataBiosphere/findable-ui/issues/832)) ([#833](https://github.com/DataBiosphere/findable-ui/issues/833)) ([bc424e6](https://github.com/DataBiosphere/findable-ui/commit/bc424e66e2babe513faf12302070bec67554d4be))
14
+
15
+
16
+ ### Chores
17
+
18
+ * update minor dependencies to resolve npm audit vulnerabilities ([#827](https://github.com/DataBiosphere/findable-ui/issues/827)) ([954fe91](https://github.com/DataBiosphere/findable-ui/commit/954fe91ff941bb0abfedcb5dd0e10d773d6b5cd4))
19
+ * update minor dependencies to resolve npm audit vulnerabilities ([#828](https://github.com/DataBiosphere/findable-ui/issues/828)) ([954fe91](https://github.com/DataBiosphere/findable-ui/commit/954fe91ff941bb0abfedcb5dd0e10d773d6b5cd4))
20
+
3
21
  ## [49.6.0](https://github.com/DataBiosphere/findable-ui/compare/v49.5.0...v49.6.0) (2026-03-12)
4
22
 
5
23
 
@@ -1,11 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { ButtonPrimary } from "../../../../../common/Button/components/ButtonPrimary/buttonPrimary";
3
2
  import { FluidPaper } from "../../../../../common/Paper/paper.styles";
4
3
  import { ANCHOR_TARGET, REL_ATTRIBUTE, } from "../../../../../Links/common/entities";
5
4
  import { Section, SectionActions, SectionContent, } from "../../../../export.styles";
5
+ import { BUTTON_PROPS } from "../../../../../../styles/common/mui/button";
6
+ import { Button, Link } from "@mui/material";
6
7
  export const ExportToTerraReady = ({ ExportToTerraSuccess, exportURL, }) => {
7
- const onOpenTerra = () => {
8
- window.open(exportURL, ANCHOR_TARGET.BLANK, REL_ATTRIBUTE.NO_OPENER_NO_REFERRER);
9
- };
10
- return (_jsx(FluidPaper, { children: _jsxs(Section, { children: [_jsx(SectionContent, { children: _jsx(ExportToTerraSuccess, {}) }), _jsx(SectionActions, { children: _jsx(ButtonPrimary, { onClick: onOpenTerra, children: "Open Terra" }) })] }) }));
8
+ return (_jsx(FluidPaper, { children: _jsxs(Section, { children: [_jsx(SectionContent, { children: _jsx(ExportToTerraSuccess, {}) }), _jsx(SectionActions, { children: _jsx(Button, { color: BUTTON_PROPS.COLOR.PRIMARY, component: Link, href: exportURL, rel: REL_ATTRIBUTE.NO_OPENER_NO_REFERRER, target: ANCHOR_TARGET.BLANK, variant: BUTTON_PROPS.VARIANT.CONTAINED, children: "Open Terra" }) })] }) }));
11
9
  };
@@ -6,5 +6,5 @@ export const ConnectTerraToNIHAccount = ({ active, completed, step, }) => {
6
6
  const onGotoTutorial = () => {
7
7
  window.open("https://support.terra.bio/hc/en-us/articles/32634034451099-RAS-Integration-for-AnVIL-Data-Launching-3-25-26", ANCHOR_TARGET.BLANK, REL_ATTRIBUTE.NO_OPENER_NO_REFERRER);
8
8
  };
9
- return (_jsx(FormStep, { action: _jsx(ButtonPrimary, { onClick: onGotoTutorial, children: "Go to Tutorial" }), active: active, completed: completed, step: step, text: _jsx("p", { children: "Next, connect your Terra account to your NIH account by following the tutorial below." }), title: "Connect Terra to your NIH account" }));
9
+ return (_jsx(FormStep, { action: _jsx(ButtonPrimary, { onClick: onGotoTutorial, children: "Go to Tutorial" }), active: active, completed: completed, step: step, text: _jsx("p", { children: "Next, connect your Terra account to your NIH Researcher Auth Service (RAS) account by following the tutorial below." }), title: "Connect Terra to your NIH Researcher Auth Service (RAS) account" }));
10
10
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databiosphere/findable-ui",
3
- "version": "49.6.0",
3
+ "version": "50.0.0",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
@@ -25,7 +25,7 @@
25
25
  "@commitlint/cli": "^20.2.0",
26
26
  "@commitlint/config-conventional": "^20.2.0",
27
27
  "@emotion/jest": "^11.14.2",
28
- "@next/eslint-plugin-next": "^15.5.9",
28
+ "@next/eslint-plugin-next": "^15.5.13",
29
29
  "@storybook/nextjs-vite": "^10.1.10",
30
30
  "@testing-library/react": "^16.3.1",
31
31
  "@types/d3": "^7.4.3",
@@ -36,7 +36,7 @@
36
36
  "@types/react-window": "^1.8.5",
37
37
  "@typescript-eslint/eslint-plugin": "^8.50.0",
38
38
  "eslint": "^8.57.1",
39
- "eslint-config-next": "^15.5.9",
39
+ "eslint-config-next": "^15.5.13",
40
40
  "eslint-config-prettier": "^10.1.8",
41
41
  "eslint-plugin-eslint-comments": "^3.2.0",
42
42
  "eslint-plugin-jsdoc": "^61.5.0",
@@ -69,7 +69,7 @@
69
69
  "gray-matter": "^4.0.3",
70
70
  "isomorphic-dompurify": "^2.34.0",
71
71
  "ky": "^1.7.2",
72
- "next": "^15.5.9",
72
+ "next": "^15.5.13",
73
73
  "next-auth": "^4.24.13",
74
74
  "next-mdx-remote": "^5.0.0",
75
75
  "react": "^19.2.3",
@@ -1,5 +1,4 @@
1
1
  import { JSX, ElementType } from "react";
2
- import { ButtonPrimary } from "../../../../../common/Button/components/ButtonPrimary/buttonPrimary";
3
2
  import { FluidPaper } from "../../../../../common/Paper/paper.styles";
4
3
  import {
5
4
  ANCHOR_TARGET,
@@ -10,6 +9,8 @@ import {
10
9
  SectionActions,
11
10
  SectionContent,
12
11
  } from "../../../../export.styles";
12
+ import { BUTTON_PROPS } from "../../../../../../styles/common/mui/button";
13
+ import { Button, Link } from "@mui/material";
13
14
 
14
15
  export interface ExportToTerraReadyProps {
15
16
  ExportToTerraSuccess: ElementType;
@@ -20,13 +21,6 @@ export const ExportToTerraReady = ({
20
21
  ExportToTerraSuccess,
21
22
  exportURL,
22
23
  }: ExportToTerraReadyProps): JSX.Element => {
23
- const onOpenTerra = (): void => {
24
- window.open(
25
- exportURL,
26
- ANCHOR_TARGET.BLANK,
27
- REL_ATTRIBUTE.NO_OPENER_NO_REFERRER,
28
- );
29
- };
30
24
  return (
31
25
  <FluidPaper>
32
26
  <Section>
@@ -34,7 +28,16 @@ export const ExportToTerraReady = ({
34
28
  <ExportToTerraSuccess />
35
29
  </SectionContent>
36
30
  <SectionActions>
37
- <ButtonPrimary onClick={onOpenTerra}>Open Terra</ButtonPrimary>
31
+ <Button
32
+ color={BUTTON_PROPS.COLOR.PRIMARY}
33
+ component={Link}
34
+ href={exportURL}
35
+ rel={REL_ATTRIBUTE.NO_OPENER_NO_REFERRER}
36
+ target={ANCHOR_TARGET.BLANK}
37
+ variant={BUTTON_PROPS.VARIANT.CONTAINED}
38
+ >
39
+ Open Terra
40
+ </Button>
38
41
  </SectionActions>
39
42
  </Section>
40
43
  </FluidPaper>
@@ -34,11 +34,11 @@ export const ConnectTerraToNIHAccount = ({
34
34
  step={step}
35
35
  text={
36
36
  <p>
37
- Next, connect your Terra account to your NIH account by following the
38
- tutorial below.
37
+ Next, connect your Terra account to your NIH Researcher Auth Service
38
+ (RAS) account by following the tutorial below.
39
39
  </p>
40
40
  }
41
- title="Connect Terra to your NIH account"
41
+ title="Connect Terra to your NIH Researcher Auth Service (RAS) account"
42
42
  />
43
43
  );
44
44
  };