Repository navigation
chore(deps): update examples to @sanity/ui v4 and @sanity/icons v5 - #150
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
bjoerge
approved these changes
Nov 23, 2026
stipsan
enabled stacked auto-merge (squash)
November 23, 2026 15:48
stipsan
disabled stacked auto-merge
November 23, 2026 17:31
stipsan
force-pushed
the
cody/sanity-ui-v4-f6dd
branch
from
November 23, 2026 17:32
ecac0aa to
23525a1
Compare
Co-authored-by: Cody Olsen <stipsan@users.noreply.github.com>
stipsan
force-pushed
the
cody/sanity-ui-v4-f6dd
branch
from
November 23, 2026 17:32
23525a1 to
b50b9fa
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves both examples to
@sanity/ui4.4 and@sanity/icons5.4, following the v3 → v4 migration guide:@sanity/ui/styles.cssbefore renderingThemeProviderspace→gapMenu*imports now come from@sanity/ui/menucolumns/rows/cols→gridTemplateColumns/gridTemplateRowswidthonCardandsizeonFlex. They were never valid props, just passed through to thediv, and v4 types reject them.@sanity/icons/Trash). The root entry only keepsnevertype stubs for them, so these misses show up invite build, not intsc.I built the web example with a placeholder project ID and screenshotted it headless on v3 and v4. The screenshots are byte-identical, both on load and after navigating.
web-example-sanity-ui-v4.webm
Stacked on #149; last in the stack.
Checked locally: lint, typecheck, typecheck:examples, build, test, prettier,
vite buildfor both examples,docs:build.To show artifacts inline, enable in settings.