This package has been deprecated

Author message:

migrate to @sanity/visual-editing

@sanity/overlays
TypeScript icon, indicating that this package has built-in type declarations

2.3.34 • Public • Published

@sanity/overlays — Visual Editing

npm stat npm version gzip size size

[!WARNING]
This package is replaced by @sanity/visual-editing.

Replace the dependency:

npm uninstall @sanity/overlays
npm install @sanity/visual-editing

Replace import statements:

-import { enableOverlays, type DisableOverlays } from '@sanity/overlays'
+import { enableVisualEditing, type DisableVisualEditing } from '@sanity/visual-editing'

[!NOTE]
Note that there's now a built-in <VisualEditing> component for Next.js App Router in next-sanity, and for Next.js Pages Router in @sanity/visual-editing/next-pages-rouer, and for Remix in @sanity/visual-editing/remix.

Package Sidebar

Install

npm i @sanity/overlays

Weekly Downloads

5,029

Version

2.3.34

License

MIT

Unpacked Size

55 kB

Total Files

11

Last publish

Collaborators

  • tambet
  • jtpetty
  • drewsanity
  • refiito
  • sergeisarviro
  • ash
  • indrek.karner
  • cngonzalez-sanity
  • rdunk
  • rneatherway-sanity
  • ricokahler
  • pedro-sanity
  • jonabc
  • kenjonespizza
  • pauloborgesf
  • binoy14
  • simen.svale
  • svirs
  • josh_sanity_io
  • joneidejohnsen
  • nina.andal
  • rankers
  • snorreeb
  • mattcraig
  • vincentquigley
  • stipsan
  • michael-sanity
  • rubioz
  • tonina
  • ritasdias
  • simeonsanity
  • kmelve
  • bjoerge
  • rexxars
  • skogsmaskin
  • robinpyon
  • mariuslundgard
  • sanity-io
  • evenw
  • radhe_sanity
  • rbotten
  • judofyr
  • obliadp
  • dcilke
  • fredcarlsen
  • hermanw
  • sgulseth
  • atombender