sanity 5.1.0-next.20 → 5.1.0-next.23

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.
@@ -1,4 +1,4 @@
1
- var version = "5.1.0-next.20+3b26890238", peerDependencies = {
1
+ var version = "5.1.0-next.23+c8498450d5", peerDependencies = {
2
2
  "styled-components": "^6.1.15"
3
3
  };
4
4
  export {
@@ -2939,7 +2939,7 @@ function _temp$z(role) {
2939
2939
  }
2940
2940
  const ReferenceChangedBanner = memo(() => {
2941
2941
  const $ = c(30), documentPreviewStore = useDocumentPreviewStore(), {
2942
- selectedReleaseId
2942
+ selectedPerspectiveName
2943
2943
  } = usePerspective(), {
2944
2944
  params,
2945
2945
  groupIndex,
@@ -2963,7 +2963,7 @@ const ReferenceChangedBanner = memo(() => {
2963
2963
  break bb0;
2964
2964
  }
2965
2965
  let t22;
2966
- if ($[3] !== documentPreviewStore || $[4] !== parentId || $[5] !== parentRefPath || $[6] !== parentRefPathSegment || $[7] !== selectedReleaseId) {
2966
+ if ($[3] !== documentPreviewStore || $[4] !== parentId || $[5] !== parentRefPath || $[6] !== parentRefPathSegment || $[7] !== selectedPerspectiveName) {
2967
2967
  const publishedId = getPublishedId(parentId), path = fromString(parentRefPathSegment), keyedSegmentIndex = path.findIndex(_temp$y);
2968
2968
  let t32;
2969
2969
  $[9] !== parentRefPath ? (t32 = (t42) => {
@@ -2988,8 +2988,8 @@ const ReferenceChangedBanner = memo(() => {
2988
2988
  }, $[9] = parentRefPath, $[10] = t32) : t32 = $[10], t22 = concat(of({
2989
2989
  loading: !0
2990
2990
  }), documentPreviewStore.unstable_observePathsDocumentPair(publishedId, keyedSegmentIndex === -1 ? path : path.slice(0, keyedSegmentIndex), {
2991
- version: selectedReleaseId
2992
- }).pipe(debounceTime(750), map$1(t32))), $[3] = documentPreviewStore, $[4] = parentId, $[5] = parentRefPath, $[6] = parentRefPathSegment, $[7] = selectedReleaseId, $[8] = t22;
2991
+ version: selectedPerspectiveName
2992
+ }).pipe(debounceTime(750), map$1(t32))), $[3] = documentPreviewStore, $[4] = parentId, $[5] = parentRefPath, $[6] = parentRefPathSegment, $[7] = selectedPerspectiveName, $[8] = t22;
2993
2993
  } else
2994
2994
  t22 = $[8];
2995
2995
  t1 = t22;