Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
✨ Highlights
- Adds support for Sanity UI based Toasts in the Studio
- Migrates default image and file inputs to Sanity UI
Other features
- Adds ability to delete incomplete uploads in the UI
🐛 Notable bugfixes
- Fixes issue with message saying "Files not supported 'unknown.txt'" sometimes appearing on drag'n'drop in studio
- Fixes various focus and paste related visual issues in image and file inputs
📓 Full changelog
Author | Message | Commit |
---|---|---|
Bjørge Næss | chore: add depcheck script for checking monorepo packages | 03be7ab |
Bjørge Næss | ci(cypress): read env vars from local .env | 1f35fe1 |
Bjørge Næss | ci(cypress): run e2e tests on the studio production build | 85c54c3 |
Bjørge Næss | ci(cypress) build all monorepo packages before building test-studio | e2f5292 |
Bjørge Næss | chore(base): fix layer=true React props warning | 83891a9 |
Bjørge Næss | chore(imagetool) Disable eslint rules causing errors | 11576f1 |
Bjørge Næss | chore(base) Add JSX to eslint globals | a747217 |
Benedicte Emilie Brækken | chore(form-builder) Fix lint error | 7e4668c |
Benedicte Emilie Brækken | chore(form-builder) Ignore no-console console.warn | 29a1bfc |
Marius Lundgård | chore(form-builder): disable import/no-unresolved rule in TS file
| 735d35f |
Benedicte Emilie Brækken | refactor(base): expose ScrollContainer as package export in addition to part | 0a755c9 |
Bjørge Næss | fix(base): import legacy scroll container/monitor from components | 6ebf786 |
Bjørge Næss | fix(form-builder): use capture for scroll listener in ScrollContainer | d892fed |
Bjørge Næss | fix(form-builder): Only show form field header in FormFieldSet when a title prop is given | 766ad10 |
Bjørge Næss | perf(desk-tool): always re-use same focus path instance | d79a5da |
Marius Lundgård | fix(base): increase z-index of change indicator wrapper on hover so icon is not hidden | 3abf1cb |
Marius Lundgård | refactor(examples): add more validation examples | 01b85f0 |
Marius Lundgård | perf(form-builder): use memoization to prevent unecessary rerendering of primitive inputs | ca4e0d7 |
Bjørge Næss | fix(base): make sure ToggleButton's delegate button gets type="button" | 2675be8 |
Marius Lundgård | refactor(base): add support for using toasts in studio | 1667a23 |
Marius Lundgård | refactor(desk-tool): replace snackbars with toasts | 54bf01f |
Marius Lundgård | fix(base): introduce a z-offset for toasts | fc3ac66 |
Bjørge Næss | fix(base): add workaround for duplicate error toasts in dev | 3c6921c |
Bjørge Næss | fix(form-builder): add new Alert component | 4da7b5e |
Bjørge Næss | refactor(form-builder): use new alert and formfield components in reference input | cbfa44c |
Bjørge Næss | chore(form-builder): remove stories | adfbc0f |
Bjørge Næss | refactor(form-builder): cleanup typings | a35b8aa |
Bjørge Næss | fix(base): export change indicators from base/components | bd15312 |
Bjørge Næss | refactor(form-builder): add transitional components and legacy parts | fb87224 |
Bjørge Næss | refactor(form-builder): migrate image and file inputs to Sanity UI | ab3e476 |
Bjørge Næss | fix(types): add asset source typings | 631bd1e |
Bjørge Næss | fix(form-builder): disable support for datatransfer with kind=string | b2682a3 |
Bjørge Næss | fix(form-builder) give image and file inputs proper focus ring style | c6a9a3a |
Bjørge Næss | fix(form-builder): add padding to the AssetBackground | ba22132 |
Bjørge Næss | fix(form-builder) add padding to default asset source dialog | 3d8f9a4 |
Bjørge Næss | fix(form-builder): add onClose handler on default asset source dialog
| 893bf44 |
Bjørge Næss | fix(form-builder): Prevent layout shift when selecting/uploading image | 6f11969 |
Bjørge Næss | perf(form-builder): integrate perf fixes from main | a997183 |
Marius Lundgård | refactor(form-builder): improve use of @sanity/ui in FileInput
| 55665eb |
Marius Lundgård | style(form-builder): disable eslint rules and move todo comment | f8a3913 |
Marius Lundgård | refactor(form-builder): adjust spacing and fix lint warnings | c8875b0 |
Marius Lundgård | refactor(form-builder): improve UI of DefaultSource | 7a0a1bf |
Marius Lundgård | refactor(form-builder): improve styles of image and file inputs | b2f8056 |
Marius Lundgård | fix(form-builder): fix typo in image upload placeholder | ee9b6fd |
Bjørge Næss | fix(form-builder): make the "Paste"-text on file & image input fade in/out on focus/blur | a6aed52 |
Marius Lundgård | fix(form-builder): disable focus of ImageInput and FileInput when read-only | b2f286a |
Marius Lundgård | refactor(form-builder): do not render fieldset level when ImageInput and FileInput only has asset | e7d50e6 |
Bjørge Næss | fix(form-builder): make the Paste -text on file & image input fade in/out on focus/blur
| b79cec2 |
Bjørge Næss | fix(form-builder): add workaround for safari rendering select file button as native button | b2422e9 |