And install the latest Command Line Interface (CLI) with:
npm install --global @sanity/cli
A recurring annoyance in the content studio has been the ability to move focus between fields using the tab key, and also restore focus in list items after completed editing. We have rewritten the way we handle focus and made sure all input fields can be focused. This should also improve the overall accessibility of the Content Studio. As a bonus, this change also unlocks the possibility to deep link to any input field in the content studio, which is something we plan to introduced in a near-future release.
You can now upload image data directly from the clipboard to an image field by pasting into the image field.
Pasting is still not implemented for block text, but works for image fields and image arrays.
Note: Today's browsers has very limited support for pasting files copied from the file system, so for now pasting images only works for image data, e.g. screenshots or if copy is done from an image editor.
The previews are now more easy to customize. All preview props title, subtitle, description, media, status now take string, react nodes and functions and render them properly. The media prop is now preferred over the earlier imageUrl prop, as you might want the thumbnail to be a custom component instead of just an image.
Hotspot UI now uses smaller images and debounced update patches to rid us of jank.
The loading screen is now dark and monochrome.
|Bjørge Næss||form-builder Make inputs focusable and manage form builder focus (#393)||8588a3974|
|Bjørge Næss||components Clean up tags textfield and make focusable (#369)||64157d07f|
|Bjørge Næss||components Cleanup fieldset - support isExpanded by default (#398)||dd80131f6|
|Espen Hovlandsdal||components Fix warnings caused by stray isSelected being passed to input||590da1e73|
|Kristoffer J. Sivertsen||infrastructure More customizable preview (#414)||8c3e15152|
|Kristoffer J. Sivertsen||base Loading screen and animated Content Studio Logo (with CSS) (#416)||819aa1abe|
|Kristoffer J. Sivertsen||imagetool Better UX on image tool (#426)||fc0cc625a|
|Simen Svale Skogsrud||mutator Added a few more test cases for insert/replace patches||9faee41ef|
|Kristoffer J. Sivertsen||components Fix "input inside button"-issue, solves upload button not working in Firefox||1ebb26943|
|Espen Hovlandsdal||imagetool Fix hotspot drag not working in Firefox||cd4cfd61c|
|Kristoffer J. Sivertsen||components Design/tweaks (#439)||2a2b147af|
|Espen Hovlandsdal||cli Enable prepublish script||9370cc14d|
|Kristoffer J. Sivertsen||base Set spinner zIndex (#443)||9e0459f43|
|Bjørge Næss||deps Upgrade @sanity/image-url (#444)||9628a77f5|
|Per-Kristian Nordnes||block-tools Start block markDefs from empty array (#441)||026b198c3|
|Bjørge Næss||components Fix ellipsis in array preview (#447)||2d0ed4819|
|Bjørge Næss||test-studio Refine image test document types (#446)||6611d8601|
|Kristoffer J. Sivertsen||desk-tool Force update of documents pane with key (#448)||9e1951078|
|Per-Kristian Nordnes||base/form-builder Fix/blockquote css (#451)||c90674ec5|
|Bjørge Næss||test-studio Define a media preview to array of predefined colors||d32c54e48|
|Bjørge Næss||form-builder Remove scroll into view offset on FormBuilderInput (#453)||0ba58da10|
|Bjørge Næss||cli Fix eslint error||4618e7ad5|
|Bjørge Næss||default-layout Fix external intent links not working. Fixes #404 (#460)||2e9888fbc|
|Bjørge Næss||base Use span instead of div as wrapper element in PreviewSubscriber (#465)||4120dde28|
|Bjørge Næss||components Fix: unable to close reference search popover (#463)||4d95af1af|
|Bjørge Næss||components Make DefaultTextArea focusable (#462)||6fd1b6afe|
|Bjørge Næss||components Reduce amount of duplicated code for button variants (#464)||c0bc12d8d|
|Bjørge Næss||form-builder Refactor file and image fields (#401)||3bdae0f57|
|Kristoffer J. Sivertsen||design Monochrome loading screen. Not bold (#466)||e963d9b9c|