Skip to content

Extract VegaVisualization to separate package#3102

Draft
richadr wants to merge 27 commits intomainfrom
feature/vega-visualization-react
Draft

Extract VegaVisualization to separate package#3102
richadr wants to merge 27 commits intomainfrom
feature/vega-visualization-react

Conversation

@richadr
Copy link
Copy Markdown
Member

@richadr richadr commented Apr 2, 2026

No description provided.

richadr added 26 commits April 1, 2026 13:35
…kage.json

This should have been done before, and gives errors now that React is upgraded
Also add these dependencies to storybook-react.  It previously depended on having a transitive dependency on these packages through a
denhaag import (which imported utrecht again), but it needs to be explicit now otherwise you'll still get the old
version.
…ga upgrade

`VegaVisualization` now has an `options` prop which is passed into the underlying `VegaEmbed` component. The `actions` prop, which can also be controlled through `options`, has been deprecated.
Gatsby supports React 19 from 5.16.0 onwards.  It is only used in BreadcrumbNav.test.tsx, which breaks on older versions of Gatsby.
This was done because this otherwise requires ts-node to be added as a dependency to run the tests
Needs @testing-library/react@16.1.0 for React 19 support. Since 16.0.0 introduced a breaking change where @testing-library/dom is now a peerDependency, this was added as a devDependency where it was missing. Mosts tests also failed because react-dom was not available, and this was also added as a devDependency.
As a tradeoff, the :only-child is removed because there are now two <body>s.
Since React 19 forbids rendering `<html>` as a child of anything, testing it is impossible using `render()`.
Components seem to be migrated. This cleans up about 50 transitive dependencies.
Fixes a build error on Vercel.  Does not affect runtime behavior.
@storybook/blocks did not get a v9
Since this name is not exposed, it should not have any side effects.
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
utrecht Error Error Apr 2, 2026 2:24pm

Request Review

@richadr richadr force-pushed the feature/vega-visualization-react branch from 07c9590 to 69bd976 Compare April 2, 2026 14:16
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 2, 2026

Base automatically changed from chore/react-19 to main April 6, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant