npm @sanity/desk-tool 2.22.0
v2.22.0

latest releases: 2.36.6, 2.36.4, 2.36.2...
2 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

Portable Text Editor Input migrated to Sanity UI

We have now migrated the Portable Text (PT) editor in the Sanity Studio to use Sanity UI. This marks the completion of the migration of the entire Studio to @sanity/ui.

In addition to the migration:

  • Generally improved stability and performance of the PT editor.
  • Added a new affordance for editing/removing text annotations. This will make it easier to e.g. edit link details.
  • Fixed a bug where undo/redo history was not maintained in memory when collapsing/expanding the editor.

Other features

  • Allows plan selection with sanity init --project-plan <plan>
  • Improves usability of ValidationError by making cloneWithMessage optional

📓 Full changelog

Author Message Commit
shur feat(cli): allow plan selection through CLI flag (#2924) b7d3634
Knut Melvær docs(core): fix typo in help text and error message 6a3c6ac
Espen Hovlandsdal fix(core): fix colorizing of json when input is string 57d90ca
Espen Hovlandsdal fix(core): reparse query flags to fix camelcase issue 7f3470c
Espen Hovlandsdal feat(core): allow api version for query command through env var 1c9ae8a
Marius Lundgård chore: move code examples to dev/ fb27542
Marius Lundgård chore: fix lint issues 8a588a9
Per-Kristian Nordnes refactor(form-builder): optimize pte component rendering with hooks bfa0479
Per-Kristian Nordnes refactor(form-builder): simplify props to BlockObject component 5474460
Per-Kristian Nordnes refactor(form-builder): change prop name fe2b435
Per-Kristian Nordnes refactor(form-builder): optimize rendering of portable text input with hooks 8ebea21
Per-Kristian Nordnes refactor(form-builder): optimize rendering of portable text editor toolbar with hooks 456cf7e
Per-Kristian Nordnes refactor(form-builder): simplify props for Portable Text Input ba5d6cc
Per-Kristian Nordnes refactor(form-builder): optimize rendering of object editing with hooks c8c7f9c
Per-Kristian Nordnes refactor(form-builder): simplify rendering of block extras 7db0253
hermanwikner refactor(form-builder): migrate PTE ActionMenu to @sanity/ui 90d2307
hermanwikner refactor(form-builder): migrate PTE BlockStyleSelect to @sanity/ui 0e2d533
hermanwikner refactor(form-builder): migrate PTE InsertMenu to @sanity/ui 7165289
hermanwikner refactor(form-builder): migrate PTE Toolbar to @sanity/ui 4070223
hermanwikner refactor(form-builder): remove toolbar container in PTE Editor 83c6c8a
hermanwikner refactor(form-builder): remove PTE CollapseMenu (replaced by new CollapseMenu component from base) 8ab6659
hermanwikner feat(base): improve CollapseMenu component b1654aa
hermanwikner refactor(form-builder): migrate PTE CustomIcon to styled-components 4082cc1
Per-Kristian Nordnes refactor(form-builder): move text rendering into own component TextBlock 1b762fd
Per-Kristian Nordnes test(form-builder): add to story values 10795d4
Per-Kristian Nordnes refactor(portable-text-editor): remove markup classnames and styles from output 2a65a8f
Per-Kristian Nordnes refactor(form-builder): remove class specific css rules from PT input 686378d
Per-Kristian Nordnes refactor(portable-text-editor): write clean DraggableBlock 2131607
Per-Kristian Nordnes refactor(form-builder): let BlockExtras have access to render attributes for block b1c2a84
Marius Lundgård test(form-builder): begin TextBlock workshop 2e6156e
Per-Kristian Nordnes refactor(form-builder): remove left behind import from refactoring b2c68ba
Per-Kristian Nordnes refactor(form-builder): send hasError to TextBlock 6ca0fc1
Per-Kristian Nordnes test(form-builder): rename prop for TextBlock in workshop test 98456c4
Per-Kristian Nordnes refactor(form-builder): move legacy PTE block extras parts into own folder c073960
Per-Kristian Nordnes refactor(form-builder): add typings and fix level prop issue in PTE Input a704dd8
Per-Kristian Nordnes refactor(portable-text-editor): add level to render attributes e4966ff
Per-Kristian Nordnes refactor(form-builder): move blockRef to TextBlock and BlockObject components 50eaf4e
Per-Kristian Nordnes refactor(form-builder): remove parts from PortableTextInput 23608b3
Per-Kristian Nordnes refactor(form-builder): re-use editorId as uniq id 1c06e29
Per-Kristian Nordnes refactor(form-builder): extract var to constant 3fe63cc
Per-Kristian Nordnes refactor(form-builder): fix issues with block extras f398cbe
Per-Kristian Nordnes refactor(form-builder): migrate PTE focus skipper button to Sanity/UI 28dda6c
Per-Kristian Nordnes refactor(form-builder): increase readability in PortableTextInputWithRef component 350871c
Marius Lundgård test(form-builder): improve PT workshop 7335d7a
Marius Lundgård refactor(form-builder): simplify portal setup c6f8810
hermanwikner refactor(form-builder): improve TextBlock component c890110
hermanwikner refactor(form-builder): migrate Decorator to styled-components 8448715
hermanwikner refactor(form-builder): remove old text components (replaced by TextBlock) 14645c1
hermanwikner refactor(form-builder): update TextBlock import in PortableText/Input f01a0de
hermanwikner refactor(form-builder): add EditableWrapper component with list style css in Editor e07aa67
hermanwikner refactor(form-builder): add fallback to action key in ActionMenu adb4b2a
hermanwikner refactor(form-builder): update BlockStyleSelect options c6af4e1
hermanwikner refactor(form-builder): remove renderBlock prop from Toolbar 02e2d49
hermanwikner refactor(form-builder): migrate Annotation to @sanity/ui 21a6564
Per-Kristian Nordnes refactor(portable-text-editor): move slate instance up to the PortableTextEditor context 6b9b6b3
Per-Kristian Nordnes refactor(form-builder): migrate PTE ActivateOnFocus message to Sanity/UI. f926281
Per-Kristian Nordnes refactor(form-builder): wrap PTE editable area in UI Card 665d671
Per-Kristian Nordnes refactor(form-builder): export props of PortableTextInput for testing 8da37e0
Per-Kristian Nordnes refactor(portable-text-editor): reintroduce outer div classnames 2d1fcf6
Marius Lundgård refactor(form-builder): begin migrate to @sanity/ui 341c434
Marius Lundgård test(form-builder): improve PTE workshop 05011ac
Per-Kristian Nordnes test(portable-text-editor): update snapshot with classnames 8da9505
Per-Kristian Nordnes refactor(form-builder): simplify activateOnFocusMessage ab933fe
Per-Kristian Nordnes fix(form-builder): fix hook dependencies 3f8269f
Marius Lundgård refactor(form-builder): migrate DefaultObjectEditing to @sanity/ui 7c2871d
Marius Lundgård refactor(desk-tool): migrate FullscreenObjectEditing to @sanity/ui 1c80c8c
Marius Lundgård refactor(form-builder): migrate PopoverObjectEditing to @sanity/ui 68e0e56
Marius Lundgård refactor(form-builder): improve PT toolbar perf 5b21e10
Per-Kristian Nordnes fix(form-builder): don't set focus if already active fe8fa8e
Per-Kristian Nordnes refactor(form-builder): close edit object dialogs with escape dafabd9
Per-Kristian Nordnes fix(form-builder): selection must be a dep to toolbar button hooks 3892bc8
Per-Kristian Nordnes refactor(form-builder): fix code issues in PTE Toolbar 8c623bc
Per-Kristian Nordnes docs(form-builder): add comment explaining additional hook dep and remove warning f5df889
Per-Kristian Nordnes refactor(form-builder): memo what we can in ActionMenu and InsertMenu 5bb0d3f
Marius Lundgård refactor(form-builder): improve PT toolbar perf 959b0ce
Per-Kristian Nordnes feature(portable-text-editor): support forwardRef and div-props for Editable 63d6567
Per-Kristian Nordnes test(form-builder): add to PT input workshop values aaed9e9
Marius Lundgård feat(workshop): support all:* parts e3f562f
Marius Lundgård test(form-builder): improve PTE workshop 400825a
Per-Kristian Nordnes fix(form-builder): Annotations must be positioned relative 5162679
Per-Kristian Nordnes reafactor(form-builder): fix close edit interface issues for PTE objects fed605d
Per-Kristian Nordnes refactor(form-builder): fix focus issues with PTE annotations 8359eb9
Per-Kristian Nordnes test(form-builder): add to workshop values 21beb38
Marius Lundgård refactor(base): improve block previews 4e15828
Marius Lundgård refactor(form-builer): begin improve block objects a1fea85
hermanwikner refactor(form-builder): add spacing CSS in Editor styles e9c2519
hermanwikner refactor(form-builder): add error styling to TextBlock 2edf1b1
hermanwikner refactor(form-builder): update BlockQuote 5cdb8de
hermanwikner test(form-builder): update TextBlock workshop to try out error styling e22b628
hermanwikner refactor(form-builder): update isEditing design in Annotation 32f5847
hermanwikner refactor(form-builder): add counter reset logic to EditableWrapper in Editor styles 7284efe
hermanwikner refactor(form-builder): simplify list count logic in TextBlock b77fb98
Per-Kristian Nordnes chore(form-builder): upgrade @sanity/slate-react a40e532
Per-Kristian Nordnes feature(portable-text-editor): add scrollSelectionIntoView prop and support c685bb4
Per-Kristian Nordnes feature(form-builder): let the PT input control scrolling itself 2844897
Per-Kristian Nordnes feature(portable-text-editor): make it possible to turn off scroll into view fabeb22
Per-Kristian Nordnes fix(form-builder): remove no longer needed relative placement 99a8927
hermanwikner refactor(form-builder): add padding to data-slate-node and improve click-to-focus hit area in EditableWrapper 5af0035
Per-Kristian Nordnes test(form-builder): add error states toggle to PTE workshop 1e4d40d
Per-Kristian Nordnes test(form-builder): add to PT workshop values 680c562
Marius Lundgård test(form-builder): improve PTE workshop 90bcdaf
Per-Kristian Nordnes fix(portable-text-editor): remove experimental commented out code 58b5249
hermanwikner refactor(base): improve BlockImagePreview component a4f2a44
hermanwikner refactor(base): improve BlockPreview component 30f2b5d
hermanwikner refactor(form-builder): improve BlockObject error, focused and selected states 668888a
hermanwikner refactor(form-builder): fix menu button and UI issues in BlockObjectPreview e4c9dad
hermanwikner test(base): update previews workshop f0277df
Per-Kristian Nordnes test(form-builder): add window.IntersectionObserver and window.ResizeObserver to jest test env 52a9700
Per-Kristian Nordnes test(form-builder): add customizations to PT workshop 175fac4
Per-Kristian Nordnes test(form-builder): resolve parts with Jest required by PT input tests d67dbb0
Per-Kristian Nordnes test(form-builder): test PT input block extras customizations. c250670
Per-Kristian Nordnes chore(portable-text-editor): remove unused dep. scroll-into-view-if-needed 14e735b
Per-Kristian Nordnes test(portable-text-editor): add missing domRange.getBoundingClientRect implementation be06197
Per-Kristian Nordnes chore(portable-text-editor): add missing dev.dep. jest-environment-jsdom 972aa75
hermanwikner refactor(form-builder): migrate InlineObject to @sanity/ui d60c659
hermanwikner refactor(form-builder): design updates in BlockImagePreview bcad7b8
hermanwikner test(form-builder): update BlockImagePreview story 62b3637
hermanwikner refactor(form-builder): design updates in InlinePreview b9e58fe
hermanwikner test(form-builder): add InlinePreview story ac3c531
hermanwikner refactor(form-builder): design update in BlockObject 14da26c
Per-Kristian Nordnes refactor(form-builder): make scroll into view logic use scroll container to determine logic c3378ec
Per-Kristian Nordnes test(form-builder): fix PTE workshop duplicate value keys 0845683
Marius Lundgård fix(form-builder): fix boundary and portal element issues 1b667c4
hermanwikner refactor(form-builder): update marker and error design in TextBlock 9369335
hermanwikner refactor(form-builder): update marker and error design in BlockObject 70bc6e6
hermanwikner refactor(form-builder): check if block has markers in Input 06bb643
hermanwikner test(form-builder): add marker test to TextBlock workshop 4550d2d
Marius Lundgård fix(form-builder): fix blend mode e42e036
Per-Kristian Nordnes fix(form-builder): fix lint errors 5b22a39
Per-Kristian Nordnes refactor(portable-text-editor): use blockRef as base when making draggable ghost 47561e4
Per-Kristian Nordnes test(test-studio): add custom validation to block type da41894
Per-Kristian Nordnes fix(schema): allow for validation on block type b87ae7a
Per-Kristian Nordnes fix(base): export scrollContainer props ce5b883
Per-Kristian Nordnes fix(form-builder): remove unnecessary any type dc7ef33
Per-Kristian Nordnes refactor(form-builder): WIP - new block extras design for Portable Text Input abddc73
Per-Kristian Nordnes test(form-builder): update PTE workshop 9c208e6
Per-Kristian Nordnes test(portable-text-editor): update test snapshot 6d0c38e
Per-Kristian Nordnes fix(form-builder): blockRef is optional, use optional chaning 9124490
Per-Kristian Nordnes test(form-builder): update TextBlock workshop 7de0c5a
hermanwikner chore(base): add fallbackTitle to preview types afb93c1
hermanwikner refactor(form-builder): fix styling in InlinePreview 2a34e8b
hermanwikner refactor(form-builder): add fallbackTitle to Preview 127c3ff
hermanwikner refactor(form-builder): update default icon in SanityDefaultPreview 612db28
hermanwikner refactor(form-builder): fix styling in InlineObject ebe48a3
Per-Kristian Nordnes refactor(form-builder): implement block actions visible on block focus 250b719
Per-Kristian Nordnes test(example-studio): update block actions 8646d51
Per-Kristian Nordnes test(form-builder): update workshop story d08f2a7
hermanwikner refactor(base): add fallbackTitle to InlinePreview 60dd7db
Per-Kristian Nordnes test(example-studio): tweak block action example 688b9ef
Per-Kristian Nordnes fix(form-builder): fix issues with text block markers e18dbc4
hermanwikner refactor(form-builder): check if blockActions exist in BlockActions 5497a53
hermanwikner refactor(form-builder): remove styling in Editor.styles 37cffaf
hermanwikner refactor(form-builder): add PortalProvider to Input f5046dd
hermanwikner refactor(form-builder): pass rootPortalElement to Input in PortableTextInput 07bf611
hermanwikner refactor(form-builder): add change indicator and update styling in BlockObject 4c65d1b
hermanwikner refactor(form-builder): add change indicator and update styling in TextBlock 1b47b09
Per-Kristian Nordnes fix(form-builder): fix selection issues in editor related to TextBlock 290a325
Per-Kristian Nordnes test(form-builder): fix TextBlock workshop issues 575dde3
Per-Kristian Nordnes test(form-builder): remove console.log 0d32463
Per-Kristian Nordnes test(example-studio): add @sanity/ui and @sanity/icons 3acc94d
Per-Kristian Nordnes test(form-builder): fix issue with block action example 365571f
hermanwikner refactor(base): design fix in InlinePreview 7bdaacb
hermanwikner refactor(form-builder): update dependency array in PortableTextInput 073a5ba
hermanwikner refactor(form-builder): add design when InlineObject has markers 5ace385
Per-Kristian Nordnes fix(form-builder): keep legacy support for using a React class with renderBlockActions e519d3f
Per-Kristian Nordnes test(form-builder): fix Story schema and values c1195f2
Marius Lundgård refactor(form-builder): increase editable padding when expanded c9d6e55
Marius Lundgård refactor(form-builder): adjust editable max-width when expanded 210db5a
Marius Lundgård test(form-builder): update mock custom action d6e384f
Marius Lundgård refactor(form-builder): unmute editable text 74347e7
Marius Lundgård refactor(form-builder): add as property to text elements 7f86a7a
hermanwikner refactor(form-builder): delete expandCloseButton 5552746
hermanwikner refactor(form-builder): remove inline styling on Stack in BlockObject 31391b5
hermanwikner refactor(form-builder): add error and markers styling in Annotation ed1aa1d
hermanwikner refactor(form-builder): partially fix issue with numbered lists in TextBlock 0241be2
hermanwikner refactor(form-builder): add tooltip to full screen button in Toolbar 5c2f341
Per-Kristian Nordnes refactor(portable-text-editor): make it possible to style drop indicator from outside 5d6dad0
Per-Kristian Nordnes refactor(form-builder): style PTE drag & drop d979051
Per-Kristian Nordnes chore(form-builder): sort hook dep. lines 7e2f776
Marius Lundgård refactor(form-builder): use named portals d844a64
Marius Lundgård fix(form-builder): fix handleDelete callback 34d53c5
hermanwikner fix(base): add z-index to BadgeWrapper to make it appear above PTE 4e45a99
hermanwikner refactor(form-builder): add fallbackTitle to BlockImagePreview a6fc753
hermanwikner refactor(form-builder): add fallbackTitle to BlockObjectPreview 394a594
hermanwikner refactor(form-builder): improve TextBlock lists 56ed253
Marius Lundgård test(form-builder): add list counter story 52da47d
Marius Lundgård refactor(form-builder): improve drag placeholder styling 61ce84c
Per-Kristian Nordnes refactor(portable-text-editor): add classname pt-list-item-level on list elements aa37c5b
hermanwikner refactor(form-builder): add css counter logic to Editor.styles f4be074
hermanwikner refactor(form-builder): update counter logic in TextBlock fa6e984
Per-Kristian Nordnes fix(base): inline preview can't use div df8c0d0
Per-Kristian Nordnes fix(form-builder): use span not div inside annotations 0d35081
hermanwikner refactor(form-builder): update TextBlock textStyles d1d98ce
hermanwikner refactor(form-builder): improve bullet markers in TextBlock 27ee0c2
hermanwikner refactor(form-builder): update expand button tooltip position in fullscreen in Toolbar 18e9182
hermanwikner refactor(form-builder): Toolbar: update expand button tooltip text 67c3308
Marius Lundgård chore(workshop): define __DEV__ global 9f13864
Marius Lundgård test(form-builder): add 'Edit objects' story (PTE) 5055c10
Marius Lundgård refactor(form-builder): improve typings 000ddd3
Marius Lundgård fix(form-builder): use unique id for dialog 2e900aa
Marius Lundgård fix(form-builder): remove min-height from popover header ff32468
Per-Kristian Nordnes refactor(form-builder): get rid of focusPath and value as render deps 00d463d
Per-Kristian Nordnes refactor(form-builder): wip new annotation inline toolbar buttons ac5aa34
Per-Kristian Nordnes chore(form-builder): remove unused component 0427c6b
Per-Kristian Nordnes fix(form-builder): don't track focusPath if editor not ready f1c60b8
Per-Kristian Nordnes fix(form-builder): selection must be a hook dep for PTE toolbar 6cf4c24
Per-Kristian Nordnes refactor(form-builder): remove no longer needed disabling checks 2e75fa5
hermanwikner refactor(form-builder): add scroll element state in Editor fc839d3
hermanwikner refactor(form-builder): add scroll element state in Input c385cc6
hermanwikner refactor(form-builder): add edit popover in Annotation 6834223
Marius Lundgård refactor(form-builder): update PTE toolbar padding 25f8ff6
Per-Kristian Nordnes test(test-studio): make less annoying custom validation example fdbdd02
Marius Lundgård fix(form-builder): fix TS errors in TextBlock workshop 19299c5
hermanwikner feat(base): CollapseMenu: add root element to intersection observer 309e8f1
hermanwikner refactor(form-builder): ActionMenu: add constrainSize to menu popover 1c24764
hermanwikner refactor(form-builder): InsertMenu: add constrainSize to menu popover 43ad498
Marius Lundgård fix(form-builder): fix fallback title d89d5de
hermanwikner feat(base): CollapseMenu: disable tooltips if there is no text to display f00b3aa
Marius Lundgård test(form-builder): splat props to image preview 0d8a58c
Marius Lundgård test(form-builder): clean up PTE workshop 4da7b76
Marius Lundgård fix(form-builder): improve decorator styling 4e18075
hermanwikner refactor(form-builder): TextBlock: remove as prop on TextComponent d6c6220
hermanwikner refactor(form-builder): TextBlock/textStyles: fix block quote styling, add default as prop 349c959
hermanwikner refactor(form-builder): BlockStyleSelect: fix block quote styling 8dff337
hermanwikner refactor(form-builder): BlockStyleSelect: update block quote border color when menu item is selected 7167311
Marius Lundgård chore(test-studio): add PT document to test all bells and whistles d22deb7
Marius Lundgård fix(form-builder): render actions for custom input components 1c78b77
Marius Lundgård refactor(portable-text-editor): improve dragged styles 1faecba
Marius Lundgård refactor(form-builder): improved dragged styles (PTE) 6536343
Marius Lundgård test(form-builder): clean up PTE workshop 7318aff
hermanwikner refactor(form-builder): TextBlock: update list styling e89d21e
hermanwikner feat(base): CollapseMenu: add collapsed option 51fc296
hermanwikner test(base): update CollapseMenuStory 8515637
hermanwikner refactor(form-builder): ActionMenu: add collapsed prop 5114739
hermanwikner refactor(form-builder): InsertMenu: add collapsed prop 008e44a
hermanwikner refactor(form-builder): Toolbar: update design in smaller screen size widths 28998d6
Per-Kristian Nordnes refactor(form-builder): handle setting focusPath in change stream 0d64c29
Per-Kristian Nordnes test(form-builder): update workshop TestInput 9636d47
Per-Kristian Nordnes fix(form-builder): remove CSS causing issues with editor focus bfb0747
Per-Kristian Nordnes refactor(form-builder): remove no longer needed boolean check 7f13004
Per-Kristian Nordnes refactor(form-builder): simplify props 7690e0c
Per-Kristian Nordnes fix(form-builder): remove Stack around button ignoring disabled prop fc0e5e9
Marius Lundgård test(form-builder): improve PTE workshop 40636c9
Marius Lundgård refactor(base): improve readability and debuggability 80e7a60
Marius Lundgård refactor(portable-text-editor): keep selection in ref to optimize perf 06225a9
Marius Lundgård refactor(form-builder): optimize Toolbar fb58524
Marius Lundgård refactor(form-builder): memoize root PT input component b5c214d
Marius Lundgård refactor(form-builder): improve error message 10a8478
Marius Lundgård test(form-builder): improve block actions in workshop 539d305
Per-Kristian Nordnes refactor(form-builder): remove perf critical hook dep. ee65c13
Per-Kristian Nordnes fix(portable-text-editor): don't render block actions if no value a7a664c
hermanwikner feat(base): CollapseMenu: change intersection observer root element and update rootMargin 2f6c74f
hermanwikner refactor(form-builder): BlockObject: update design a59eac3
Per-Kristian Nordnes fix(form-builder): fix focus tracking issues 6187010
Per-Kristian Nordnes fix(form-builder): fix bug with clicking outside / flex display 5c930bf
Per-Kristian Nordnes refactor(form-builder): clean up vars and states in Toolbar components 46fd2da
Per-Kristian Nordnes fix(form-builder): fix selection CSS issues in editor 646c6d8
hermanwikner refactor(form-builder): BlockImagePreview: update fallback title 62d7d89
hermanwikner refactor(form-builder): BlockObjectPreview: update fallback title ec4e33c
Per-Kristian Nordnes test(form-builder): fix Story issue 275a689
hermanwikner refactor(form-builder): TextBlock: add warning design 6c9a2ec
hermanwikner refactor(form-builder): Annotation: add warning design 164a2c9
hermanwikner refactor(form-builder): InlineObject: add warning design 5a1cb98
hermanwikner refactor(form-builder): BlockObject: add warning design e767075
hermanwikner refactor(form-builder): Markers: design updates 29334d7
hermanwikner refactor(form-builder): Input: pass hasWarning prop to Annotation 01ed248
hermanwikner test(form-builder): update workshop to support warnings 4ecc9ba
Marius Lundgård refactor(form-builder): add EditableCard wrapper with selection reset CSS f198734
Marius Lundgård refactor(form-builder): improve editor styles (PTE) 918b0e6
Marius Lundgård refactor(form-builder): clean up editor component c2aa3c7
Marius Lundgård test(form-builder): improve dummy schema 5564390
Marius Lundgård refactor(form-builder): fix annotation popover overflow dba50f6
Marius Lundgård refactor(form-builder): memoize portal elements 0ddeefd
Marius Lundgård refactor(form-builder): rename files 0dbe5b3
Marius Lundgård refactor(form-builder): use named exports c1554f5
Per-Kristian Nordnes fix(form-builder): workaround Sanity/UI focus takeover for Toolbar 51db6e9
Marius Lundgård chore(workshop): host on local network 8509c32
Marius Lundgård fix(form-builder): hide native formatting toolbar on iOS 0ad6696
Marius Lundgård refactor(form-builder): clean up VisibleOnFocusButton 100b1ad
Per-Kristian Nordnes refactor(form-builder): cleanup legacy part support in the PTE 718b8ff
Marius Lundgård refactor(form-builder): simplify editor and input components fa99e24
hermanwikner refactor(form-builder): BlockStyleSelect: update to use title from schema c586b95
hermanwikner refactor(form-builder): Annotation: update tooltip portal and wrap tooltip content in span dedd6de
hermanwikner test(base): add BlockPreview workshop 25d7f81
Marius Lundgård fix(form-builder): only render <span> inside <div> 3ecd4c8
Marius Lundgård feat(base): add withBadge property to ChangeIndicator a39e981
Marius Lundgård fix(form-builder): prevent change indicator from causing scrollable overflow 02d6eef
Marius Lundgård fix(base): decrease hit area to avoid scrollable overflow in forms 18c9b39
Marius Lundgård fix(form-builder): fix Cmd+A (select all) issue in Safari 259abd7
Per-Kristian Nordnes fix(form-builder): remove CSS that is breaking copy/paste of HTML fragments in the PTE 5c2390f
Marius Lundgård test(base): improve preview workshop 2b1b909
Marius Lundgård refactor(base): improve preview components bc347f9
Marius Lundgård refactor(form-builder): improve object rendering 51cfff6
Per-Kristian Nordnes fix(form-builder): fix Cmd+A (select all) issue when editor is collapsed d880324
hermanwikner feat(base): CollapseMenu: add disableRestoreFocusOnClose and onClose properties d7c9b3b
hermanwikner test(base): CollapseMenuStory: add disableRestoreFocusOnClose and onMenuClose 562b0e6
hermanwikner refactor(form-builder): ActionMenu: set focus on editor on onMenuClose from CollapseMenu cf390e5
hermanwikner refactor(form-builder): InsertMenu: set focus on editor on onMenuClose from CollapseMenu e1a1809
Per-Kristian Nordnes fix(portable-text-editor): fix dependency issue in hook ea63b89
Per-Kristian Nordnes chore(form-builder): remove unused dep. 'classnames' 6c3b4c1
Per-Kristian Nordnes refactor(form-builder): add pt classname to editable 4d20dac
Per-Kristian Nordnes test(form-builder): fix issues with block extras test 5290eb5
Bjørge Næss fix(base): add workaround for circular import issue 15c7a0c
Marius Lundgård refactor(field): use Popover from @sanity/ui 68b5f77
Per-Kristian Nordnes fix(form-builder): memoize path prop + remove overkill memos b75042d
Marius Lundgård refactor(form-builder): clean up toolbar hooks 3b20288
Marius Lundgård refactor(form-builder): remove unnecessary function wrapper cb27731
Marius Lundgård refactor(form-builder): remove unnecessary useMemos 1ad465b
Marius Lundgård refactor(form-builder): use theme object for spacing values f9a775b
hermanwikner refactor(form-builder): extract edit popover in Annotation into a separate AnnotationToolbarPopover component 8fd4f1b
hermanwikner refactor(form-builder): ActionMenu: move props to CollapseMenuButton to module scope 0afd98a
hermanwikner refactor(form-builder): InsertMenu: move props to CollapseMenuButton to module scope 84d8a31
hermanwikner refactor(form-builder): BlockStyleSelect: refactor styling on menu button, refactor how text styles is rendered 4cea1d9
hermanwikner refactor(form-builder): TextBlock: update header sizes with correct values 4609521
hermanwikner refactor(form-builder): simplify counter CSS in Editor styles 5a2c121
Marius Lundgård refactor(form-builder): fix type import ea9cdc7
Marius Lundgård refactor(form-builder): use styled-components for styles eec09b5
Marius Lundgård refactor(form-builder): simplify Editor styles 70734f3
Marius Lundgård test(form-builder): skip block actions test 0d448da
hermanwikner refactor(form-builder): Annotation: update check if custom markers exists 84f33e5
hermanwikner refactor(form-builder): InlineObject: remove unnecessary z-index and change type to interface 8977dea
hermanwikner refactor(form-builder): BlockActions: use interface instead of type 91fc66b
Marius Lundgård fix(form-builder): fix block actions container height issue d059ba0
Marius Lundgård refactor(form-builder): remove unnecessary CSS specificity 3d22821
Marius Lundgård refactor(form-builder): restore original getBoundingClientRect after override d854c40
Per-Kristian Nordnes fix(portable-text-editor): make sure that drag-over element is within editor 937a27c
Per-Kristian Nordnes fix(form-builder): fix broken CSS selector in PTE input drag indicator e91af5b
hermanwikner fix(form-builder): improve markers tooltip in PTE BlockObject 91c83a6
hermanwikner fix(form-builder): improve markers tooltip in PTE TextBlock 3c27880
Marius Lundgård refactor(form-builder): simplify block components 3b658d1
Marius Lundgård refactor(form-builder): calculate actions position based on theme values b31b5fa
Rico Kahler chore: upgrade puppeteer (#2930) 390c88e
Per-Kristian Nordnes test(test-studio): unify schema type def ed814ba
Per-Kristian Nordnes fix(validation): fix bug in path for PT annotations a30d5d0
Rico Kahler feat(types): add compiled schema types for portable text d8b04ee
Rico Kahler feat(types): add type predicates for portable text 88ac6b8
Rico Kahler fix(validation): check markDefs in validateItem ab372d3
Rico Kahler refactor(validation): deprecate Rule.block() 5027e9d
Per-Kristian Nordnes test(test-studio): hook up hoisted pt type test cc9440e
Per-Kristian Nordnes fix(types): fix invalid assertion for block type f21c79f
Per-Kristian Nordnes fix(types): fix Block type to have any type name a118f28
Per-Kristian Nordnes fix(portable-text-editor): fix minor regression with drag ghost positioning d350d93
Per-Kristian Nordnes test(test-studio): fix validation impl. issue on test schema a8d553f
Rico Kahler fix(validation): make cloneWithMessage optional (#2937) 192ee0d

Don't miss a new desk-tool release

NewReleases is sending notifications on new releases.