sanity 5.1.0-next.13 → 5.1.0-next.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -11,7 +11,10 @@
11
11
  </div>
12
12
 
13
13
  <div align="center">
14
- <img alt="" src="https://img.shields.io/npm/v/sanity?style=flat">
14
+ <img alt="" src="https://img.shields.io/npm/v/sanity/latest?style=flat">
15
+ <img alt="" src="https://img.shields.io/npm/v/sanity/next?style=flat">
16
+ <img alt="" src="https://img.shields.io/npm/v/sanity/stable?style=flat">
17
+ <br />
15
18
  <img alt="" src="https://img.shields.io/npm/dm/@sanity/client?style=flat">
16
19
  <img alt="" src="https://img.shields.io/npm/l/sanity.svg?style=flat">
17
20
  <a aria-label="Join the Sanity community" href="https://www.sanity.io/community/join?utm_source=readme">
@@ -1,4 +1,4 @@
1
- var version = "5.1.0-next.13+05f65ae994", peerDependencies = {
1
+ var version = "5.1.0-next.15+b86a4f6ad7", peerDependencies = {
2
2
  "styled-components": "^6.1.15"
3
3
  };
4
4
  export {
@@ -2604,7 +2604,7 @@ function DeletedDocumentBanners() {
2604
2604
  } = usePerspective();
2605
2605
  if (!ready)
2606
2606
  return null;
2607
- if (!isPublishedPerspective(selectedPerspective) && !isDraftPerspective(selectedPerspective) && selectedPerspective.state === "archived") {
2607
+ if (!isPublishedPerspective(selectedPerspective) && !isDraftPerspective(selectedPerspective) && isReleaseDocument(selectedPerspective) && selectedPerspective.state === "archived") {
2608
2608
  const t0 = selectedPerspective;
2609
2609
  let t1;
2610
2610
  return $[0] !== t0 ? (t1 = /* @__PURE__ */ jsx(ArchivedReleaseBanner, { release: t0 }), $[0] = t0, $[1] = t1) : t1 = $[1], t1;