Summary
Upgrade @databiosphere/findable-ui from 52.2.0 → ^53.1.0 and adopt the breaking changes from the v53.0.0 release.
Breaking changes from v53.0.0
Two breaking changes since 52.2.0 (per the findable-ui changelog):
Changes for this consumer (data-biosphere)
- Bump dep —
"@databiosphere/findable-ui": "^53.1.0".
- Remove
isomorphic-dompurify from dependencies — no longer a findable-ui peer, and no direct usages in app/, pages/, or site-config/.
- Migrate
Markdown → MarkdownRenderer in three places (the only usages in the repo):
app/components/index.tsx (barrel re-export)
app/viewModelBuilders/catalog/anvil-catalog/common/viewModelBuilders.ts (buildStudyDescription, prop name content → value)
site-config/anvil-catalog/dev/detail/study/overviewMainColumn.ts (component config reference)
Peer-dependency audit
All other findable-ui peer dependencies (emotion, MUI v7, tanstack, ky, next, react 19, rehype/remark/unified, yup, etc.) are already satisfied by data-biosphere's current dependencies. next-auth is optional in findable-ui and not used here.
react-gtm-module was removed as a findable-ui peer in v52.0.0, but data-biosphere imports it directly in pages/_app.tsx, so it stays in this repo's dependencies as consumer-owned.
Acceptance criteria
Out of scope
The collapsible Terra info work (#4816, branch fran/4816-collapsable-terra-info) depends on findable-ui v53 features but is tracked separately. After this upgrade lands, that branch should rebase onto main.
Summary
Upgrade
@databiosphere/findable-uifrom52.2.0→^53.1.0and adopt the breaking changes from the v53.0.0 release.Breaking changes from v53.0.0
Two breaking changes since
52.2.0(per the findable-ui changelog):Markdowncomponent andisomorphic-dompurifypeer dependency. Consumers should migrate toMarkdownRenderer(unified/remark/rehype-react, sanitised at the AST stage viarehype-sanitize).Changes for this consumer (data-biosphere)
"@databiosphere/findable-ui": "^53.1.0".isomorphic-dompurifyfromdependencies— no longer a findable-ui peer, and no direct usages inapp/,pages/, orsite-config/.Markdown→MarkdownRendererin three places (the only usages in the repo):app/components/index.tsx(barrel re-export)app/viewModelBuilders/catalog/anvil-catalog/common/viewModelBuilders.ts(buildStudyDescription, prop namecontent→value)site-config/anvil-catalog/dev/detail/study/overviewMainColumn.ts(component config reference)Peer-dependency audit
All other findable-ui peer dependencies (emotion, MUI v7, tanstack, ky, next, react 19, rehype/remark/unified, yup, etc.) are already satisfied by data-biosphere's current
dependencies.next-authis optional in findable-ui and not used here.react-gtm-modulewas removed as a findable-ui peer in v52.0.0, but data-biosphere imports it directly inpages/_app.tsx, so it stays in this repo'sdependenciesas consumer-owned.Acceptance criteria
package.jsonbumped to^53.1.0isomorphic-dompurifyremoved fromdependenciesMarkdown→MarkdownRenderermigration in the three files abovenpx tsc --noEmitpassesnpm run lintandnpm run check-formatpassnpm run build:anvil-cmg)dev:anvil-catalogand verify the Description section still renders correctly (the new renderer applies MUI Typography styles; visual output may shift slightly)Out of scope
The collapsible Terra info work (#4816, branch
fran/4816-collapsable-terra-info) depends on findable-ui v53 features but is tracked separately. After this upgrade lands, that branch should rebase ontomain.