Skip to content

fix: fix next/image type error and remove @next/third-parties - #50

Merged
sburton84 merged 1 commit into
mainfrom
fix-type-error
Jul 28, 2026
Merged

fix: fix next/image type error and remove @next/third-parties#50
sburton84 merged 1 commit into
mainfrom
fix-type-error

Conversation

@sburton84

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates workspace dependencies and adjusts the TripleCard image-component prop typing to resolve a next/image assignability/type mismatch, while also removing the unused @next/third-parties dependency from the Sphinx React package.

Changes:

  • Remove @next/third-parties from sphinx-ui/react and bump several build/dev dependencies (e.g., postcss, prettier, autoprefixer, @quantinuum/quantinuum-ui).
  • Refine TripleCardImageProps so src is explicitly string, keeping next/image components assignable as the imageComponent.
  • Bump tooling dependencies in documentation-ui (Storybook, ESLint, PostCSS, semantic-release, typescript-eslint).

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
sphinx-ui/react/package.json Removes @next/third-parties and updates Sphinx React package dependencies.
documentation-ui/src/custom/docs/components/triplecard/index.tsx Fixes next/image compatibility by narrowing src in TripleCardImageProps to string.
documentation-ui/package.json Updates development/tooling dependencies (Storybook, ESLint, PostCSS, release tooling).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sburton84
sburton84 marked this pull request as ready for review July 28, 2026 14:27
@sburton84
sburton84 merged commit cab0389 into main Jul 28, 2026
5 checks passed
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.

2 participants