sanity 4.4.0-next.26 → 4.4.0-next.28

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
1
  "use strict";
2
- const SANITY_VERSION = "4.4.0-next.26+4681b77dd0";
2
+ const SANITY_VERSION = "4.4.0-next.28+4e75ce22bb";
3
3
  exports.SANITY_VERSION = SANITY_VERSION;
4
4
  //# sourceMappingURL=version.js.map
@@ -628,7 +628,7 @@ const BackLink = forwardRef(function(props, ref) {
628
628
  return $[7] !== ref || $[8] !== restProps || $[9] !== t1 ? (t2 = /* @__PURE__ */ jsx(StateLink, { ...restProps, ref, state: t1, title: void 0 }), $[7] = ref, $[8] = restProps, $[9] = t1, $[10] = t2) : t2 = $[10], t2;
629
629
  });
630
630
  function PresentationPaneRouterProvider(props) {
631
- const $ = c(30), {
631
+ const $ = c(28), {
632
632
  children,
633
633
  onEditReference,
634
634
  onStructureParams,
@@ -694,14 +694,7 @@ function PresentationPaneRouterProvider(props) {
694
694
  });
695
695
  }, $[15] = onEditReference, $[16] = t9) : t9 = $[16];
696
696
  let t10;
697
- $[17] !== onStructureParams ? (t10 = (nextParams_0) => {
698
- onStructureParams({
699
- ...nextParams_0,
700
- inspect: nextParams_0.inspect ?? void 0
701
- });
702
- }, $[17] = onStructureParams, $[18] = t10) : t10 = $[18];
703
- let t11;
704
- $[19] !== createPathWithParams || $[20] !== t10 || $[21] !== t4 || $[22] !== t6 || $[23] !== t7 || $[24] !== t8 || $[25] !== t9 ? (t11 = {
697
+ $[17] !== createPathWithParams || $[18] !== onStructureParams || $[19] !== t4 || $[20] !== t6 || $[21] !== t7 || $[22] !== t8 || $[23] !== t9 ? (t10 = {
705
698
  index: 0,
706
699
  groupIndex: 0,
707
700
  siblingIndex: 0,
@@ -720,14 +713,14 @@ function PresentationPaneRouterProvider(props) {
720
713
  closeCurrent: _temp4$2,
721
714
  duplicateCurrent: _temp5$2,
722
715
  setView: _temp6$1,
723
- setParams: t10,
716
+ setParams: onStructureParams,
724
717
  setPayload: _temp7$1,
725
718
  navigateIntent: _temp8,
726
719
  createPathWithParams
727
- }, $[19] = createPathWithParams, $[20] = t10, $[21] = t4, $[22] = t6, $[23] = t7, $[24] = t8, $[25] = t9, $[26] = t11) : t11 = $[26], t2 = t11;
720
+ }, $[17] = createPathWithParams, $[18] = onStructureParams, $[19] = t4, $[20] = t6, $[21] = t7, $[22] = t8, $[23] = t9, $[24] = t10) : t10 = $[24], t2 = t10;
728
721
  const context = t2;
729
- let t12;
730
- return $[27] !== children || $[28] !== context ? (t12 = /* @__PURE__ */ jsx(PaneRouterContext.Provider, { value: context, children }), $[27] = children, $[28] = context, $[29] = t12) : t12 = $[29], t12;
722
+ let t11;
723
+ return $[25] !== children || $[26] !== context ? (t11 = /* @__PURE__ */ jsx(PaneRouterContext.Provider, { value: context, children }), $[25] = children, $[26] = context, $[27] = t11) : t11 = $[27], t11;
731
724
  }
732
725
  function _temp8(intentName, intentParams, options_0) {
733
726
  console.warn("navigateIntent", intentName, intentParams, options_0);