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.
@@ -619,7 +619,7 @@ const BackLink = React.forwardRef(function(props, ref) {
619
619
  return $[7] !== ref || $[8] !== restProps || $[9] !== t1 ? (t2 = /* @__PURE__ */ jsxRuntime.jsx(router.StateLink, { ...restProps, ref, state: t1, title: void 0 }), $[7] = ref, $[8] = restProps, $[9] = t1, $[10] = t2) : t2 = $[10], t2;
620
620
  });
621
621
  function PresentationPaneRouterProvider(props) {
622
- const $ = reactCompilerRuntime.c(30), {
622
+ const $ = reactCompilerRuntime.c(28), {
623
623
  children,
624
624
  onEditReference,
625
625
  onStructureParams,
@@ -685,14 +685,7 @@ function PresentationPaneRouterProvider(props) {
685
685
  });
686
686
  }, $[15] = onEditReference, $[16] = t9) : t9 = $[16];
687
687
  let t10;
688
- $[17] !== onStructureParams ? (t10 = (nextParams_0) => {
689
- onStructureParams({
690
- ...nextParams_0,
691
- inspect: nextParams_0.inspect ?? void 0
692
- });
693
- }, $[17] = onStructureParams, $[18] = t10) : t10 = $[18];
694
- let t11;
695
- $[19] !== createPathWithParams || $[20] !== t10 || $[21] !== t4 || $[22] !== t6 || $[23] !== t7 || $[24] !== t8 || $[25] !== t9 ? (t11 = {
688
+ $[17] !== createPathWithParams || $[18] !== onStructureParams || $[19] !== t4 || $[20] !== t6 || $[21] !== t7 || $[22] !== t8 || $[23] !== t9 ? (t10 = {
696
689
  index: 0,
697
690
  groupIndex: 0,
698
691
  siblingIndex: 0,
@@ -711,14 +704,14 @@ function PresentationPaneRouterProvider(props) {
711
704
  closeCurrent: _temp4$2,
712
705
  duplicateCurrent: _temp5$2,
713
706
  setView: _temp6$1,
714
- setParams: t10,
707
+ setParams: onStructureParams,
715
708
  setPayload: _temp7$1,
716
709
  navigateIntent: _temp8,
717
710
  createPathWithParams
718
- }, $[19] = createPathWithParams, $[20] = t10, $[21] = t4, $[22] = t6, $[23] = t7, $[24] = t8, $[25] = t9, $[26] = t11) : t11 = $[26], t2 = t11;
711
+ }, $[17] = createPathWithParams, $[18] = onStructureParams, $[19] = t4, $[20] = t6, $[21] = t7, $[22] = t8, $[23] = t9, $[24] = t10) : t10 = $[24], t2 = t10;
719
712
  const context = t2;
720
- let t12;
721
- return $[27] !== children || $[28] !== context ? (t12 = /* @__PURE__ */ jsxRuntime.jsx(structure.PaneRouterContext.Provider, { value: context, children }), $[27] = children, $[28] = context, $[29] = t12) : t12 = $[29], t12;
713
+ let t11;
714
+ return $[25] !== children || $[26] !== context ? (t11 = /* @__PURE__ */ jsxRuntime.jsx(structure.PaneRouterContext.Provider, { value: context, children }), $[25] = children, $[26] = context, $[27] = t11) : t11 = $[27], t11;
722
715
  }
723
716
  function _temp8(intentName, intentParams, options_0) {
724
717
  console.warn("navigateIntent", intentName, intentParams, options_0);