sanity 4.4.0-next.26 → 4.4.0-next.27
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/lib/_chunks-cjs/PresentationToolGrantsCheck.js +6 -13
- package/lib/_chunks-cjs/PresentationToolGrantsCheck.js.map +1 -1
- package/lib/_chunks-cjs/pane.js +4 -1
- package/lib/_chunks-cjs/pane.js.map +1 -1
- package/lib/_chunks-cjs/version.js +1 -1
- package/lib/_chunks-es/PresentationToolGrantsCheck.mjs +6 -13
- package/lib/_chunks-es/PresentationToolGrantsCheck.mjs.map +1 -1
- package/lib/_chunks-es/pane.mjs +4 -1
- package/lib/_chunks-es/pane.mjs.map +1 -1
- package/lib/_chunks-es/version.mjs +1 -1
- package/package.json +14 -14
@@ -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(
|
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 =
|
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:
|
707
|
+
setParams: onStructureParams,
|
715
708
|
setPayload: _temp7$1,
|
716
709
|
navigateIntent: _temp8,
|
717
710
|
createPathWithParams
|
718
|
-
}, $[
|
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
|
721
|
-
return $[
|
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);
|